linux_dsm_epyc7002/drivers/pci/pcie/aer
Huang Ying b64a441465 PCIe, AER, use pre-generated prefix in error information printing
When printing PCIe AER error information, each line is prefixed with
PCIe device and driver information.  In original implementation, the
prefix is generated when each line is printed.  In fact, all lines
share the same prefix.  So this patch pre-generated the prefix, and
use that one when each line is printed.

In addition to common prefix can be pre-generated, the trailing white
spaces in string constants and NULLs in char * array constants can be
removed too.  These can reduce the object file size further.

The size of object file before and after changing is as follow:

           text    data     bss     dec
before:    3038       0       0    3038
after:     2118       0       0    2118

Signed-off-by: Huang Ying <ying.huang@intel.com>
CC: Jesse Barnes <jbarnes@virtuousgeek.org>
CC: Zhang Yanmin <yanmin.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2011-03-21 22:59:08 -04:00
..
aer_inject.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
aerdrv_acpi.c PCI/PCIe/AER: Disable native AER service if BIOS has precedence 2010-10-15 13:09:50 -07:00
aerdrv_core.c PCI: aerdrv: fix uninitialized variable warning 2010-10-15 13:09:48 -07:00
aerdrv_errprint.c PCIe, AER, use pre-generated prefix in error information printing 2011-03-21 22:59:08 -04:00
aerdrv.c PCI/ACPI: Request _OSC control once for each root bridge (v3) 2011-01-14 08:55:41 -08:00
aerdrv.h PCI/ACPI: Request _OSC control once for each root bridge (v3) 2011-01-14 08:55:41 -08:00
ecrc.c PCIe AER: use pci_is_pcie() 2009-11-24 15:25:17 -08:00
Kconfig PCI AER: software error injection 2009-06-16 14:30:14 -07:00
Kconfig.debug PCI: change PCI nomenclature in drivers/pci/ (non-comment changes) 2009-12-16 13:37:54 -08:00
Makefile PCI AER: software error injection 2009-06-16 14:30:14 -07:00