diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-01-30 07:33:33 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:33 -0500 |
commit | 85e2aeea80b453800c19e7713d85c8f91ed97b5b (patch) | |
tree | 9531ba8d44ec680d4504bdacef0b9c76daa7551f /arch/x86/kernel | |
parent | 3effef1f3bbc2a63cc79c9eda789642ac06067b3 (diff) |
x86: use KSYM_NAME_LEN
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>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/traps_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
107 | const char *symname; | 107 | const char *symname; |
108 | char *modname; | 108 | char *modname; |
109 | char *delim = ":"; | 109 | char *delim = ":"; |
110 | char namebuf[128]; | 110 | char namebuf[KSYM_NAME_LEN]; |
111 | char reliab[4] = ""; | 111 | char reliab[4] = ""; |
112 | 112 | ||
113 | symname = kallsyms_lookup(address, &symsize, &offset, | 113 | symname = kallsyms_lookup(address, &symsize, &offset, |