Skip to content

fs/seq_file: introduce seq_hex_dump() helper

Andy Shevchenko lkml 5 versions – In review

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

Versions newest first · linked by author and title

  1. v5 Latest6 patches 1 replyIn review
  2. v412 patches 4 repliesSuperseded
  3. v35 patches 12 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v25 patches0 repliesSuperseded
v15 patches12 repliesSuperseded

Changes in v5 from the cover letter

- remove already applied patches (hexdump)
- postpone patch for saa7164 since conficts (needs investigation)
- rebase on top of recent linux-next

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6seq_file: provide an analogue of print_hex_dump()fs/seq_file.c include/linux/seq_file.h+46 -00 replies
2/6crypto: qat - use seq_hex_dump() to dump buffersdrivers/crypto/qat/qat_common/adf_transport_debug.c+2 -140 replies
3/6parisc: use seq_hex_dump() to dump buffersdrivers/parisc/ccio-dma.c drivers/parisc/sba_iommu.c+5 -170 replies
4/6zcrypt: use seq_hex_dump() to dump buffersdrivers/s390/crypto/zcrypt_api.c+1 -90 replies
5/6kmemleak: use seq_hex_dump() to dump buffersmm/kmemleak.c+6 -151 reply
6/6wil6210: use seq_hex_dump() to dump buffersdrivers/net/wireless/ath/wil6210/debugfs.c+7 -280 replies

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by.

PatchTadeusz StrukIngo TuchschererHelge DellerCatalin Marinas
1/6
2/6A-b
3/6A-b
4/6A-b
5/6A-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v5 thread

Cover letter [PATCH v5 0/6] fs/seq_file: introduce seq_hex_dump() helper

This introduces a new helper and switches current users to use it. All patches are compiled tested, kmemleak is tested by its own test suit.

Changelog v5:
- remove already applied patches (hexdump)
- postpone patch for saa7164 since conficts (needs investigation)
- rebase on top of recent linux-next

Changelog v4:
- hexdump is amended to return value from which we can check an overflow (patches 1/12 - 4/12)
- seq_hex_dump pushes bytes directly to buffer and returns an error in case of overflow (addresses Al Viro's comment)
- append Acked-by for patches 8/12 and 9/12
- convert more users (patches 10/12 - 12/12)

Changelog v3:
- append Mauro's Ack
- rebase on top of recent linux-next

Changelog v2:
- append Acked-by and Reviewed-by tags
- update commit messages in patches 3/5. and 5/5
- update line size to be 32 bytes instead of 16 in patch 3/5
- Joe found that output is changed in patch 4/5, thus I update commit message there

Andy Shevchenko (6):
seq_file: provide an analogue of print_hex_dump()
crypto: qat - use seq_hex_dump() to dump buffers
parisc: use seq_hex_dump() to dump buffers [S390] zcrypt: use seq_hex_dump() to dump buffers
kmemleak: use seq_hex_dump() to dump buffers
wil6210: use seq_hex_dump() to dump buffers

 .../crypto/qat/qat_common/adf_transport_debug.c    | 16 ++-------
 drivers/net/wireless/ath/wil6210/debugfs.c         | 35 ++++--------------
 drivers/parisc/ccio-dma.c                          | 13 ++-----
 drivers/parisc/sba_iommu.c                         |  9 ++---
 drivers/s390/crypto/zcrypt_api.c                   | 10 +-----
 fs/seq_file.c                                      | 42 ++++++++++++++++++++++
 include/linux/seq_file.h                           |  4 +++
 mm/kmemleak.c                                      | 21 ++++-------
 8 files changed, 67 insertions(+), 83 deletions(-)
Signature · 1 line
2.1.4