[PATCH 2/2] staging :keucr:scsiglue.c : fixed a macros should not be colon terminated issue

Keerthimai Janarthanan keerthimaipb at gmail.com
Sun Mar 2 12:51:16 UTC 2014


fixed a coding style issue.

Signed-off-by: Keerthimai Janarthanan <keerthimaipb at gmail.com>
---
 drivers/staging/keucr/scsiglue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/keucr/scsiglue.c b/drivers/staging/keucr/scsiglue.c
index ac3d34d..fce19a4 100644
--- a/drivers/staging/keucr/scsiglue.c
+++ b/drivers/staging/keucr/scsiglue.c
@@ -277,7 +277,7 @@ static int show_info(struct seq_file *m, struct Scsi_Host *host)
 	do { \
 		if (us->fflags & value) \
 			SPRINTF(" " #name); \
-	} while (0);
+	} while (0)
 US_DO_ALL_FLAGS
 #undef US_FLAG
 	seq_putc(m, '\n');
-- 
1.8.3.2



More information about the devel mailing list