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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <7b9428c6.895.18ad9648170.Coremail.wangkailong@jari.cn>
Date:   Thu, 28 Sep 2023 09:25:57 +0800 (GMT+08:00)
From:   "KaiLong Wang" <wangkailong@...i.cn>
To:     satishkh@...co.com, sebaddel@...co.com, kartilak@...co.com,
        jejb@...ux.ibm.com, martin.petersen@...cle.co
Cc:     linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] scsi: fnic: Clean up errors in fnic_scsi.c

Fix the following errors reported by checkpatch:

ERROR: space required before the open parenthesis '('

Signed-off-by: KaiLong Wang <wangkailong@...i.cn>
---
 drivers/scsi/fnic/fnic_scsi.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/scsi/fnic/fnic_scsi.c b/drivers/scsi/fnic/fnic_scsi.c
index 9761b2c9db48..fb4184f794db 100644
--- a/drivers/scsi/fnic/fnic_scsi.c
+++ b/drivers/scsi/fnic/fnic_scsi.c
@@ -1019,22 +1019,22 @@ static void fnic_fcpio_icmnd_cmpl_handler(struct fnic *fnic,
 	io_duration_time = jiffies_to_msecs(jiffies) -
 						jiffies_to_msecs(start_time);
 
-	if(io_duration_time <= 10)
+	if (io_duration_time <= 10)
 		atomic64_inc(&fnic_stats->io_stats.io_btw_0_to_10_msec);
-	else if(io_duration_time <= 100)
+	else if (io_duration_time <= 100)
 		atomic64_inc(&fnic_stats->io_stats.io_btw_10_to_100_msec);
-	else if(io_duration_time <= 500)
+	else if (io_duration_time <= 500)
 		atomic64_inc(&fnic_stats->io_stats.io_btw_100_to_500_msec);
-	else if(io_duration_time <= 5000)
+	else if (io_duration_time <= 5000)
 		atomic64_inc(&fnic_stats->io_stats.io_btw_500_to_5000_msec);
-	else if(io_duration_time <= 10000)
+	else if (io_duration_time <= 10000)
 		atomic64_inc(&fnic_stats->io_stats.io_btw_5000_to_10000_msec);
-	else if(io_duration_time <= 30000)
+	else if (io_duration_time <= 30000)
 		atomic64_inc(&fnic_stats->io_stats.io_btw_10000_to_30000_msec);
 	else {
 		atomic64_inc(&fnic_stats->io_stats.io_greater_than_30000_msec);
 
-		if(io_duration_time > atomic64_read(&fnic_stats->io_stats.current_max_io_time))
+		if (io_duration_time > atomic64_read(&fnic_stats->io_stats.current_max_io_time))
 			atomic64_set(&fnic_stats->io_stats.current_max_io_time, io_duration_time);
 	}
 }
-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ