]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[SCSI] qla4xxx: Print correct IDC version
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>
Thu, 20 Sep 2012 11:35:02 +0000 (07:35 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 24 Sep 2012 08:26:35 +0000 (12:26 +0400)
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_nx.c

index 20825d5dd73bf2e195df307ad48c6090be86587b..9b67aadf9fd0b354035e58d3a0e1982e49aa440d 100644 (file)
@@ -2809,7 +2809,7 @@ static int qla4_83xx_set_idc_ver(struct scsi_qla_host *ha)
                qla4_8xxx_wr_direct(ha, QLA8XXX_CRB_DRV_IDC_VERSION, idc_ver);
                ql4_printk(KERN_INFO, ha,
                           "%s: IDC version updated to %d\n", __func__,
-                          QLA83XX_IDC_VER_MAJ_VALUE);
+                          idc_ver);
        } else {
                idc_ver = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_DRV_IDC_VERSION);
                idc_ver &= 0xFF;