From: Hui Tang <tanghui20@huawei.com>
To: <jejb@linux.ibm.com>, <martin.petersen@oracle.com>
Cc: <linux-scsi@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<tanghui20@huawei.com>, Hannes Reinecke <hare@suse.com>
Subject: [PATCH 02/24] scsi: aic7xxx: remove leading spaces before tabs
Date: Sat, 22 May 2021 16:37:06 +0800 [thread overview]
Message-ID: <1621672648-39955-3-git-send-email-tanghui20@huawei.com> (raw)
In-Reply-To: <1621672648-39955-1-git-send-email-tanghui20@huawei.com>
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@suse.com>
Signed-off-by: Hui Tang <tanghui20@huawei.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
next prev parent reply other threads:[~2021-05-22 8:40 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-22 8:37 [PATCH 00/24] scsi: " Hui Tang
2021-05-22 8:37 ` [PATCH 01/24] scsi: aacraid: " Hui Tang
2021-05-22 8:37 ` Hui Tang [this message]
2021-05-22 8:37 ` [PATCH 03/24] scsi: arm: " Hui Tang
2021-05-22 8:37 ` [PATCH 04/24] scsi: sym53c8xx: " Hui Tang
2021-05-22 8:37 ` [PATCH 05/24] scsi: qla2xxx: " Hui Tang
2021-05-22 8:37 ` [PATCH 06/24] scsi: arcmsr: " Hui Tang
2021-05-22 8:37 ` [PATCH 07/24] scsi: ibmvfc: " Hui Tang
2021-05-22 8:37 ` [PATCH 08/24] scsi: megaraid: " Hui Tang
2021-05-22 8:37 ` [PATCH 09/24] scsi: zalon: " Hui Tang
2021-05-22 8:37 ` [PATCH 10/24] scsi: wd33c93: " Hui Tang
2021-05-22 8:37 ` [PATCH 11/24] scsi: sun3_scsi: " Hui Tang
2021-05-22 22:37 ` Finn Thain
2021-05-22 8:37 ` [PATCH 12/24] scsi: scsi_transport_spi: " Hui Tang
2021-05-22 8:37 ` [PATCH 13/24] scsi: scsi_transport_fc: " Hui Tang
2021-05-22 8:37 ` [PATCH 14/24] scsi: proc: " Hui Tang
2021-05-22 8:37 ` [PATCH 15/24] scsi: qlogicfas408: " Hui Tang
2021-05-22 8:37 ` [PATCH 16/24] scsi: qla1280: remove leading space " Hui Tang
2021-05-22 8:37 ` [PATCH 17/24] scsi: pcmcia: remove leading spaces " Hui Tang
2021-05-22 8:37 ` [PATCH 18/24] scsi: ncr53c8xx: " Hui Tang
2021-05-22 8:37 ` [PATCH 19/24] scsi: mesh: " Hui Tang
2021-05-22 8:37 ` [PATCH 20/24] scsi: mac53c94: " Hui Tang
2021-05-22 8:37 ` [PATCH 21/24] scsi: ips: " Hui Tang
2021-05-22 8:37 ` [PATCH 22/24] scsi: dpt_i2o: " Hui Tang
2021-05-22 8:37 ` [PATCH 23/24] scsi: dc395x: " Hui Tang
2021-05-22 8:37 ` [PATCH 24/24] scsi: aha1740: " Hui Tang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1621672648-39955-3-git-send-email-tanghui20@huawei.com \
--to=tanghui20@huawei.com \
--cc=hare@suse.com \
--cc=jejb@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®