mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Drivers: Staging: Fixed all the space issues
@ 2010-06-17  8:58 Matti Lammi
  0 siblings, 0 replies; only message in thread
From: Matti Lammi @ 2010-06-17  8:58 UTC (permalink / raw)
  To: gregkh, mattij.lammi, mithlesh; +Cc: devel, linux-kernel

Fixed all warning reported by the checkpatch.pl tool by removing unnecessary
spaces.

Signed-off-by: Matti Lammi <mattij.lammi@gmail.com>
---
 drivers/staging/otus/oal_marc.h |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/drivers/staging/otus/oal_marc.h b/drivers/staging/otus/oal_marc.h
index e7a9081..5ee677d 100644
--- a/drivers/staging/otus/oal_marc.h
+++ b/drivers/staging/otus/oal_marc.h
@@ -62,0 +62,0 @@

 /***** Byte order converting *****/
 #ifdef ZM_CONFIG_BIG_ENDIAN
-#define zmw_cpu_to_le32(v)    	(((v & 0xff000000) >> 24) | 	\
-				((v & 0x00ff0000) >> 8)  | 	\
-				((v & 0x0000ff00) << 8)  | 	\
+#define zmw_cpu_to_le32(v)    (((v & 0xff000000) >> 24) |	\
+			       ((v & 0x00ff0000) >> 8)  |	\
+			       ((v & 0x0000ff00) << 8)  |	\
 				((v & 0x000000ff) << 24))

-#define zmw_le32_to_cpu(v)    (((v & 0xff000000) >> 24) | 	\
-				((v & 0x00ff0000) >> 8) | 	\
-				((v & 0x0000ff00) << 8) | 	\
+#define zmw_le32_to_cpu(v)    (((v & 0xff000000) >> 24) |	\
+			       ((v & 0x00ff0000) >> 8) |	\
+			       ((v & 0x0000ff00) << 8) |	\
 				((v & 0x000000ff) << 24))

 #define zmw_cpu_to_le16(v)    (((v & 0xff00) >> 8) | \
@@ -101,0 +101,0 @@

 #define zmw_buf_readb(dev, buf, offset) zfwBufReadByte(dev, buf, offset)
 #define zmw_buf_readh(dev, buf, offset) zfwBufReadHalfWord(dev, buf, offset)
-#define zmw_buf_writeb(dev, buf, offset, value) 			\
+#define zmw_buf_writeb(dev, buf, offset, value)				\
 			zfwBufWriteByte(dev, buf, offset, value)
 #define zmw_buf_writeh(dev, buf, offset, value)				\
 			zfwBufWriteHalfWord(dev, buf, offset, value)
@@ -118,10 +118,9 @@
 	msg, (u32_t)val);
 #define zm_debug_msg_s(msg, val) printk(KERN_DEBUG "%s:%s%s\n", __func__, \
 	msg, val);
-#define zm_debug_msg_p(msg, val1, val2) do { 			\
+#define zm_debug_msg_p(msg, val1, val2) do {			\
 			printk(KERN_DEBUG "%s:%s%01ld.%02ld\n",	\
-						__func__, 	\
+			       __func__,				\
 			msg, (val1/val2), (((val1*100)/val2)%100));
 			} while (0)
 #define zm_dbg(S) printk S
--
1.6.0.4


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-17  8:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-17  8:58 [PATCH] Drivers: Staging: Fixed all the space issues Matti Lammi

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®