diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-06-01 14:43:05 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2022-08-08 11:04:45 -0400 |
commit | f2f1d3b27749acedb2a4f4ea8a663f4f321b6a6b (patch) | |
tree | ec813fd3da79dbc8c455d4be64f7d05eccd05956 /.mailmap | |
parent | dbd7df2adeaeec815818b703bb4fadd1d6e400b8 (diff) |
lib/hexdump: Convert to printbuf
This converts most of the hexdump code to printbufs, along with some
significant cleanups and a bit of reorganization. The old non-printbuf
functions are mostly left as wrappers around the new printbuf versions.
Big note: byte swabbing behaviour
Previously, hex_dump_to_buffer() would byteswab the groups of bytes
being printed on little endian machines. This behaviour is... not
standard or typical for a hex dumper, and this behaviour was silently
added/changed without documentation (in 2007).
Given that the hex dumpers are just used for debugging output, nothing
is likely to break, and hopefully by reverting to more standard
behaviour the end result will be _less_ confusion, modulo a few kernel
developers who will certainly be annoyed by their tools changing.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Cc: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions