tcm_qla2xxx: print port name via %*phC
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 15 Jan 2015 11:28:07 +0000 (13:28 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 16 Jan 2015 05:17:18 +0000 (21:17 -0800)
commit3c9786e59515ed18153bfa4a36e0a2e762c0dc68
tree851472e8f3b0f05337f59b91879f953472bdd5e9
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672
tcm_qla2xxx: print port name via %*phC

Instead of pushing each byte via stack let's use custom specifier which allows
to print small buffers as a hex string.

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