Skip to content

Commit 4909cc2

Browse files
Michael OpdenackerJames Bottomley
authored andcommitted
[SCSI] remove deprecated IRQF_DISABLED from SCSI
It's a NOOP since 2.6.35 and it will be removed one day. [jejb: remove from missed arm scsi drivers] Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
1 parent aa80337 commit 4909cc2

24 files changed

Lines changed: 27 additions & 31 deletions

‎drivers/scsi/NCR5380.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ static int __init __maybe_unused NCR5380_probe_irq(struct Scsi_Host *instance,
584584
NCR5380_setup(instance);
585585

586586
for (trying_irqs = i = 0, mask = 1; i < 16; ++i, mask <<= 1)
587-
if ((mask & possible) && (request_irq(i, &probe_intr, IRQF_DISABLED, "NCR-probe", NULL) == 0))
587+
if ((mask & possible) && (request_irq(i, &probe_intr, 0, "NCR-probe", NULL) == 0))
588588
trying_irqs |= mask;
589589

590590
timeout = jiffies + (250 * HZ / 1000);

‎drivers/scsi/aacraid/rx.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ int _aac_rx_init(struct aac_dev *dev)
647647
dev->sync_mode = 0; /* sync. mode not supported */
648648
dev->msi = aac_msi && !pci_enable_msi(dev->pdev);
649649
if (request_irq(dev->pdev->irq, dev->a_ops.adapter_intr,
650-
IRQF_SHARED|IRQF_DISABLED, "aacraid", dev) < 0) {
650+
IRQF_SHARED, "aacraid", dev) < 0) {
651651
if (dev->msi)
652652
pci_disable_msi(dev->pdev);
653653
printk(KERN_ERR "%s%d: Interrupt unavailable.\n",

‎drivers/scsi/aacraid/sa.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,7 @@ int aac_sa_init(struct aac_dev *dev)
387387
goto error_irq;
388388
dev->sync_mode = 0; /* sync. mode not supported */
389389
if (request_irq(dev->pdev->irq, dev->a_ops.adapter_intr,
390-
IRQF_SHARED|IRQF_DISABLED,
391-
"aacraid", (void *)dev ) < 0) {
390+
IRQF_SHARED, "aacraid", (void *)dev) < 0) {
392391
printk(KERN_WARNING "%s%d: Interrupt unavailable.\n",
393392
name, instance);
394393
goto error_iounmap;

‎drivers/scsi/aacraid/src.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ int aac_src_init(struct aac_dev *dev)
647647
dev->msi = aac_msi && !pci_enable_msi(dev->pdev);
648648

649649
if (request_irq(dev->pdev->irq, dev->a_ops.adapter_intr,
650-
IRQF_SHARED|IRQF_DISABLED, "aacraid", dev) < 0) {
650+
IRQF_SHARED, "aacraid", dev) < 0) {
651651

652652
if (dev->msi)
653653
pci_disable_msi(dev->pdev);
@@ -804,7 +804,7 @@ int aac_srcv_init(struct aac_dev *dev)
804804
goto error_iounmap;
805805
dev->msi = aac_msi && !pci_enable_msi(dev->pdev);
806806
if (request_irq(dev->pdev->irq, dev->a_ops.adapter_intr,
807-
IRQF_SHARED|IRQF_DISABLED, "aacraid", dev) < 0) {
807+
IRQF_SHARED, "aacraid", dev) < 0) {
808808
if (dev->msi)
809809
pci_disable_msi(dev->pdev);
810810
printk(KERN_ERR "%s%d: Interrupt unavailable.\n",

‎drivers/scsi/aha152x.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ struct Scsi_Host *aha152x_probe_one(struct aha152x_setup *setup)
857857
SETPORT(SIMODE0, 0);
858858
SETPORT(SIMODE1, 0);
859859

860-
if( request_irq(shpnt->irq, swintr, IRQF_DISABLED|IRQF_SHARED, "aha152x", shpnt) ) {
860+
if (request_irq(shpnt->irq, swintr, IRQF_SHARED, "aha152x", shpnt)) {
861861
printk(KERN_ERR "aha152x%d: irq %d busy.\n", shpnt->host_no, shpnt->irq);
862862
goto out_host_put;
863863
}
@@ -891,7 +891,7 @@ struct Scsi_Host *aha152x_probe_one(struct aha152x_setup *setup)
891891
SETPORT(SSTAT0, 0x7f);
892892
SETPORT(SSTAT1, 0xef);
893893

894-
if ( request_irq(shpnt->irq, intr, IRQF_DISABLED|IRQF_SHARED, "aha152x", shpnt) ) {
894+
if (request_irq(shpnt->irq, intr, IRQF_SHARED, "aha152x", shpnt)) {
895895
printk(KERN_ERR "aha152x%d: failed to reassign irq %d.\n", shpnt->host_no, shpnt->irq);
896896
goto out_host_put;
897897
}

‎drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ struct instruction {
209209
#define AIC_OP_JC16 0x9105
210210
#define AIC_OP_JNC16 0x9205
211211
#define AIC_OP_CALL16 0x9305
212-
#define AIC_OP_CALL16 0x9305
213212

214213
/* Page extension is low three bits of second opcode byte. */
215214
#define AIC_OP_JMPF 0xA005

‎drivers/scsi/arm/acornscsi.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2971,7 +2971,7 @@ static int acornscsi_probe(struct expansion_card *ec, const struct ecard_id *id)
29712971
ec->irqaddr = ashost->fast + INT_REG;
29722972
ec->irqmask = 0x0a;
29732973

2974-
ret = request_irq(host->irq, acornscsi_intr, IRQF_DISABLED, "acornscsi", ashost);
2974+
ret = request_irq(host->irq, acornscsi_intr, 0, "acornscsi", ashost);
29752975
if (ret) {
29762976
printk(KERN_CRIT "scsi%d: IRQ%d not free: %d\n",
29772977
host->host_no, ashost->scsi.irq, ret);

‎drivers/scsi/arm/cumana_1.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ static int cumanascsi1_probe(struct expansion_card *ec,
262262
goto out_unmap;
263263
}
264264

265-
ret = request_irq(host->irq, cumanascsi_intr, IRQF_DISABLED,
265+
ret = request_irq(host->irq, cumanascsi_intr, 0,
266266
"CumanaSCSI-1", host);
267267
if (ret) {
268268
printk("scsi%d: IRQ%d not free: %d\n",

‎drivers/scsi/arm/cumana_2.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ static int cumanascsi2_probe(struct expansion_card *ec,
431431
goto out_free;
432432

433433
ret = request_irq(ec->irq, cumanascsi_2_intr,
434-
IRQF_DISABLED, "cumanascsi2", info);
434+
0, "cumanascsi2", info);
435435
if (ret) {
436436
printk("scsi%d: IRQ%d not free: %d\n",
437437
host->host_no, ec->irq, ret);

‎drivers/scsi/arm/powertec.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ static int powertecscsi_probe(struct expansion_card *ec,
358358
goto out_free;
359359

360360
ret = request_irq(ec->irq, powertecscsi_intr,
361-
IRQF_DISABLED, "powertec", info);
361+
0, "powertec", info);
362362
if (ret) {
363363
printk("scsi%d: IRQ%d not free: %d\n",
364364
host->host_no, ec->irq, ret);

0 commit comments

Comments
 (0)