diff mbox series

scsi: qla4xxx: Clean up errors in ql4_iocb.c

Message ID 20240111112213.15635-1-chenxb_99091@126.com
State New
Headers show
Series scsi: qla4xxx: Clean up errors in ql4_iocb.c | expand

Commit Message

XueBing Chen Jan. 11, 2024, 11:22 a.m. UTC
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@126.com>
---
 drivers/scsi/qla4xxx/ql4_iocb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

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;
 		}