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)
committerSasha Levin <sasha.levin@oracle.com>
Wed, 10 Feb 2016 03:57:05 +0000 (22:57 -0500)
commitc47853489ebc23629cb8762af50e1e98744d7cac
tree8e3ba5c2b4abdf7a24ae3775c41df87107a2c520
parentf0a1bc01a76a47ce838e0d2c8c526f8be63e2bff
cifs: convert to print_hex_dump() instead of custom implementation

[ Upstream commit 55d83e0dbb3ed91e05b11ef32afb30acfbf8ba45 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
fs/cifs/cifs_debug.c
fs/cifs/misc.c