Skip to contentSkip to conversation

SH64: use KSYM_NAME_LEN

PATCH Applied Cyrill Gorcunov 1 participant 1 message Jan 23, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 6/6 SH64: use KSYM_NAME_LEN

Use KSYM_NAME_LEN instead of numeric value

---

arch/sh64/kernel/unwind.c +1 -1
Index: linux-2.6.git/arch/sh64/kernel/unwind.c
===================================================================
@@ -46,7 +46,7 @@ static int lookup_prev_stack_frame(unsig
 		      struct pt_regs *regs)
 {
 	const char *sym;
-	char namebuf[128];
+	char namebuf[KSYM_NAME_LEN];
 	unsigned long offset;
 	unsigned long prologue = 0;
 	unsigned long fp_displacement = 0;