aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pmcraid.c
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2024-03-25 07:09:37 +0000
committerBjorn Helgaas <[email protected]>2024-05-16 19:35:08 +0000
commit1e1127d579979b978f9bb058a9b660fd01afab46 (patch)
tree88774da3d8e25188c2f8f6f16dfb0f7d3e368a3c /drivers/scsi/pmcraid.c
parentscsi: mpt3sas: Use PCI_IRQ_INTX instead of PCI_IRQ_LEGACY (diff)
downloadkernel-1e1127d579979b978f9bb058a9b660fd01afab46.tar.gz
kernel-1e1127d579979b978f9bb058a9b660fd01afab46.zip
scsi: pmcraid: 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]>
Diffstat (limited to 'drivers/scsi/pmcraid.c')
-rw-r--r--drivers/scsi/pmcraid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c
index e8bcc3a88732..9c57efa10732 100644
--- a/drivers/scsi/pmcraid.c
+++ b/drivers/scsi/pmcraid.c
@@ -4033,7 +4033,7 @@ static int
pmcraid_register_interrupt_handler(struct pmcraid_instance *pinstance)
{
struct pci_dev *pdev = pinstance->pdev;
- unsigned int irq_flag = PCI_IRQ_LEGACY, flag;
+ unsigned int irq_flag = PCI_IRQ_INTX, flag;
int num_hrrq, rc, i;
irq_handler_t isr;