lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ