projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3effef1
)
x86: use KSYM_NAME_LEN
author
Cyrill Gorcunov
<gorcunov@gmail.com>
Wed, 30 Jan 2008 12:33:33 +0000
(13:33 +0100)
committer
Ingo 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
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/traps_64.c
b/arch/x86/kernel/traps_64.c
index 4ea727869deddc8f4520b8debdc567f369b4195e..efc66df728b61cfd3a0641345836a0d2e3deef9b 100644
(file)
--- 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,