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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1621672648-39955-19-git-send-email-tanghui20@huawei.com>
Date:   Sat, 22 May 2021 16:37:22 +0800
From:   Hui Tang <tanghui20@...wei.com>
To:     <jejb@...ux.ibm.com>, <martin.petersen@...cle.com>
CC:     <linux-scsi@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
        <tanghui20@...wei.com>
Subject: [PATCH 18/24] scsi: ncr53c8xx: remove leading spaces before tabs

There are a few leading spaces before tabs and remove it by running
the following commard:

    $ find . -name '*.[ch]' | xargs sed -r -i 's/^[ ]+\t/\t/'

Signed-off-by: Hui Tang <tanghui20@...wei.com>
---
 drivers/scsi/ncr53c8xx.c | 32 ++++++++++++++++----------------
 drivers/scsi/ncr53c8xx.h |  2 +-
 2 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/drivers/scsi/ncr53c8xx.c b/drivers/scsi/ncr53c8xx.c
index c76e9f0..0024bc5 100644
--- a/drivers/scsi/ncr53c8xx.c
+++ b/drivers/scsi/ncr53c8xx.c
@@ -2214,7 +2214,7 @@ static	struct script script0 __initdata = {
 		RADDR (scratcha),
 		RADDR (scratcha),
 	SCR_RETURN,
- 		0,
+		0,
 	SCR_JUMP ^ IFTRUE (IF (SCR_STATUS)),
 		PADDR (status),
 	SCR_JUMP ^ IFTRUE (IF (SCR_COMMAND)),
@@ -3760,7 +3760,7 @@ static void __init ncr_prepare_setting(struct ncb *np)
 
 	np->maxwide	= (np->features & FE_WIDE)? 1 : 0;
 
- 	/*
+	/*
 	 *  Guess the frequency of the chip's clock.
 	 */
 	if (np->features & FE_ULTRA)
@@ -3770,7 +3770,7 @@ static void __init ncr_prepare_setting(struct ncb *np)
 
 	/*
 	 *  Get the clock multiplier factor.
- 	 */
+	 */
 	if	(np->features & FE_QUAD)
 		np->multiplier	= 4;
 	else if	(np->features & FE_DBLR)
@@ -4541,7 +4541,7 @@ static void ncr_start_reset(struct ncb *np)
 {
 	if (!np->settle_time) {
 		ncr_reset_scsi_bus(np, 1, driver_setup.settle_delay);
- 	}
+	}
 }
  
 /*==========================================================
@@ -5204,11 +5204,11 @@ static void ncr_chip_reset(struct ncb *np, int delay)
 
 void ncr_init (struct ncb *np, int reset, char * msg, u_long code)
 {
- 	int	i;
+	int	i;
 
- 	/*
+	/*
 	**	Reset chip if asked, otherwise just clear fifos.
- 	*/
+	*/
 
 	if (reset) {
 		OUTB (nc_istat,  SRST);
@@ -7880,18 +7880,18 @@ static unsigned __init ncrgetfreq (struct ncb *np, int gen)
 			udelay(100);	/* count ms */
 	}
 	OUTB (nc_stime1, 0);	/* disable general purpose timer */
- 	/*
- 	 * set prescaler to divide by whatever 0 means
- 	 * 0 ought to choose divide by 2, but appears
- 	 * to set divide by 3.5 mode in my 53c810 ...
- 	 */
- 	OUTB (nc_scntl3, 0);
+	/*
+	 * set prescaler to divide by whatever 0 means
+	 * 0 ought to choose divide by 2, but appears
+	 * to set divide by 3.5 mode in my 53c810 ...
+	 */
+	OUTB (nc_scntl3, 0);
 
 	if (bootverbose >= 2)
 		printk ("%s: Delay (GEN=%d): %u msec\n", ncr_name(np), gen, ms);
-  	/*
- 	 * adjust for prescaler, and convert into KHz 
-  	 */
+	/*
+	 * adjust for prescaler, and convert into KHz
+	 */
 	return ms ? ((1 << gen) * 4340) / ms : 0;
 }
 
diff --git a/drivers/scsi/ncr53c8xx.h b/drivers/scsi/ncr53c8xx.h
index fa14b5c..b1567e8 100644
--- a/drivers/scsi/ncr53c8xx.h
+++ b/drivers/scsi/ncr53c8xx.h
@@ -757,7 +757,7 @@ struct ncr_reg {
 	#define   IRQM    0x08  /* mod: irq mode (1 = totem pole !) */
 	#define   STD     0x04  /* cmd: start dma mode              */
 	#define   IRQD    0x02  /* mod: irq disable                 */
- 	#define	  NOCOM   0x01	/* cmd: protect sfbr while reselect */
+	#define	  NOCOM   0x01	/* cmd: protect sfbr while reselect */
 				/* bits 0-1 rsvd for C1010          */
 
 /*3c*/  u32	nc_adder;
-- 
2.8.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ