提交 be5ac3d3 编写于 作者: L Lance Ortiz 提交者: Bjorn Helgaas

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: NLance Ortiz <lance.ortiz@hp.com>
Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
上级 ceaf5b5f
......@@ -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");
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册