From: Maurice Dawson <mauricedawson2699@googlemail.com>
To: gregkh@suse.de, wfp5p@virginia.edu, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 16/16] Staging: comedi: fix macro coding style issue in adl_pci9111.c
Date: Wed, 10 Mar 2010 21:59:39 +0000 [thread overview]
Message-ID: <1268258379-4995-1-git-send-email-mauricedawson2699@googlemail.com> (raw)
Patch to remove trailing semi-colons from do - while loops in the adl_pci9111.c file
Signed-off-by: Maurice Dawson <mauricedawson2699@googlemail.com>
---
drivers/staging/comedi/drivers/adl_pci9111.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/comedi/drivers/adl_pci9111.c b/drivers/staging/comedi/drivers/adl_pci9111.c
index 5171176..5421104 100755
--- a/drivers/staging/comedi/drivers/adl_pci9111.c
+++ b/drivers/staging/comedi/drivers/adl_pci9111.c
@@ -214,7 +214,7 @@ Add external multiplexer support.
PCI9111_IO_BASE+PCI9111_REGISTER_INTERRUPT_CONTROL); \
outb(PCI9111_FFEN_SET_FIFO_ENABLE, \
PCI9111_IO_BASE+PCI9111_REGISTER_INTERRUPT_CONTROL); \
- } while (0);
+ } while (0)
#define pci9111_is_fifo_full() \
((inb(PCI9111_IO_BASE+PCI9111_REGISTER_RANGE_STATUS_READBACK)& \
@@ -271,7 +271,7 @@ Add external multiplexer support.
PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_0); \
outb((data >> 8) & 0xFF, \
PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_0); \
- } while (0);
+ } while (0)
#define pci9111_8254_counter_1_set(data) \
do { \
@@ -279,7 +279,7 @@ Add external multiplexer support.
PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_1); \
outb((data >> 8) & 0xFF, \
PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_1); \
- } while (0);
+ } while (0)
#define pci9111_8254_counter_2_set(data) \
do { \
@@ -287,7 +287,7 @@ Add external multiplexer support.
PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_2); \
outb((data >> 8) & 0xFF, \
PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_2); \
- } while (0);
+ } while (0)
/* Function prototypes */
@@ -581,7 +581,7 @@ static int pci9111_ai_cancel(struct comedi_device *dev,
do { \
tmp = src; \
src &= flags; if (!src || tmp != src) error++; \
- } while (0);
+ } while (0)
static int
pci9111_ai_do_cmd_test(struct comedi_device *dev,
--
1.6.3.3
next reply other threads:[~2010-03-10 21:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-10 21:59 Maurice Dawson [this message]
2010-04-08 19:33 ` 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=1268258379-4995-1-git-send-email-mauricedawson2699@googlemail.com \
--to=mauricedawson2699@googlemail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=wfp5p@virginia.edu \
/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
all inboxes | Powered by JetHome®