From: Cyrill Gorcunov Date: Wed, 30 Jan 2008 12:33:33 +0000 (+0100) Subject: x86: use KSYM_NAME_LEN X-Git-Tag: v2.6.25-rc1~1143^2~187 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85e2aeea80b453800c19e7713d85c8f91ed97b5b;p=linux-2.6 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 4ea727869d..efc66df728 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,