[SCSI] lpfc 8.3.42: Fixed logging format of setting driver sysfs attributes hard to interpret

Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>

authored by

James Smart and committed by
James Bottomley
14660f4f f454a9ac

+4 -2
+4 -2
drivers/scsi/lpfc/lpfc_attr.c
··· 1865 1865 { \ 1866 1866 if (val >= minval && val <= maxval) {\ 1867 1867 lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, \ 1868 - "3053 lpfc_" #attr " changed from %d to %d\n", \ 1869 - vport->cfg_##attr, val); \ 1868 + "3053 lpfc_" #attr \ 1869 + " changed from %d (x%x) to %d (x%x)\n", \ 1870 + vport->cfg_##attr, vport->cfg_##attr, \ 1871 + val, val); \ 1870 1872 vport->cfg_##attr = val;\ 1871 1873 return 0;\ 1872 1874 }\