[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1276765132-15759-1-git-send-email-mattij.lammi@gmail.com>
Date: Thu, 17 Jun 2010 11:58:52 +0300
From: Matti Lammi <mattij.lammi@...il.com>
To: gregkh@...e.de, mattij.lammi@...il.com, mithlesh@...syssoft.com
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: [PATCH] Drivers: Staging: Fixed all the space issues
Fixed all warning reported by the checkpatch.pl tool by removing unnecessary
spaces.
Signed-off-by: Matti Lammi <mattij.lammi@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists