From: Anson Jacob <ansonjacob.aj@gmail.com>
To: abbotti@mev.co.uk, hsweeten@visionengravers.com,
gregkh@linuxfoundation.org, andrey_utkin@fastmail.com
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: [PATCH v3 5/8] staging: comedi: s626.h: Fix checkpatch warning
Date: Fri, 26 Aug 2016 19:14:00 -0400 [thread overview]
Message-ID: <acb07f9adec216ee04b708a82ff42e1fa105fa34.1472252558.git.ansonjacob.aj@gmail.com> (raw)
In-Reply-To: <cover.1472252557.git.ansonjacob.aj@gmail.com>
Fix checkpatch.pl warning for
Comparisons should place the constant on the right side of the test
Remove extra space after /*
Signed-off-by: Anson Jacob <ansonjacob.aj@gmail.com>
---
drivers/staging/comedi/drivers/s626.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/comedi/drivers/s626.h b/drivers/staging/comedi/drivers/s626.h
index 6a00a64..4cef452 100644
--- a/drivers/staging/comedi/drivers/s626.h
+++ b/drivers/staging/comedi/drivers/s626.h
@@ -79,7 +79,7 @@
/* Address offsets, in DWORDS, from base of DMA buffer. */
#define S626_DAC_WDMABUF_OS S626_ADC_DMABUF_DWORDS
-/* Interrupt enable bit in ISR and IER. */
+/* Interrupt enable bit in ISR and IER. */
#define S626_IRQ_GPIO3 0x00000040 /* IRQ enable for GPIO3. */
#define S626_IRQ_RPS1 0x10000000
#define S626_ISR_AFOU 0x00000800
@@ -329,7 +329,7 @@
* WS1-WS4 = CS* outputs.
*/
-#if S626_PLATFORM == S626_INTEL /*
+#if (S626_PLATFORM == S626_INTEL) /*
* Base ACON1 config: always run
* A1 based on TSL1.
*/
--
2.7.4
next prev parent reply other threads:[~2016-08-26 23:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-26 23:11 [PATCH v3 0/8] staging: comedi: " Anson Jacob
2016-08-26 23:12 ` [PATCH v3 1/8] staging: comedi: cb_pcidas64.c: " Anson Jacob
2016-08-26 23:13 ` [PATCH v3 2/8] staging: comedi: cb_pcidas64: Fix commenting style Anson Jacob
2016-08-26 23:13 ` [PATCH v3 3/8] staging: comedi: jr3_pci.h: Fix checkpatch warning Anson Jacob
2016-08-26 23:13 ` [PATCH v3 4/8] staging: comedi: ni_atmio.c: " Anson Jacob
2016-08-26 23:14 ` Anson Jacob [this message]
2016-08-26 23:14 ` [PATCH v3 6/8] staging: comedi: jr3_pci.c: " Anson Jacob
2016-08-26 23:14 ` [PATCH v3 7/8] staging: comedi: ni_at_a2150: " Anson Jacob
2016-08-26 23:14 ` [PATCH v3 8/8] staging: comedi: cb_pcidas64: Fix checkpath warning Anson Jacob
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=acb07f9adec216ee04b708a82ff42e1fa105fa34.1472252558.git.ansonjacob.aj@gmail.com \
--to=ansonjacob.aj@gmail.com \
--cc=abbotti@mev.co.uk \
--cc=andrey_utkin@fastmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=hsweeten@visionengravers.com \
--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
all inboxes | Powered by JetHome®