mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matti Lammi <mattij.lammi@gmail.com>
To: gregkh@suse.de, mattij.lammi@gmail.com, mithlesh@linsyssoft.com
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: [PATCH] Drivers: Staging: Fixed all the space issues
Date: Thu, 17 Jun 2010 11:58:52 +0300	[thread overview]
Message-ID: <1276765132-15759-1-git-send-email-mattij.lammi@gmail.com> (raw)

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


                 reply	other threads:[~2010-06-17  8:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1276765132-15759-1-git-send-email-mattij.lammi@gmail.com \
    --to=mattij.lammi@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mithlesh@linsyssoft.com \
    /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®