scsi: replace custom approach to hexdump small buffers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sat, 22 Oct 2016 17:32:30 +0000 (20:32 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2016 22:29:57 +0000 (17:29 -0500)
commitdf441cc030545fe8a5f6891e3767990f761e1600
tree64733b2fba214725db60a6894347f4fc8064856f
parent1bc504552e20d268d91af4560c1109207d5af295
scsi: replace custom approach to hexdump small buffers

In kernel we have defined specifier (%*ph[C]) to dump small buffers in a
hex format. Replace custom approach by a generic one.

Cc: Jon Mason <jonmason@broadcom.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_transport_srp.c
drivers/scsi/sd.c