From: Michael Jensen <emjay1988@gmail.com>
To: gregkh@suse.de
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
Michael Jensen <emjay1988@gmail.com>
Subject: [PATCH] Staging: comedi: comedidev: Fixed a macro definition code style issue
Date: Fri, 23 Jul 2010 16:11:07 +1000 [thread overview]
Message-ID: <1279865467-16522-1-git-send-email-emjay1988@gmail.com> (raw)
Fixed a code style issue.
Signed-off-by: Michael Jensen <emjay1988@gmail.com>
---
drivers/staging/comedi/comedidev.h | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h
index 4eb2b77..a46e859 100644
--- a/drivers/staging/comedi/comedidev.h
+++ b/drivers/staging/comedi/comedidev.h
@@ -61,10 +61,11 @@
module_init(x ## _init_module); \
module_exit(x ## _cleanup_module);
-#define COMEDI_MODULE_MACROS \
- MODULE_AUTHOR("Comedi http://www.comedi.org"); \
+#define COMEDI_MODULE_MACROS do { \
+ MODULE_AUTHOR("Comedi http://www.comedi.org"); \
MODULE_DESCRIPTION("Comedi low-level driver"); \
- MODULE_LICENSE("GPL");
+ MODULE_LICENSE("GPL"); \
+} while (0)
#define COMEDI_INITCLEANUP(x) \
COMEDI_MODULE_MACROS \
--
1.7.0.4
next reply other threads:[~2010-07-23 6:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-23 6:11 Michael Jensen [this message]
2010-07-23 8:53 ` Jiri Slaby
2010-07-23 9:17 ` Michael Jensen
2010-07-23 10:36 ` Jiri Slaby
2010-07-23 12:07 ` Greg KH
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=1279865467-16522-1-git-send-email-emjay1988@gmail.com \
--to=emjay1988@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.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
Powered by JetHome