aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorLance Ortiz <lance.ortiz@hp.com>2012-08-24 16:44:05 -0400
committerBjorn Helgaas <bhelgaas@google.com>2012-08-24 16:44:05 -0400
commitbe5ac3d3c11dea5b073555fba7cc59808bd2a286 (patch)
tree2d4d28ffa16a40cb0c083c57885dce79560316cb /drivers/pci
parentceaf5b5f03c8474064852dfa1a402905cf536fcf (diff)
PCI/AER: Print completion message at KERN_INFO to match starting message
The completion message in do_recovery() is currently KERN_DEBUG, while the starting message in aer_print_port_info() is KERN_INFO. This changes the completion message to KERN_INFO to match the starting message. [bhelgaas: changelog, use dev_info() instead of dev_printk(KERN_INFO)] Signed-off-by: Lance Ortiz <lance.ortiz@hp.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/pcie/aer/aerdrv_core.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/pci/pcie/aer/aerdrv_core.c b/drivers/pci/pcie/aer/aerdrv_core.c
index 0ca053538146..70758881480b 100644
--- a/drivers/pci/pcie/aer/aerdrv_core.c
+++ b/drivers/pci/pcie/aer/aerdrv_core.c
@@ -540,14 +540,12 @@ static void do_recovery(struct pci_dev *dev, int severity)
540 "resume", 540 "resume",
541 report_resume); 541 report_resume);
542 542
543 dev_printk(KERN_DEBUG, &dev->dev, 543 dev_info(&dev->dev, "AER: Device recovery successful\n");
544 "AER driver successfully recovered\n");
545 return; 544 return;
546 545
547failed: 546failed:
548 /* TODO: Should kernel panic here? */ 547 /* TODO: Should kernel panic here? */
549 dev_printk(KERN_DEBUG, &dev->dev, 548 dev_info(&dev->dev, "AER: Device recovery failed\n");
550 "AER driver didn't recover\n");
551} 549}
552 550
553/** 551/**