Skip to content

Commit 7fe1798

Browse files
committed
Merge branch 'pci/controller/xgene'
* pci/controller/xgene: PCI: xgene-msi: Return negative -EINVAL in xgene_msi_handler_setup()
2 parents c4c50d8 + b26fc70 commit 7fe1798

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/controller/pci-xgene-msi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ static int xgene_msi_handler_setup(struct platform_device *pdev)
311311
msi_val = xgene_msi_int_read(xgene_msi, i);
312312
if (msi_val) {
313313
dev_err(&pdev->dev, "Failed to clear spurious IRQ\n");
314-
return EINVAL;
314+
return -EINVAL;
315315
}
316316

317317
irq = platform_get_irq(pdev, i);

0 commit comments

Comments
 (0)