Skip to content

Commit 416bdc4

Browse files
damien-lemoalbjorn-helgaas
authored andcommitted
scsi: arcmsr: Use PCI_IRQ_INTX instead of PCI_IRQ_LEGACY
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Link: https://lore.kernel.org/r/20240325070944.3600338-22-dlemoal@kernel.org Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 4422615 commit 416bdc4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/scsi/arcmsr/arcmsr_hba.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@ arcmsr_request_irq(struct pci_dev *pdev, struct AdapterControlBlock *acb)
10071007
goto msi_int1;
10081008
}
10091009
}
1010-
nvec = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_LEGACY);
1010+
nvec = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_INTX);
10111011
if (nvec < 1)
10121012
return FAILED;
10131013
msi_int1:

0 commit comments

Comments
 (0)