From: James Smart Date: Fri, 6 Sep 2013 16:20:20 +0000 (-0400) Subject: [SCSI] lpfc 8.3.42: Fixed logging format of setting driver sysfs attributes hard... X-Git-Tag: firefly_0821_release~176^2~5295^2~16 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=14660f4fc84c4cbb3e90de50793f7eef119c2a02;p=firefly-linux-kernel-4.4.55.git [SCSI] lpfc 8.3.42: Fixed logging format of setting driver sysfs attributes hard to interpret Signed-off-by: James Smart Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c index 22f42f866f75..18b3a1d7f3f0 100644 --- a/drivers/scsi/lpfc/lpfc_attr.c +++ b/drivers/scsi/lpfc/lpfc_attr.c @@ -1865,8 +1865,10 @@ lpfc_##attr##_set(struct lpfc_vport *vport, uint val) \ { \ if (val >= minval && val <= maxval) {\ lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, \ - "3053 lpfc_" #attr " changed from %d to %d\n", \ - vport->cfg_##attr, val); \ + "3053 lpfc_" #attr \ + " changed from %d (x%x) to %d (x%x)\n", \ + vport->cfg_##attr, vport->cfg_##attr, \ + val, val); \ vport->cfg_##attr = val;\ return 0;\ }\