mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-09-21 20:22:13 +08:00
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>
This commit is contained in:
parent
1e1127d579
commit
a289eb2a39
@ -1346,7 +1346,7 @@ exit:
|
||||
|
||||
static int pvscsi_probe(struct pci_dev *pdev, const struct pci_device_id *id)
|
||||
{
|
||||
unsigned int irq_flag = PCI_IRQ_MSIX | PCI_IRQ_MSI | PCI_IRQ_LEGACY;
|
||||
unsigned int irq_flag = PCI_IRQ_ALL_TYPES;
|
||||
struct pvscsi_adapter *adapter;
|
||||
struct pvscsi_adapter adapter_temp;
|
||||
struct Scsi_Host *host = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user