Re: [PATCH] hexdump: Add ability to do endian conversions in print_hex_dump functions
From: Andrew Morton
Date: Wed Dec 09 2015 - 17:09:43 EST
On Wed, 9 Dec 2015 13:59:30 -0800 Joe Perches <joe@xxxxxxxxxxx> 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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/