scsi: hpsa: Use PCI_IRQ_INTX instead of PCI_IRQ_LEGACY

JIRA: https://issues.redhat.com/browse/RHEL-50255
Upstream Status: 290d6dbbecf1fa8d18354b90a39451275d320387

commit 290d6dbbecf1fa8d18354b90a39451275d320387
Author: Damien Le Moal <dlemoal@kernel.org>
Date:   Mon Mar 25 16:09:33 2024 +0900

    scsi: hpsa: 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-23-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>

Signed-off-by: Myron Stowe <mstowe@redhat.com>
This commit is contained in:
Myron Stowe 2024-08-14 19:30:58 -06:00
parent 7d4ea087ef
commit 2eb6a05eff
1 changed files with 1 additions and 1 deletions

View File

@ -7513,7 +7513,7 @@ fallback:
*/ */
static int hpsa_interrupt_mode(struct ctlr_info *h) static int hpsa_interrupt_mode(struct ctlr_info *h)
{ {
unsigned int flags = PCI_IRQ_LEGACY; unsigned int flags = PCI_IRQ_INTX;
int ret; int ret;
/* Some boards advertise MSI but don't really support it */ /* Some boards advertise MSI but don't really support it */