]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: use KSYM_NAME_LEN
authorCyrill Gorcunov <gorcunov@gmail.com>
Wed, 30 Jan 2008 12:33:33 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:33 +0000 (13:33 +0100)
Use KSYM_NAME_LEN instead of numeric value

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/traps_64.c

index 4ea727869deddc8f4520b8debdc567f369b4195e..efc66df728b61cfd3a0641345836a0d2e3deef9b 100644 (file)
@@ -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,