lkml.org 
[lkml]   [2008]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 5/6] PPC: use KSYM_NAME_LEN
Use KSYM_NAME_LEN instead of numeric value

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---

Index: linux-2.6.git/arch/ppc/xmon/xmon.c
===================================================================
--- linux-2.6.git.orig/arch/ppc/xmon/xmon.c 2008-01-21 19:35:06.000000000 +0300
+++ linux-2.6.git/arch/ppc/xmon/xmon.c 2008-01-23 19:15:19.000000000 +0300
@@ -180,7 +180,7 @@ static void xmon_print_symbol(unsigned l
char *modname;
const char *name = NULL;
unsigned long offset, size;
- static char tmpstr[128];
+ static char tmpstr[KSYM_NAME_LEN];

printf("%.8lx", address);
if (setjmp(bus_error_jmp) == 0) {

\
 
 \ /
  Last update: 2008-01-23 18:43    [W:2.371 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site