Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757134AbYJHW05 (ORCPT ); Wed, 8 Oct 2008 18:26:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755442AbYJHW0r (ORCPT ); Wed, 8 Oct 2008 18:26:47 -0400 Received: from 136-022.dsl.LABridge.com ([206.117.136.22]:3199 "EHLO mail.perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755440AbYJHW0r (ORCPT ); Wed, 8 Oct 2008 18:26:47 -0400 Date: Wed, 8 Oct 2008 15:22:20 -0700 (PDT) From: Joe Perches To: trem cc: , Steven Rostedt , Harvey Harrison Subject: Re: [patch] clean hex output of ftrace In-Reply-To: <48ED2E5E.3040600@yahoo.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 856 Lines: 23 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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/