From: Chen Gang <gang.chen@asianux.com>
To: "mingo@redhat.com" <mingo@redhat.com>,
Peter Zijlstra <peterz@infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: [PATCH] include/linux/wait.h: add ';' for the statement which missed it.
Date: Wed, 30 Oct 2013 12:08:03 +0800 [thread overview]
Message-ID: <52708623.504@asianux.com> (raw)
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
next reply other threads:[~2013-10-30 4:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-30 4:08 Chen Gang [this message]
2013-10-30 15:15 ` [PATCH] include/linux/wait.h: add ';' for the statement which missed it Randy Dunlap
2013-10-30 15:40 ` Peter Zijlstra
2013-10-31 0:51 ` Chen Gang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52708623.504@asianux.com \
--to=gang.chen@asianux.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox