Skip to contentSkip to conversation

Drivers: Staging: Fixed all the space issues

PATCH New Matti Lammi 1 participant 1 message Jun 17, 2010 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Drivers: Staging: Fixed all the space issues

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

---
 drivers/staging/otus/oal_marc.h |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
drivers/staging/otus/oal_marc.h +0 -0
index e7a9081..5ee677d 100644
@@ -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