diff options
author | Joe Carnuccio <joe.carnuccio@qlogic.com> | 2012-02-09 14:15:38 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-19 09:16:18 -0500 |
commit | 18f509dfa21a69b8de4145edc794172ed55a84a5 (patch) | |
tree | 986989dcf7b79b9a7728962cae0ab7bd72c1dd9a /drivers/scsi/qla2xxx/qla_attr.c | |
parent | 37fed3ee259d59858dd4b733659fbcb2e19389cc (diff) |
[SCSI] qla2xxx: Correct print format for edc ql_log() calls.
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>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_attr.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_attr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c index 7f895cdcaeb0..0635be522cd2 100644 --- 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, | |||
668 | dev, adr, len, opt); | 668 | dev, adr, len, opt); |
669 | if (rval != QLA_SUCCESS) { | 669 | if (rval != QLA_SUCCESS) { |
670 | ql_log(ql_log_warn, vha, 0x7074, | 670 | ql_log(ql_log_warn, vha, 0x7074, |
671 | "Unable to write EDC (%x) %02x:%04x:%02x:%02x:%02hhx\n", | 671 | "Unable to write EDC (%x) %02x:%02x:%04x:%02x:%02hhx\n", |
672 | rval, dev, adr, opt, len, buf[8]); | 672 | rval, dev, adr, opt, len, buf[8]); |
673 | return -EIO; | 673 | return -EIO; |
674 | } | 674 | } |
@@ -725,7 +725,7 @@ qla2x00_sysfs_write_edc_status(struct file *filp, struct kobject *kobj, | |||
725 | dev, adr, len, opt); | 725 | dev, adr, len, opt); |
726 | if (rval != QLA_SUCCESS) { | 726 | if (rval != QLA_SUCCESS) { |
727 | ql_log(ql_log_info, vha, 0x7075, | 727 | ql_log(ql_log_info, vha, 0x7075, |
728 | "Unable to write EDC status (%x) %02x:%04x:%02x:%02x.\n", | 728 | "Unable to write EDC status (%x) %02x:%02x:%04x:%02x.\n", |
729 | rval, dev, adr, opt, len); | 729 | rval, dev, adr, opt, len); |
730 | return -EIO; | 730 | return -EIO; |
731 | } | 731 | } |