Commit 85e2aeea authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Ingo Molnar

x86: use KSYM_NAME_LEN

Use KSYM_NAME_LEN instead of numeric value
Signed-off-by: default avatarCyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 3effef1f
...@@ -107,7 +107,7 @@ void printk_address(unsigned long address, int reliable) ...@@ -107,7 +107,7 @@ void printk_address(unsigned long address, int reliable)
const char *symname; const char *symname;
char *modname; char *modname;
char *delim = ":"; char *delim = ":";
char namebuf[128]; char namebuf[KSYM_NAME_LEN];
char reliab[4] = ""; char reliab[4] = "";
symname = kallsyms_lookup(address, &symsize, &offset, symname = kallsyms_lookup(address, &symsize, &offset,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment