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/20240325070944.3600338-26-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 529ed2d commit 4571f14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)