Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754592AbbDRUQP (ORCPT ); Sat, 18 Apr 2015 16:16:15 -0400 Received: from blu004-omc1s20.hotmail.com ([65.55.116.31]:52633 "EHLO BLU004-OMC1S20.hotmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754526AbbDRUQK (ORCPT ); Sat, 18 Apr 2015 16:16:10 -0400 X-Greylist: delayed 301 seconds by postgrey-1.27 at vger.kernel.org; Sat, 18 Apr 2015 16:16:10 EDT X-TMN: [7e/Uls4MrfLXggd2uxT68GgB3LwWTJJU] X-Originating-Email: [yorick-rommers@hotmail.com] Message-ID: From: Yorick Rommers 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 Subject: [PATCH] Staging: i2o: fixed various code style issues in i2o_block.c Date: Sat, 18 Apr 2015 22:12:14 +0200 X-Mailer: git-send-email 2.3.5 X-OriginalArrivalTime: 18 Apr 2015 20:11:07.0249 (UTC) FILETIME=[CDFAFE10:01D07A13] MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2093 Lines: 58 From: Yorick This is a patch that fixes errors regarding whitespaces and split strings. Signed-off-by: Yorick Rommers --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/