Skip to content

Commit 67908f6

Browse files
damien-lemoalbjorn-helgaas
authored andcommitted
scsi: ipr: 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-24-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 290d6db commit 67908f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/scsi/ipr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9463,7 +9463,7 @@ static int ipr_probe_ioa(struct pci_dev *pdev,
94639463
ipr_number_of_msix = IPR_MAX_MSIX_VECTORS;
94649464
}
94659465

9466-
irq_flag = PCI_IRQ_LEGACY;
9466+
irq_flag = PCI_IRQ_INTX;
94679467
if (ioa_cfg->ipr_chip->has_msi)
94689468
irq_flag |= PCI_IRQ_MSI | PCI_IRQ_MSIX;
94699469
rc = pci_alloc_irq_vectors(pdev, 1, ipr_number_of_msix, irq_flag);

0 commit comments

Comments
 (0)