diff --git a/arch/x86/kernel/traps_64.c b/arch/x86/kernel/traps_64.c index 4ea727869deddc8f4520b8debdc567f369b4195e..efc66df728b61cfd3a0641345836a0d2e3deef9b 100644 --- a/arch/x86/kernel/traps_64.c +++ b/arch/x86/kernel/traps_64.c @@ -107,7 +107,7 @@ void printk_address(unsigned long address, int reliable) const char *symname; char *modname; char *delim = ":"; - char namebuf[128]; + char namebuf[KSYM_NAME_LEN]; char reliab[4] = ""; symname = kallsyms_lookup(address, &symsize, &offset,