public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] include/linux/wait.h: add ';' for the statement which missed it.
@ 2013-10-30  4:08 Chen Gang
  2013-10-30 15:15 ` Randy Dunlap
  0 siblings, 1 reply; 4+ messages in thread
From: Chen Gang @ 2013-10-30  4:08 UTC (permalink / raw)
  To: mingo@redhat.com, Peter Zijlstra, linux-kernel@vger.kernel.org

Add ';' for the statement, or can not pass compiling. The related error
(for powerpc allmodconfig):

    CC      block/blk-mq.o
  block/blk-mq.c: In function ‘blk_mq_queue_enter’:
  block/blk-mq.c:108:8: error: expected ‘;’ before ‘__ret’
  block/blk-mq.c:108:6: error: void value not ignored as it ought to be


Signed-off-by: Chen Gang <gang.chen@asianux.com>
---
 include/linux/wait.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/wait.h b/include/linux/wait.h
index 7f8caa5..fcc9680 100644
--- a/include/linux/wait.h
+++ b/include/linux/wait.h
@@ -768,7 +768,7 @@ do {									\
 	int __ret = 0;							\
 	if (!(condition))						\
 		__ret = __wait_event_interruptible_lock_irq(wq,		\
-						condition, lock,)	\
+						condition, lock,);	\
 	__ret;								\
 })
 
-- 
1.7.7.6

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

end of thread, other threads:[~2013-10-31  0:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-30  4:08 [PATCH] include/linux/wait.h: add ';' for the statement which missed it Chen Gang
2013-10-30 15:15 ` Randy Dunlap
2013-10-30 15:40   ` Peter Zijlstra
2013-10-31  0:51     ` Chen Gang

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