Skip to content

Commit a289eb2

Browse files
damien-lemoalbjorn-helgaas
authored andcommitted
scsi: vmw_pvscsi: Do not use PCI_IRQ_LEGACY instead of PCI_IRQ_LEGACY
In pvscsi_probe(), initialize irq_flag using PCI_IRQ_ALL_TYPES to remove the use of the deprecated PCI_IRQ_LEGACY macro. Link: https://lore.kernel.org/r/20240325070944.3600338-28-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 1e1127d commit a289eb2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/scsi/vmw_pvscsi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1346,7 +1346,7 @@ static u32 pvscsi_get_max_targets(struct pvscsi_adapter *adapter)
13461346

13471347
static int pvscsi_probe(struct pci_dev *pdev, const struct pci_device_id *id)
13481348
{
1349-
unsigned int irq_flag = PCI_IRQ_MSIX | PCI_IRQ_MSI | PCI_IRQ_LEGACY;
1349+
unsigned int irq_flag = PCI_IRQ_ALL_TYPES;
13501350
struct pvscsi_adapter *adapter;
13511351
struct pvscsi_adapter adapter_temp;
13521352
struct Scsi_Host *host = NULL;

0 commit comments

Comments
 (0)