diff options
author | Michal Marek <mmarek@suse.cz> | 2013-11-11 14:40:35 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-11-25 15:10:54 -0700 |
commit | ecf61c78bd787b9dfb4a6b1dfb7561c2a95c5c17 (patch) | |
tree | 87a8bb938cb53c314cd1e208f2ff41cb0c4796bf /drivers/pci | |
parent | 4bff6749905d3abe7436d3b2d20b626886a04475 (diff) | |
download | blackbird-op-linux-ecf61c78bd787b9dfb4a6b1dfb7561c2a95c5c17.tar.gz blackbird-op-linux-ecf61c78bd787b9dfb4a6b1dfb7561c2a95c5c17.zip |
PCI: Omit PCI ID macro strings to shorten quirk names
Pasting the verbatim PCI_(VENDOR|DEVICE)_* macros in the __pci_fixup_*
symbol names results in insanely long names such as
__pci_fixup_resumePCI_VENDOR_ID_SERVERWORKSPCI_DEVICE_ID_SERVERWORKS_HT1000SBquirk_disable_broadcom_boot_interrupt
When Link-Time Optimization adds its numeric suffix to such symbol, it
overflows the namebuf[KSYM_NAME_LEN] array in kernel/kallsyms.c. Use the
line number instead to create (nearly) unique symbol names.
Reported-by: Joe Mario <jmario@redhat.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions