]> git.ipfire.org Git - thirdparty/linux.git/commit
PCI/AER: Descope pci_printk() to aer_printk()
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 16 Dec 2024 16:10:12 +0000 (18:10 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 21 Feb 2025 23:17:08 +0000 (17:17 -0600)
commitfab874e12593b68f9a7fcb1a31a7dcf4829e88f7
treee54eea243f103f9be33c46df5520a8b00793c561
parent2014c95afecee3e76ca4a56956a936e23283f05b
PCI/AER: Descope pci_printk() to aer_printk()

include/linux/pci.h provides low-level pci_printk() interface that is
only used by AER because it needs to print the same message with
different levels depending on the error severity. No other PCI code
uses that functionality and calls pci_<level>() logging functions
directly with the appropriate level.

Descope pci_printk() into AER as aer_printk().

Link: https://lore.kernel.org/r/20241216161012.1774-5-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
[bhelgaas: retain pci_printk() for now since shpchp still uses it and I
moved those patches to a different branch]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/aer.c