Skip to content

Commit 99c3fd0

Browse files
Jon Pan-Dohbjorn-helgaas
authored andcommitted
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 <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Tested-by: Krzysztof Wilczyński <[email protected]> Reviewed-by: Ilpo Järvinen <[email protected]> Reviewed-by: Kuppuswamy Sathyanarayanan <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent f40bd28 commit 99c3fd0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/pci/pcie/aer.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -733,8 +733,8 @@ void aer_print_error(struct pci_dev *dev, struct aer_err_info *info)
733733
info->severity, info->tlp_header_valid, &info->tlp);
734734
}
735735

736-
static void aer_print_port_info(struct pci_dev *dev, struct aer_err_info *info,
737-
bool found)
736+
static void aer_print_source(struct pci_dev *dev, struct aer_err_info *info,
737+
bool found)
738738
{
739739
u16 source = info->id;
740740

@@ -1278,7 +1278,7 @@ static void aer_isr_one_error_type(struct pci_dev *root,
12781278
bool found;
12791279

12801280
found = find_source_device(root, info);
1281-
aer_print_port_info(root, info, found);
1281+
aer_print_source(root, info, found);
12821282
if (found)
12831283
aer_process_err_devices(info);
12841284
}

0 commit comments

Comments
 (0)