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: NJoe Mario <jmario@redhat.com> Signed-off-by: NMichal Marek <mmarek@suse.cz> Signed-off-by: NBjorn Helgaas <bhelgaas@google.com> Cc: Andi Kleen <ak@linux.intel.com>
Showing
想要评论请 注册 或 登录