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-3-git-send-email-tanghui20@huawei.com>
Date:   Sat, 22 May 2021 16:37:06 +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>, Hannes Reinecke <hare@...e.com>
Subject: [PATCH 02/24] scsi: aic7xxx: 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/'

Cc: Hannes Reinecke <hare@...e.com>
Signed-off-by: Hui Tang <tanghui20@...wei.com>
---
 drivers/scsi/aic7xxx/aic7770_osm.c     |  2 +-
 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c | 14 +++++++-------
 drivers/scsi/aic7xxx/aic7xxx_pci.c     |  2 +-
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/drivers/scsi/aic7xxx/aic7770_osm.c b/drivers/scsi/aic7xxx/aic7770_osm.c
index bdd177e..ac04d5b 100644
--- a/drivers/scsi/aic7xxx/aic7770_osm.c
+++ b/drivers/scsi/aic7xxx/aic7770_osm.c
@@ -100,7 +100,7 @@ aic7770_probe(struct device *dev)
 		return (error);
 	}
 
- 	dev_set_drvdata(dev, ahc);
+	dev_set_drvdata(dev, ahc);
 
 	error = ahc_linux_register_host(ahc, &aic7xxx_driver_template);
 	return (error);
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c b/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
index a07e94f..5e5d456 100644
--- a/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
+++ b/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
@@ -109,8 +109,8 @@ static const struct pci_device_id ahc_linux_pci_id_table[] = {
 	ID(ID_AIC7860 & ID_DEV_VENDOR_MASK),
 	ID(ID_AIC7870 & ID_DEV_VENDOR_MASK),
 	ID(ID_AIC7880 & ID_DEV_VENDOR_MASK),
- 	ID16(ID_AIC7890 & ID_9005_GENERIC_MASK),
- 	ID16(ID_AIC7892 & ID_9005_GENERIC_MASK),
+	ID16(ID_AIC7890 & ID_9005_GENERIC_MASK),
+	ID16(ID_AIC7892 & ID_9005_GENERIC_MASK),
 	ID(ID_AIC7895 & ID_DEV_VENDOR_MASK),
 	ID16(ID_AIC7896 & ID_9005_GENERIC_MASK),
 	ID16(ID_AIC7899 & ID_9005_GENERIC_MASK),
@@ -164,15 +164,15 @@ ahc_linux_pci_inherit_flags(struct ahc_softc *ahc)
 	if (master_pdev) {
 		struct ahc_softc *master = pci_get_drvdata(master_pdev);
 		if (master) {
-			ahc->flags &= ~AHC_BIOS_ENABLED; 
+			ahc->flags &= ~AHC_BIOS_ENABLED;
 			ahc->flags |= master->flags & AHC_BIOS_ENABLED;
 
-			ahc->flags &= ~AHC_PRIMARY_CHANNEL; 
+			ahc->flags &= ~AHC_PRIMARY_CHANNEL;
 			ahc->flags |= master->flags & AHC_PRIMARY_CHANNEL;
 		} else
 			printk(KERN_ERR "aic7xxx: no multichannel peer found!\n");
 		pci_dev_put(master_pdev);
-	} 
+	}
 }
 
 static int
@@ -222,7 +222,7 @@ ahc_linux_pci_dev_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
 		if (dma_set_mask(dev, DMA_BIT_MASK(32))) {
 			ahc_free(ahc);
 			printk(KERN_WARNING "aic7xxx: No suitable DMA available.\n");
-                	return (-ENODEV);
+			return (-ENODEV);
 		}
 	}
 	ahc->dev_softc = pci;
@@ -441,7 +441,7 @@ ahc_pci_map_int(struct ahc_softc *ahc)
 			    IRQF_SHARED, "aic7xxx", ahc);
 	if (error == 0)
 		ahc->platform_data->irq = ahc->dev_softc->irq;
-	
+
 	return (-error);
 }
 
diff --git a/drivers/scsi/aic7xxx/aic7xxx_pci.c b/drivers/scsi/aic7xxx/aic7xxx_pci.c
index dab3a6d..4a63e37 100644
--- a/drivers/scsi/aic7xxx/aic7xxx_pci.c
+++ b/drivers/scsi/aic7xxx/aic7xxx_pci.c
@@ -898,7 +898,7 @@ ahc_pci_config(struct ahc_softc *ahc, const struct ahc_pci_identity *entry)
 			 * Assume only one connector and always turn
 			 * on termination.
 			 */
- 			our_id = 0x07;
+			our_id = 0x07;
 			sxfrctl1 = STPWEN;
 		}
 		ahc_outb(ahc, SCSICONF, our_id|ENSPCHK|RESET_SCSI);
-- 
2.8.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ