From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752877AbbLIWJk (ORCPT ); Wed, 9 Dec 2015 17:09:40 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:57009 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750899AbbLIWJj (ORCPT ); Wed, 9 Dec 2015 17:09:39 -0500 Date: Wed, 9 Dec 2015 14:09:37 -0800 From: Andrew Morton To: Joe Perches Cc: linux-kernel@vger.kernel.org, Andy Shevchenko , Rasmus Villemoes , Rob Herring Subject: Re: [PATCH] hexdump: Add ability to do endian conversions in print_hex_dump functions Message-Id: <20151209140937.6f246a47e19068e95780fc84@linux-foundation.org> In-Reply-To: References: X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 9 Dec 2015 13:59:30 -0800 Joe Perches wrote: > There are use cases for dumping buffers with specific endian types > for 2, 4, and 8 byte variables in arrays. > > Add an enum for DUMP_TYPE_(LE|BE|CPU) to enable emitting them as such. > > Rename groupsize to groupflags in the functions and add documentation > to the kernel-doc to describe the use of the DUMP_TYPE_ enum. What are these use cases? Will patches be forthcoming to convert them?