]> git.openfabrics.org - ~emulex/infiniband.git/commit
cifs: convert to print_hex_dump() instead of custom implementation
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 27 Aug 2014 13:49:43 +0000 (16:49 +0300)
committerSteve French <steve.french@primarydata.com>
Mon, 8 Dec 2014 04:48:01 +0000 (22:48 -0600)
commit55d83e0dbb3ed91e05b11ef32afb30acfbf8ba45
treea92417e84b7ea72828b1667821813fe8b04ddc80
parent28e2aed244b1b81e45b105d90ffb82384665dfb7
cifs: convert to print_hex_dump() instead of custom implementation

This patch converts custom dumper to use native print_hex_dump() instead. The
cifs_dump_mem() will have an offsets per each line which differs it from the
original code.

In the dump_smb() we may use native print_hex_dump() as well. It will show
slightly different output in ASCII part when character is unprintable,
otherwise it keeps same structure.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Steve French <steve.french@primarydata.com>
fs/cifs/cifs_debug.c
fs/cifs/misc.c