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]
Message-ID: <3029a40608f9337530b3cb767d936f36@208suo.com>
Date:   Thu, 20 Jul 2023 17:22:07 +0800
From:   sunran001@...suo.com
To:     hare@...e.com, jejb@...ux.ibm.com, martin.petersen@...cle.com
Cc:     linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] scsi: aic79xx: fix some errors related to spaces

ERROR: space prohibited before that close parenthesis ')'
ERROR: open brace '{' following struct go on the same line
ERROR: space prohibited before open square bracket '['

Signed-off-by: Ran Sun <sunran001@...suo.com>
---
  drivers/scsi/aic7xxx/aic79xx.h | 7 +++----
  1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/scsi/aic7xxx/aic79xx.h 
b/drivers/scsi/aic7xxx/aic79xx.h
index 59e9321815c8..a1fdefdfddd8 100644
--- a/drivers/scsi/aic7xxx/aic79xx.h
+++ b/drivers/scsi/aic7xxx/aic79xx.h
@@ -66,7 +66,7 @@ struct scb_platform_data;
  #define	SCB_LIST_NULL		0xFF00
  #define	SCB_LIST_NULL_LE	(ahd_htole16(SCB_LIST_NULL))
  #define QOUTFIFO_ENTRY_VALID 0x80
-#define SCBID_IS_NULL(scbid) (((scbid) & 0xFF00 ) == SCB_LIST_NULL)
+#define SCBID_IS_NULL(scbid) (((scbid) & 0xFF00) == SCB_LIST_NULL)

  #define SCSIID_TARGET(ahd, scsiid)	\
  	(((scsiid) & TID) >> TID_SHIFT)
@@ -1043,8 +1043,7 @@ typedef enum {

  typedef uint8_t ahd_mode_state;

-struct ahd_completion
-{
+struct ahd_completion {
  	uint16_t	tag;
  	uint8_t		sg_status;
  	uint8_t		valid_tag;
@@ -1316,7 +1315,7 @@ struct aic7770_identity {
  	const char		*name;
  	ahd_device_setup_t	*setup;
  };
-extern struct aic7770_identity aic7770_ident_table [];
+extern struct aic7770_identity aic7770_ident_table[];
  extern const int ahd_num_aic7770_devs;

  #define AHD_EISA_SLOT_OFFSET	0xc00

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ