diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-01-30 13:33:33 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 13:33:33 +0100 |
commit | 85e2aeea80b453800c19e7713d85c8f91ed97b5b (patch) | |
tree | 9531ba8d44ec680d4504bdacef0b9c76daa7551f /arch/x86/kernel | |
parent | 3effef1f3bbc2a63cc79c9eda789642ac06067b3 (diff) | |
download | op-kernel-dev-85e2aeea80b453800c19e7713d85c8f91ed97b5b.zip op-kernel-dev-85e2aeea80b453800c19e7713d85c8f91ed97b5b.tar.gz |
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 4ea7278..efc66df 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, |