[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20240111112213.15635-1-chenxb_99091@126.com>
Date: Thu, 11 Jan 2024 11:22:13 +0000
From: XueBing Chen <chenxb_99091@....com>
To: jejb@...ux.ibm.com,
njavali@...vell.com,
martin.petersen@...cle.com,
mrangankar@...vell.com
Cc: linux-kernel@...r.kernel.org,
linux-scsi@...r.kernel.org,
XueBing Chen <chenxb_99091@....com>
Subject: [PATCH] scsi: qla4xxx: Clean up errors in ql4_iocb.c
Fix the following errors reported by checkpatch:
ERROR: "foo * bar" should be "foo *bar"
ERROR: space required before the open brace '{'
Signed-off-by: XueBing Chen <chenxb_99091@....com>
---
drivers/scsi/qla4xxx/ql4_iocb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/qla4xxx/ql4_iocb.c b/drivers/scsi/qla4xxx/ql4_iocb.c
index 28eab07935ba..3b2680e91d0b 100644
--- a/drivers/scsi/qla4xxx/ql4_iocb.c
+++ b/drivers/scsi/qla4xxx/ql4_iocb.c
@@ -269,7 +269,7 @@ void qla4xxx_complete_iocb(struct scsi_qla_host *ha)
* This routine is called by qla4xxx_queuecommand to build an ISP
* command and pass it to the ISP for execution.
**/
-int qla4xxx_send_command_to_isp(struct scsi_qla_host *ha, struct srb * srb)
+int qla4xxx_send_command_to_isp(struct scsi_qla_host *ha, struct srb *srb)
{
struct scsi_cmnd *cmd = srb->cmd;
struct ddb_entry *ddb_entry;
@@ -342,7 +342,7 @@ int qla4xxx_send_command_to_isp(struct scsi_qla_host *ha, struct srb * srb)
cmd_entry->control_flags = CF_READ;
ha->bytes_xfered += scsi_bufflen(cmd);
- if (ha->bytes_xfered & ~0xFFFFF){
+ if (ha->bytes_xfered & ~0xFFFFF) {
ha->total_mbytes_xferred += ha->bytes_xfered >> 20;
ha->bytes_xfered &= 0xFFFFF;
}
--
2.17.1
Powered by blists - more mailing lists