From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753313AbbLIXCJ (ORCPT ); Wed, 9 Dec 2015 18:02:09 -0500 Received: from smtprelay0034.hostedemail.com ([216.40.44.34]:33925 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750907AbbLIXCH (ORCPT ); Wed, 9 Dec 2015 18:02:07 -0500 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 50,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::,RULES_HIT:41:355:379:541:599:800:960:967:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1539:1593:1594:1711:1730:1747:1777:1792:2393:2525:2553:2560:2563:2682:2685:2693:2828:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3352:3622:3867:3868:3872:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4321:5007:6261:9025:10004:10400:10848:10967:11232:11658:11783:11914:12043:12517:12519:12740:13069:13095:13255:13311:13357:13894:14659:21080:30012:30054:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: star56_11cb415ca053c X-Filterd-Recvd-Size: 1939 Message-ID: <1449702121.25389.88.camel@perches.com> Subject: Re: [PATCH] hexdump: Add ability to do endian conversions in print_hex_dump functions From: Joe Perches To: Andrew Morton Cc: linux-kernel@vger.kernel.org, Andy Shevchenko , Rasmus Villemoes , Rob Herring Date: Wed, 09 Dec 2015 15:02:01 -0800 In-Reply-To: <20151209144535.1e8f4ed8a8d5d070d574d59f@linux-foundation.org> References: <20151209140937.6f246a47e19068e95780fc84@linux-foundation.org> <1449699396.25389.76.camel@perches.com> <20151209144535.1e8f4ed8a8d5d070d574d59f@linux-foundation.org> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.2-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2015-12-09 at 14:45 -0800, Andrew Morton wrote: > On Wed, 09 Dec 2015 14:16:36 -0800 Joe Perches wrote: > > > Will patches be forthcoming to convert them? > > Sure, after a settling period for Masahiro's patch > > to be applied upstream. > > > > https://lkml.org/lkml/2015/12/8/480 > > One single callsite under #ifdef DEBUG?  Doesn't seem to warrant adding > code and complexity to core library functions. It was just a for-instance. It's pretty trivial code and it's quite likely there are other buffers that could be emitted that way. e.g.: look at code like: drivers/message/fusion/mptdebug.h drivers/infiniband/hw/mthca/mthca_mr.c Dunno, I didn't look very hard.