scsi: qla4xxx: print MAC and SID via %p[mM][R]
authorOleksandr Khoshaba <oleksandr.khoshaba@gmail.com>
Sat, 22 Oct 2016 17:32:28 +0000 (20:32 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2016 22:29:57 +0000 (17:29 -0500)
commitd1d81bd097763b0c7c47026ca55d6d4d081d0448
tree66eacaf6a6415652632e18d9756004391db48a4b
parentcaf4ebcbe7fda6cb96cdf64d4dd624356c03e437
scsi: qla4xxx: print MAC and SID via %p[mM][R]

In the kernel we have nice specifier to print MAC by given pointer to
the address in a binary form.

Signed-off-by: Oleksandr Khoshaba <Oleksandr.Khoshaba@gmail.com>
Acked-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Cc: QLogic-Storage-Upstream@qlogic.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/qla4xxx/ql4_mbx.c
drivers/scsi/qla4xxx/ql4_nx.c
drivers/scsi/qla4xxx/ql4_os.c