Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1527057 > unrolled thread

[PATCH v2 5/9] PCI/AER: Log AER IRQ when claiming Root Port

Started byBjorn Helgaas <bhelgaas@google.com>
First post2016-11-21 22:50 +0100
Last post2016-11-21 22:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 5/9] PCI/AER: Log AER IRQ when claiming Root Port Bjorn Helgaas <bhelgaas@google.com> - 2016-11-21 22:50 +0100

#1527057 — [PATCH v2 5/9] PCI/AER: Log AER IRQ when claiming Root Port

FromBjorn Helgaas <bhelgaas@google.com>
Date2016-11-21 22:50 +0100
Subject[PATCH v2 5/9] PCI/AER: Log AER IRQ when claiming Root Port
Message-ID<sG4Do-6Da-11@gated-at.bofh.it>
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 |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/pci/pcie/aer/aerdrv.c b/drivers/pci/pcie/aer/aerdrv.c
index 60e63d6..dea186a 100644
--- a/drivers/pci/pcie/aer/aerdrv.c
+++ b/drivers/pci/pcie/aer/aerdrv.c
@@ -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;
 }
 
 /**

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web