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/[email protected] Signed-off-by: Damien Le Moal <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Acked-by: Martin K. Petersen <[email protected]>
1 parent 1e1127d commit a289eb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)