[PATCH v1 0/4] hexdump: amend the hex_dump_to_buffer()
From: Andy Shevchenko
Date: Mon Dec 29 2014 - 06:52:58 EST
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
--
2.1.3
--
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/