OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37fed3e
)
[SCSI] qla2xxx: Correct print format for edc ql_log() calls.
author
Joe Carnuccio
<joe.carnuccio@qlogic.com>
Thu, 9 Feb 2012 19:15:38 +0000
(11:15 -0800)
committer
James Bottomley
<JBottomley@Parallels.com>
Sun, 19 Feb 2012 14:16:18 +0000
(08:16 -0600)
Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_attr.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_attr.c
b/drivers/scsi/qla2xxx/qla_attr.c
index
7f895cd
..
0635be5
100644
(file)
--- a/
drivers/scsi/qla2xxx/qla_attr.c
+++ b/
drivers/scsi/qla2xxx/qla_attr.c
@@
-668,7
+668,7
@@
qla2x00_sysfs_write_edc(struct file *filp, struct kobject *kobj,
dev, adr, len, opt);
if (rval != QLA_SUCCESS) {
ql_log(ql_log_warn, vha, 0x7074,
- "Unable to write EDC (%x) %02x:%0
4x:%02
x:%02x:%02hhx\n",
+ "Unable to write EDC (%x) %02x:%0
2x:%04
x:%02x:%02hhx\n",
rval, dev, adr, opt, len, buf[8]);
return -EIO;
}
@@
-725,7
+725,7
@@
qla2x00_sysfs_write_edc_status(struct file *filp, struct kobject *kobj,
dev, adr, len, opt);
if (rval != QLA_SUCCESS) {
ql_log(ql_log_info, vha, 0x7075,
- "Unable to write EDC status (%x) %02x:%0
4x:%02
x:%02x.\n",
+ "Unable to write EDC status (%x) %02x:%0
2x:%04
x:%02x.\n",
rval, dev, adr, opt, len);
return -EIO;
}