lkml.org 
[lkml]   [2008]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] clean hex output of ftrace
On Thu, 9 Oct 2008, trem wrote:
> Index: linux-2.6.26/kernel/trace/trace.c
> ===================================================================
> --- linux-2.6.26/kernel/trace/trace.c
> +++ linux-2.6.26/kernel/trace/trace.c 2008-10-08 22:30:29.000000000 +0200
> @@ -415,8 +415,8 @@
> #endif
> byte = data[i];
>
> - hex[j++] = hex2asc[byte & 0x0f];
> hex[j++] = hex2asc[byte >> 4];
> + hex[j++] = hex2asc[byte & 0x0f];
> }
> hex[j++] = ' ';

I'm surprised Harvey Harrison hasn't changed it to pack_hex_byte
and removed the static.



\
 
 \ /
  Last update: 2008-10-09 00:29    [W:0.076 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site