mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: linux-kernel@vger.kernel.org, Joe Perches <joe@perches.com>,
	Andrew Morton <akpm@linux-foundation.org>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Subject: [PATCH v1 0/4] hexdump: amend the hex_dump_to_buffer()
Date: Mon, 29 Dec 2014 13:50:50 +0200	[thread overview]
Message-ID: <1419853854-5602-1-git-send-email-andriy.shevchenko@linux.intel.com> (raw)

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


             reply	other threads:[~2014-12-29 11:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-29 11:50 Andy Shevchenko [this message]
2014-12-29 11:50 ` [PATCH v1 1/4] hexdump: introduce test suite Andy Shevchenko
2015-01-12 15:08   ` Paul Gortmaker
2014-12-29 11:50 ` [PATCH v1 2/4] hexdump: fix ascii column for the tail of a dump Andy Shevchenko
2014-12-29 11:50 ` [PATCH v1 3/4] hexdump: do few calculations ahead Andy Shevchenko
2014-12-29 11:50 ` [PATCH v1 4/4] hexdump: makes it return amount of bytes placed in buffer Andy Shevchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1419853854-5602-1-git-send-email-andriy.shevchenko@linux.intel.com \
    --to=andriy.shevchenko@linux.intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome