mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 08:02:07 +00:00
[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>
This commit is contained in:
parent
f454a9ac82
commit
14660f4fc8
@ -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;\
|
||||
}\
|
||||
|
Loading…
Reference in New Issue
Block a user