[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1621672648-39955-8-git-send-email-tanghui20@huawei.com>
Date: Sat, 22 May 2021 16:37:11 +0800
From: Hui Tang <tanghui20@...wei.com>
To: <jejb@...ux.ibm.com>, <martin.petersen@...cle.com>
CC: <linux-scsi@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<tanghui20@...wei.com>, Michael Ellerman <mpe@...erman.id.au>
Subject: [PATCH 07/24] scsi: ibmvfc: remove leading spaces before tabs
There are a few leading spaces before tabs and remove it by running
the following commard:
$ find . -name '*.[ch]' | xargs sed -r -i 's/^[ ]+\t/\t/'
Cc: Michael Ellerman <mpe@...erman.id.au>
Signed-off-by: Hui Tang <tanghui20@...wei.com>
---
drivers/scsi/ibmvscsi/ibmvscsi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.c b/drivers/scsi/ibmvscsi/ibmvscsi.c
index e75b0068..ae6a4fd 100644
--- a/drivers/scsi/ibmvscsi/ibmvscsi.c
+++ b/drivers/scsi/ibmvscsi/ibmvscsi.c
@@ -663,7 +663,7 @@ static int map_sg_list(struct scsi_cmnd *cmd, int nseg,
descr->len = cpu_to_be32(sg_dma_len(sg));
descr->key = 0;
total_length += sg_dma_len(sg);
- }
+ }
return total_length;
}
@@ -738,7 +738,7 @@ static int map_sg_data(struct scsi_cmnd *cmd,
sizeof(indirect->desc_list[0]));
memcpy(indirect->desc_list, evt_struct->ext_list,
MAX_INDIRECT_BUFS * sizeof(struct srp_direct_buf));
- return 1;
+ return 1;
}
/**
--
2.8.1
Powered by blists - more mailing lists