aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2025-10-03 12:13:24 -0500
committerBjorn Helgaas <bhelgaas@google.com>2025-10-03 12:13:24 -0500
commit7fe17980cb4e55beb634e58085ac3a880786ca93 (patch)
treef5e48bbb87f186eb637e9fd67910ac1294d1c383 /drivers
parentMerge branch 'pci/controller/tegra' (diff)
parentPCI: xgene-msi: Return negative -EINVAL in xgene_msi_handler_setup() (diff)
downloadlinux-7fe17980cb4e55beb634e58085ac3a880786ca93.tar.gz
linux-7fe17980cb4e55beb634e58085ac3a880786ca93.zip
Merge branch 'pci/controller/xgene'
* pci/controller/xgene: PCI: xgene-msi: Return negative -EINVAL in xgene_msi_handler_setup()
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pci/controller/pci-xgene-msi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/pci-xgene-msi.c b/drivers/pci/controller/pci-xgene-msi.c
index 0a37a3f1809c..654639bccd10 100644
--- a/drivers/pci/controller/pci-xgene-msi.c
+++ b/drivers/pci/controller/pci-xgene-msi.c
@@ -311,7 +311,7 @@ static int xgene_msi_handler_setup(struct platform_device *pdev)
msi_val = xgene_msi_int_read(xgene_msi, i);
if (msi_val) {
dev_err(&pdev->dev, "Failed to clear spurious IRQ\n");
- return EINVAL;
+ return -EINVAL;
}
irq = platform_get_irq(pdev, i);