From: Amarjargal Gundjalam Date: Fri, 17 May 2013 08:04:18 +0000 (-0700) Subject: keucr: fixes space required before open parenthesis error X-Git-Tag: firefly_0821_release~176^2~5845^2~565 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=05a19ed0c2133d7d0d5416f638d4633e05a5e441;p=firefly-linux-kernel-4.4.55.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