mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 07:03:03 +02:00
Merge branch 'pci/controller/xgene'
* pci/controller/xgene: PCI: xgene-msi: Return negative -EINVAL in xgene_msi_handler_setup()
This commit is contained in:
commit
7fe17980cb
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user