From 85e2aeea80b453800c19e7713d85c8f91ed97b5b Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Wed, 30 Jan 2008 13:33:33 +0100 Subject: x86: use KSYM_NAME_LEN Use KSYM_NAME_LEN instead of numeric value Signed-off-by: Cyrill Gorcunov Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- arch/x86/kernel/traps_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch') diff --git a/arch/x86/kernel/traps_64.c b/arch/x86/kernel/traps_64.c index 4ea727869de..efc66df728b 100644 --- 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, -- cgit v1.2.3