OSDN Git Service

scsi: cciss: replace custom function to hexdump
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sat, 22 Oct 2016 17:32:31 +0000 (20:32 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2016 22:29:57 +0000 (17:29 -0500)
commit8d9c1f86a303de8fb631fb6b76260cb1fa8883a1
tree4f1e31a56cf17f337f987e04de7f1f3fe3b52f25
parentdf441cc030545fe8a5f6891e3767990f761e1600
scsi: cciss: replace custom function to hexdump

For small buffers we may use %*ph[N] specifier, for the bigger blocks
print_hex_dump() call.

Cc: Don Brace <don.brace@microsemi.com>
Cc: esc.storagedev@microsemi.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/block/cciss_scsi.c