mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yorick Rommers <yorick-rommers@hotmail.com>
To: gregkh@linuxfoundation.org, alan@linux.intel.com,
	helen.fornazier@gmail.com, iskaranth@gmail.com
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	Yorick <yorick-rommers@hotmail.com>
Subject: [PATCH] Staging: i2o: fixed various code style issues in i2o_block.c
Date: Sat, 18 Apr 2015 22:12:14 +0200	[thread overview]
Message-ID: <BLU436-SMTP750BA893288782CD110EDE9EE20@phx.gbl> (raw)

From: Yorick <yorick-rommers@hotmail.com>

This is a patch that fixes errors regarding whitespaces and split strings.

Signed-off-by: Yorick Rommers <yorick-rommers@hotmail.com>
---
 drivers/staging/i2o/i2o_block.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/i2o/i2o_block.c b/drivers/staging/i2o/i2o_block.c
index 406758f..206d9c4 100644
--- a/drivers/staging/i2o/i2o_block.c
+++ b/drivers/staging/i2o/i2o_block.c
@@ -36,7 +36,7 @@
  *			Independent queues per IOP
  *			Support for dynamic device creation/deletion
  *			Code cleanup
- *	    		Support for larger I/Os through merge* functions
+ *	    Support for larger I/Os through merge* functions
  *			(taken from DAC960 driver)
  *		Boji T Kannanthanam:
  *			Set the I2O Block devices to be detected in increasing
@@ -315,7 +315,7 @@ static inline void i2o_block_request_free(struct i2o_block_request *ireq)
  */
 static inline int i2o_block_sglist_alloc(struct i2o_controller *c,
 					 struct i2o_block_request *ireq,
-					 u32 ** mptr)
+					 u32 **mptr)
 {
 	int nents;
 	enum dma_data_direction direction;
@@ -488,8 +488,8 @@ static int i2o_block_reply(struct i2o_controller *c, u32 m,
 		 *      Don't stick a supertrak100 into cache aggressive modes
 		 */
 
-		osm_err("TID %03x error status: 0x%02x, detailed status: "
-			"0x%04x\n", (le32_to_cpu(msg->u.head[1]) >> 12 & 0xfff),
+		osm_err("TID %03x error status: 0x%02x, detailed status: 0x%04x\n",
+      (le32_to_cpu(msg->u.head[1]) >> 12 & 0xfff),
 			status >> 24, status & 0xffff);
 
 		req->errors++;
@@ -505,6 +505,7 @@ static int i2o_block_reply(struct i2o_controller *c, u32 m,
 static void i2o_block_event(struct work_struct *work)
 {
 	struct i2o_event *evt = container_of(work, struct i2o_event, work);
+
 	osm_debug("event received\n");
 	kfree(evt);
 };
-- 
2.3.5


             reply	other threads:[~2015-04-18 20:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-18 20:12 Yorick Rommers [this message]
2015-04-20  8:02 ` Dan Carpenter
2015-04-20  9:06 ` Alan Cox

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=BLU436-SMTP750BA893288782CD110EDE9EE20@phx.gbl \
    --to=yorick-rommers@hotmail.com \
    --cc=alan@linux.intel.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=helen.fornazier@gmail.com \
    --cc=iskaranth@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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®