Skip to content

Commit d6f0bbc

Browse files
damien-lemoalbjorn-helgaas
authored andcommitted
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>
1 parent 91d343d commit d6f0bbc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ static int pvrdma_alloc_intrs(struct pvrdma_dev *dev)
531531
PCI_IRQ_MSIX);
532532
if (ret < 0) {
533533
ret = pci_alloc_irq_vectors(pdev, 1, 1,
534-
PCI_IRQ_MSI | PCI_IRQ_LEGACY);
534+
PCI_IRQ_MSI | PCI_IRQ_INTX);
535535
if (ret < 0)
536536
return ret;
537537
}

0 commit comments

Comments
 (0)