Skip to content

hexdump: amend the hex_dump_to_buffer()

Andy Shevchenko lkml 1 version In review

Get series with b4
b4 am 1419853854-5602-1-git-send-email-andriy.shevchenko@linux.intel.com

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4hexdump: introduce test suitelib/Kconfig.debug lib/Makefile lib/test-hexdump.c+141 -11 reply
2/4hexdump: fix ascii column for the tail of a dumplib/hexdump.c+3 -30 replies
3/4hexdump: do few calculations aheadlib/hexdump.c+10 -240 replies
4/4hexdump: makes it return amount of bytes placed in bufferinclude/linux/printk.h lib/hexdump.c lib/test-hexdump.c+103 -210 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/4] hexdump: amend the hex_dump_to_buffer()

This series is targeted to amend hex_dump_to_buffer() function. It consists test suite, fix for output format and features the function by adding return code.

With those changes the function would be used for seq_file API.

Andy Shevchenko (4):
hexdump: introduce test suite
hexdump: fix ascii column for the tail of a dump
hexdump: do few calculations ahead
hexdump: makes it return amount of bytes placed in buffer

 include/linux/printk.h |   6 +-
 lib/Kconfig.debug      |   3 +
 lib/Makefile           |   4 +-
 lib/hexdump.c          | 105 ++++++++++++++++++-----------
 lib/test-hexdump.c     | 180 +++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 253 insertions(+), 45 deletions(-)
 create mode 100644 lib/test-hexdump.c
Signature · 1 line
2.1.3