Skip to content

Commit 4571f14

Browse files
damien-lemoalbjorn-helgaas
authored andcommitted
scsi: mpt3sas: 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/[email protected] Signed-off-by: Damien Le Moal <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Acked-by: Martin K. Petersen <[email protected]>
1 parent 529ed2d commit 4571f14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/mpt3sas/mpt3sas_base.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3515,7 +3515,7 @@ _base_enable_msix(struct MPT3SAS_ADAPTER *ioc)
35153515
ioc_info(ioc, "High IOPs queues : disabled\n");
35163516
ioc->reply_queue_count = 1;
35173517
ioc->iopoll_q_start_index = ioc->reply_queue_count - 0;
3518-
r = pci_alloc_irq_vectors(ioc->pdev, 1, 1, PCI_IRQ_LEGACY);
3518+
r = pci_alloc_irq_vectors(ioc->pdev, 1, 1, PCI_IRQ_INTX);
35193519
if (r < 0) {
35203520
dfailprintk(ioc,
35213521
ioc_info(ioc, "pci_alloc_irq_vector(legacy) failed (r=%d) !!!\n",

0 commit comments

Comments
 (0)