]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
qla2xxx: Correct print format for edc ql_log() calls.
authorJoe Carnuccio <joe.carnuccio@qlogic.com>
Thu, 13 Oct 2011 18:25:12 +0000 (13:25 -0500)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Wed, 9 May 2012 00:40:55 +0000 (17:40 -0700)
JIRA Key: V2632FC-77

drivers/scsi/qla2xxx/qla_attr.c

index c80d805614a0fe1a339903a86c46655e727ff8c3..ca83e648eb49904fb3d8b719f0c41bcf62a32202 100644 (file)
@@ -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:%04x:%02x:%02x:%02hhx\n",
+                   "Unable to write EDC (%x) %02x:%02x:%04x:%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:%04x:%02x:%02x.\n",
+                   "Unable to write EDC status (%x) %02x:%02x:%04x:%02x.\n",
                    rval, dev, adr, opt, len);
                return -EIO;
        }