[RFC PATCH v2 12/21] PCI: pci-acpi.c: Return correct value from pcibios_alloc_irq()
Sunil V L
sunilvl at ventanamicro.com
Wed Oct 25 13:23:35 PDT 2023
Return the correct value from pcibios_alloc_irq().
Signed-off-by: Sunil V L <sunilvl at ventanamicro.com>
---
drivers/pci/pci-acpi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c
index c8c3369fd69f..80dc0b290544 100644
--- a/drivers/pci/pci-acpi.c
+++ b/drivers/pci/pci-acpi.c
@@ -1528,7 +1528,7 @@ arch_initcall(acpi_pci_init);
int pcibios_alloc_irq(struct pci_dev *dev)
{
if (!acpi_disabled)
- acpi_pci_irq_enable(dev);
+ return acpi_pci_irq_enable(dev);
return 0;
}
--
2.39.2
More information about the linux-riscv
mailing list