lkml.org 
[lkml]   [2015]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] hexdump: Add ability to do endian conversions in print_hex_dump functions
    From
    Date
    On Wed, 2015-12-09 at 14:09 -0800, Andrew Morton wrote:
    > On Wed,  9 Dec 2015 13:59:30 -0800 Joe Perches <joe@perches.com> 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?

    Buffers that contain LE or BE arrays that want
    to be emitted by print_hex_dump.

    > 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



    \
     
     \ /
      Last update: 2015-12-09 23:41    [W:4.497 / U:0.056 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site