qla2xxx: Update entry type 270 to match spec update.
authorJoe Carnuccio <joe.carnuccio@qlogic.com>
Fri, 11 Apr 2014 20:54:23 +0000 (16:54 -0400)
committerChristoph Hellwig <hch@lst.de>
Mon, 19 May 2014 11:31:02 +0000 (13:31 +0200)
Increment the address by 4 on each iteration.

Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/qla2xxx/qla_tmpl.c

index 8dc98132a0766fa1919076959fb3a6be60b8bf97..f7d04d4915a0bedddc750dcee0faf548bcbf01bf 100644 (file)
@@ -613,7 +613,7 @@ qla27xx_fwdt_entry_t270(struct scsi_qla_host *vha,
                qla27xx_write_reg(reg, 0xc0, addr|0x80000000, buf);
                qla27xx_insert32(addr, buf, len);
                qla27xx_read_off(reg, 0xc4, buf, len);
-               addr++;
+               addr += sizeof(uint32_t);
        }
 
        return false;