Skip to content

Commit

Permalink
PCI/AER: Print completion message at KERN_INFO to match starting message
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lance Ortiz authored and Bjorn Helgaas committed Aug 24, 2012
1 parent ceaf5b5 commit be5ac3d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions drivers/pci/pcie/aer/aerdrv_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -540,14 +540,12 @@ static void do_recovery(struct pci_dev *dev, int severity)
"resume",
report_resume);

dev_printk(KERN_DEBUG, &dev->dev,
"AER driver successfully recovered\n");
dev_info(&dev->dev, "AER: Device recovery successful\n");
return;

failed:
/* TODO: Should kernel panic here? */
dev_printk(KERN_DEBUG, &dev->dev,
"AER driver didn't recover\n");
dev_info(&dev->dev, "AER: Device recovery failed\n");
}

/**
Expand Down

0 comments on commit be5ac3d

Please sign in to comment.