lkml.org 
[lkml]   [2014]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v1 0/4] hexdump: amend the hex_dump_to_buffer()
Date
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



\
 
 \ /
  Last update: 2014-12-29 13:01    [W:0.073 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site