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>
This commit is contained in:
parent
3effef1f3b
commit
85e2aeea80
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue