summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Carnuccio <joe.carnuccio@qlogic.com>2014-04-11 16:54:23 -0400
committerChristoph Hellwig <hch@lst.de>2014-05-19 13:31:02 +0200
commitfbce4f4910137ccc7f7d3f9cf3d3bc2a04bb39d4 (patch)
tree02fd495c4a243e11a1f48f101de66cc7a0c85c7f
parentcf3af76b18d8aecfe0fac678ac0fe2eb2d22a135 (diff)
qla2xxx: Update entry type 270 to match spec update.
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>
-rw-r--r--drivers/scsi/qla2xxx/qla_tmpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_tmpl.c b/drivers/scsi/qla2xxx/qla_tmpl.c
index 8dc98132a07..f7d04d4915a 100644
--- a/drivers/scsi/qla2xxx/qla_tmpl.c
+++ b/drivers/scsi/qla2xxx/qla_tmpl.c
@@ -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;