lkml.org 
[lkml]   [2017]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH 7/9] IB/iser: Add spaces for better code readability
From
Date
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Fri, 7 Apr 2017 21:37:48 +0200

The script "checkpatch.pl" pointed information out like the following.

ERROR: space required after that ',' (ctx:VxV)

Thus fix the affected source code places.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
drivers/infiniband/ulp/iser/iser_initiator.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/infiniband/ulp/iser/iser_initiator.c b/drivers/infiniband/ulp/iser/iser_initiator.c
index 6c48bdc8a64d..fbab1303a740 100644
--- a/drivers/infiniband/ulp/iser/iser_initiator.c
+++ b/drivers/infiniband/ulp/iser/iser_initiator.c
@@ -422,7 +422,7 @@ int iser_send_command(struct iscsi_conn *conn,
return 0;

send_command_error:
- iser_err("conn %p failed task->itt %d err %d\n",conn, task->itt, err);
+ iser_err("conn %p failed task->itt %d err %d\n", conn, task->itt, err);
return err;
}

@@ -448,7 +448,7 @@ int iser_send_data_out(struct iscsi_conn *conn,
buf_offset = ntohl(hdr->offset);

iser_dbg("%s itt %d dseg_len %d offset %d\n",
- __func__,(int)itt,(int)data_seg_len,(int)buf_offset);
+ __func__, (int)itt, (int)data_seg_len, (int)buf_offset);

tx_desc = kmem_cache_zalloc(ig.desc_cache, GFP_ATOMIC);
if (tx_desc == NULL) {
@@ -553,7 +553,7 @@ int iser_send_control(struct iscsi_conn *conn,
return 0;

send_control_error:
- iser_err("conn %p failed err %d\n",conn, err);
+ iser_err("conn %p failed err %d\n", conn, err);
return err;
}

--
2.12.2
\
 
 \ /
  Last update: 2017-04-07 23:08    [W:0.130 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site