• J
    kbuild: Increase kallsyms max symbol length · eea0e9cb
    Joe Mario 提交于
    [AK: This seems like a ticking time bomb even without LTO,
    so should be merged now. It causes very weird problems.
    Thanks to Joe for tracking them down.]
    
    With the added postfixes that LTO adds for local
    symbols, the longest name in the kernel overflows
    the namebuf[KSYM_NAME_LEN] array by two bytes.  That name is:
    __pci_fixup_resumePCI_VENDOR_ID_SERVERWORKSPCI_DEVICE_ID_SERVERWORKS_HT1000SBquirk_disable_broadcom_boot_interrupt.1488004.672802
    
    Double the max symbol name length.
    
    v2: Use 255  (Joe Perches)
    Signed-off-by: NAndi Kleen <ak@linux.intel.com>
    Signed-off-by: NMichal Marek <mmarek@suse.cz>
    eea0e9cb
kallsyms.h 3.4 KB