From: Amarjargal Gundjalam Date: Fri, 17 May 2013 08:04:18 +0000 (-0700) Subject: keucr: fixes space required before open parenthesis error X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=05a19ed0c2133d7d0d5416f638d4633e05a5e441;p=openwrt%2Fstaging%2Fblogic.git keucr: fixes space required before open parenthesis error This patch fixes the following checkpatch error, ERROR: space required before the open parenthesis '(' Signed-off-by: Amarjargal Gundjalam Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/keucr/smilmain.c b/drivers/staging/keucr/smilmain.c index 03caa02e9dcb..2e8432e51a39 100644 --- a/drivers/staging/keucr/smilmain.c +++ b/drivers/staging/keucr/smilmain.c @@ -153,7 +153,7 @@ int Media_D_ReadSector(struct us_data *us, DWORD start, WORD count, BYTE *buf) if (Conv_D_MediaAddr(us, start)) return ErrCode; - while(1) { + while (1) { len = Ssfdc.MaxSectors - Media.Sector; if (count > len) bn = len; @@ -194,7 +194,7 @@ int Media_D_CopySector(struct us_data *us, DWORD start, WORD count, BYTE *buf) if (Conv_D_MediaAddr(us, start)) return ErrCode; - while(1) { + while (1) { if (Assign_D_WriteBlock()) return ERROR; @@ -852,7 +852,7 @@ int Media_D_ReadOneSect(struct us_data *us, WORD count, BYTE *buf) } err=ErrCode; - for(retry=0; retry<2; retry++) { + for (retry=0; retry<2; retry++) { if (Copy_D_BlockAll(us, (err==ERR_EccReadErr)?REQ_FAIL:REQ_ERASE)) { if (ErrCode==ERR_HwError) return ERROR; @@ -1067,7 +1067,7 @@ int Copy_D_BlockAll(struct us_data *us, DWORD mode) if (mode==REQ_FAIL) SectCopyMode=REQ_FAIL; - for(Media.Sector=0; Media.Sector