From: Jon Pan-Doh Date: Thu, 22 May 2025 23:21:12 +0000 (-0500) Subject: PCI/AER: Rename aer_print_port_info() to aer_print_source() X-Git-Tag: v6.16-rc1~50^2~26^2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99c3fd0de8eb4e35459aaac5c1aa315a1a6843a6;p=thirdparty%2Fkernel%2Fstable.git PCI/AER: Rename aer_print_port_info() to aer_print_source() Rename aer_print_port_info() to aer_print_source() to be more descriptive. This logs the Error Source ID logged by a Root Port or Root Complex Event Collector when it receives an ERR_COR, ERR_NONFATAL, or ERR_FATAL Message. [bhelgaas: aer_print_rp_info() -> aer_print_source()] Signed-off-by: Jon Pan-Doh Signed-off-by: Bjorn Helgaas Tested-by: Krzysztof Wilczyński Reviewed-by: Ilpo Järvinen Reviewed-by: Kuppuswamy Sathyanarayanan Reviewed-by: Jonathan Cameron Link: https://patch.msgid.link/20250522232339.1525671-7-helgaas@kernel.org --- diff --git a/drivers/pci/pcie/aer.c b/drivers/pci/pcie/aer.c index 18005615d3762..8b23ef90345b5 100644 --- a/drivers/pci/pcie/aer.c +++ b/drivers/pci/pcie/aer.c @@ -733,8 +733,8 @@ out: info->severity, info->tlp_header_valid, &info->tlp); } -static void aer_print_port_info(struct pci_dev *dev, struct aer_err_info *info, - bool found) +static void aer_print_source(struct pci_dev *dev, struct aer_err_info *info, + bool found) { u16 source = info->id; @@ -1278,7 +1278,7 @@ static void aer_isr_one_error_type(struct pci_dev *root, bool found; found = find_source_device(root, info); - aer_print_port_info(root, info, found); + aer_print_source(root, info, found); if (found) aer_process_err_devices(info); }