]> git.karo-electronics.de Git - linux-beck.git/commitdiff
PCI/AER: Log AER IRQ when claiming Root Port
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 21 Nov 2016 21:34:02 +0000 (15:34 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 12 Dec 2016 16:05:23 +0000 (10:05 -0600)
Add a log message when we enable AER on a Root Port and the hierarchy below
it.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/aer/aerdrv.c

index 60e63d60bb31d282885c2349c0d0103654cefa6e..dea186a9d6b698488384153348389f7c9715e775 100644 (file)
@@ -312,8 +312,8 @@ static int aer_probe(struct pcie_device *dev)
        rpc->isr = 1;
 
        aer_enable_rootport(rpc);
-
-       return status;
+       dev_info(device, "AER enabled with IRQ %d\n", dev->irq);
+       return 0;
 }
 
 /**