Skip to content

Commit 1bffb51

Browse files
committed
Merge branch 'pci/controller/xgene-msi'
- Fix typo that returned EINVAL (not -EINVAL) for failure in xgene_msi_handler_setup() (Dan Carpenter) * pci/controller/xgene-msi: PCI: xgene-msi: Return negative -EINVAL in xgene_msi_handler_setup()
2 parents 7bec21a + b26fc70 commit 1bffb51

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)