Re: [PATCH] hexdump: Add ability to do endian conversions in print_hex_dump functions

From: Joe Perches
Date: Wed Dec 09 2015 - 18:02:13 EST


On Wed, 2015-12-09 at 14:45 -0800, Andrew Morton wrote:
> On Wed, 09 Dec 2015 14:16:36 -0800 Joe Perches <joe@xxxxxxxxxxx> 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.

--
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/