OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f454a9a
)
[SCSI] lpfc 8.3.42: Fixed logging format of setting driver sysfs attributes hard...
author
James Smart
<james.smart@emulex.com>
Fri, 6 Sep 2013 16:20:20 +0000
(12:20 -0400)
committer
James Bottomley
<JBottomley@Parallels.com>
Wed, 11 Sep 2013 00:25:12 +0000
(17:25 -0700)
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/lpfc/lpfc_attr.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/lpfc/lpfc_attr.c
b/drivers/scsi/lpfc/lpfc_attr.c
index
22f42f8
..
18b3a1d
100644
(file)
--- 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;\
}\