linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/1] staging: iio: ad9850.c: fix checkpatch.pl error
@ 2014-06-28  1:46 Guillaume Morin
  2014-06-28  2:09 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 7+ messages in thread
From: Guillaume Morin @ 2014-06-28  1:46 UTC (permalink / raw)
  To: Jonathan Cameron, Greg Kroah-Hartman, Sachin Kamat
  Cc: Guillaume Morin, linux-iio, linux-kernel

v2: add missing Signed-off-by 

Signed-off-by: Guillaume Morin <guillaume@morinfr.org>

diff --git a/drivers/staging/iio/frequency/ad9850.c b/drivers/staging/iio/frequency/ad9850.c
index af877ff..6183670 100644
--- a/drivers/staging/iio/frequency/ad9850.c
+++ b/drivers/staging/iio/frequency/ad9850.c
@@ -21,7 +21,7 @@
 
 #define DRV_NAME "ad9850"
 
-#define value_mask (u16)0xf000
+#define value_mask ((u16)0xf000)
 #define addr_shift 12
 
 /* Register format: 4 bits addr + 12 bits value */
-- 
1.7.10.4


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

end of thread, other threads:[~2014-06-28  7:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-28  1:46 [PATCH v2 1/1] staging: iio: ad9850.c: fix checkpatch.pl error Guillaume Morin
2014-06-28  2:09 ` Greg Kroah-Hartman
2014-06-28  2:30   ` Guillaume Morin
2014-06-28  2:37     ` Greg Kroah-Hartman
2014-06-28  3:10       ` Guillaume Morin
2014-06-28  6:35         ` Michael Welling
2014-06-28  7:00         ` Michael Welling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).