From: Cyrill Gorcunov Date: Wed, 30 Jan 2008 12:33:33 +0000 (+0100) Subject: x86: use KSYM_NAME_LEN X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=85e2aeea80b453800c19e7713d85c8f91ed97b5b;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git x86: use KSYM_NAME_LEN Use KSYM_NAME_LEN instead of numeric value Signed-off-by: Cyrill Gorcunov Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/kernel/traps_64.c b/arch/x86/kernel/traps_64.c index 4ea727869ded..efc66df728b6 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,