iscsi-target: use '%*ph' specifier to dump hex buffer
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 15 Jan 2015 11:40:56 +0000 (13:40 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 16 Jan 2015 05:17:41 +0000 (21:17 -0800)
commit5cdf5a87a2b80b913499281384112a281e02193a
tree67e8ffed9338a8473e2516bc48a12fa92aeb6321
parent3c9786e59515ed18153bfa4a36e0a2e762c0dc68
iscsi-target: use '%*ph' specifier to dump hex buffer

Instead of pushing each byte via stack the %*ph specifier allows to supply just
a pointer and length of the buffer. The patch converts code to use the
specifier.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target_configfs.c