public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] Staging:keucr:scsiglue.c-no semicolon terminated
@ 2014-04-08 16:32 Paul McQuade
  2014-04-25 22:23 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Paul McQuade @ 2014-04-08 16:32 UTC (permalink / raw)
  To: gregkh; +Cc: devel, linux-kernel

WARNING: do {} while (0) macros should not be semicolon terminated

Signed-off-by: Paul McQuade <paulmcquad@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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-25 22:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-08 16:32 [PATCH 2/2] Staging:keucr:scsiglue.c-no semicolon terminated Paul McQuade
2014-04-25 22:23 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox