From eea0e9cbb9e65cd553d302a4aefd4c7b70d9fd90 Mon Sep 17 00:00:00 2001 From: Joe Mario Date: Wed, 23 Oct 2013 15:06:53 +0200 Subject: [PATCH] kbuild: Increase kallsyms max symbol length [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: Andi Kleen Signed-off-by: Michal Marek --- Reading git-format-patch failed