提交 85e2aeea 编写于 作者: C Cyrill Gorcunov 提交者: Ingo Molnar

x86: use KSYM_NAME_LEN

Use KSYM_NAME_LEN instead of numeric value
Signed-off-by: NCyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 3effef1f
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册