Skip to content

Commit

Permalink
x86: use KSYM_NAME_LEN
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Cyrill Gorcunov authored and Ingo Molnar committed Jan 30, 2008
1 parent 3effef1 commit 85e2aee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/traps_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 85e2aee

Please sign in to comment.