* [PATCH 2/6] x86: use KSYM_NAME_LEN
@ 2008-01-23 17:38 Cyrill Gorcunov
2008-01-24 16:08 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Cyrill Gorcunov @ 2008-01-23 17:38 UTC (permalink / raw)
To: LKML
Cc: Ingo Molnar, David Miller, Andrew Morton, Paul Mackerras,
Peter Zijlstra, Thomas Gleixner
Use KSYM_NAME_LEN instead of numeric value
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
Index: linux-2.6.git/arch/x86/kernel/traps_64.c
===================================================================
--- linux-2.6.git.orig/arch/x86/kernel/traps_64.c 2008-01-23 19:18:27.000000000 +0300
+++ linux-2.6.git/arch/x86/kernel/traps_64.c 2008-01-23 19:19:05.000000000 +0300
@@ -105,7 +105,7 @@ void printk_address(unsigned long addres
const char *symname;
char *modname;
char *delim = ":";
- char namebuf[128];
+ char namebuf[KSYM_NAME_LEN];
symname = kallsyms_lookup(address, &symsize, &offset,
&modname, namebuf);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-01-24 16:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-23 17:38 [PATCH 2/6] x86: use KSYM_NAME_LEN Cyrill Gorcunov
2008-01-24 16:08 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome