Re: [PATCH] iscsi-target: use '%*ph' specifier to dump hex buffer

2015-01-20 Thread Nicholas A. Bellinger
On Thu, 2015-01-15 at 13:40 +0200, Andy Shevchenko wrote: 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.shevche...@linux.intel.com ---

[PATCH] iscsi-target: use '%*ph' specifier to dump hex buffer

2015-01-15 Thread Andy Shevchenko
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.shevche...@linux.intel.com --- drivers/target/iscsi/iscsi_target_configfs.c | 13 -