summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2024-03-25 16:09:23 +0900
committerBjorn Helgaas <bhelgaas@google.com>2024-04-25 12:53:31 -0500
commitd6f0bbcd2fc043b2e498ad3d20ebbb4b04952540 (patch)
tree77ffb5b3a49e646b0dd0d74799c11b8106380184 /drivers/infiniband
parent91d343de201764971212e680ade77542cb7e04de (diff)
downloadlinux-d6f0bbcd2fc043b2e498ad3d20ebbb4b04952540.tar.gz
linux-d6f0bbcd2fc043b2e498ad3d20ebbb4b04952540.tar.bz2
linux-d6f0bbcd2fc043b2e498ad3d20ebbb4b04952540.zip
RDMA/vmw_pvrdma: 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-13-dlemoal@kernel.org Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c b/drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c
index a5e88185171f..768aad364c89 100644
--- a/drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c
+++ b/drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c
@@ -531,7 +531,7 @@ static int pvrdma_alloc_intrs(struct pvrdma_dev *dev)
PCI_IRQ_MSIX);
if (ret < 0) {
ret = pci_alloc_irq_vectors(pdev, 1, 1,
- PCI_IRQ_MSI | PCI_IRQ_LEGACY);
+ PCI_IRQ_MSI | PCI_IRQ_INTX);
if (ret < 0)
return ret;
}