aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2008-01-30 13:33:33 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:33:33 +0100
commit85e2aeea80b453800c19e7713d85c8f91ed97b5b (patch)
tree9531ba8d44ec680d4504bdacef0b9c76daa7551f /arch
parent3effef1f3bbc2a63cc79c9eda789642ac06067b3 (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')
-rw-r--r--arch/x86/kernel/traps_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/traps_64.c b/arch/x86/kernel/traps_64.c
index 4ea727869de..efc66df728b 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,