We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82013ff commit 36c5932Copy full SHA for 36c5932
drivers/pci/pcie/aer.c
@@ -787,14 +787,15 @@ void pci_print_aer(struct pci_dev *dev, int aer_severity,
787
layer = AER_GET_LAYER_ERROR(aer_severity, status);
788
agent = AER_GET_AGENT(aer_severity, status);
789
790
- pci_err(dev, "aer_status: 0x%08x, aer_mask: 0x%08x\n", status, mask);
+ aer_printk(info.level, dev, "aer_status: 0x%08x, aer_mask: 0x%08x\n",
791
+ status, mask);
792
__aer_print_error(dev, &info);
- pci_err(dev, "aer_layer=%s, aer_agent=%s\n",
793
- aer_error_layer[layer], aer_agent_string[agent]);
+ aer_printk(info.level, dev, "aer_layer=%s, aer_agent=%s\n",
794
+ aer_error_layer[layer], aer_agent_string[agent]);
795
796
if (aer_severity != AER_CORRECTABLE)
- pci_err(dev, "aer_uncor_severity: 0x%08x\n",
797
- aer->uncor_severity);
+ aer_printk(info.level, dev, "aer_uncor_severity: 0x%08x\n",
798
+ aer->uncor_severity);
799
800
if (tlp_header_valid)
801
pcie_print_tlp_log(dev, &aer->header_log, info.level,
0 commit comments