summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Carnuccio <joe.carnuccio@qlogic.com>2014-04-11 16:54:18 -0400
committerChristoph Hellwig <hch@lst.de>2014-05-19 13:31:01 +0200
commit7095388f7eb2ff9fcd2ca17248a73de555f4d09b (patch)
tree293620ae0c2c659b972c0bde70011f7c6d56e4cf
parente8887c51f01911f3063e65c229e1f3be102031ba (diff)
downloadblackbird-op-linux-7095388f7eb2ff9fcd2ca17248a73de555f4d09b.tar.gz
blackbird-op-linux-7095388f7eb2ff9fcd2ca17248a73de555f4d09b.zip
qla2xxx: Correction to ISP27xx template entry types 256 and 258.
The window address inserted into the dump should be have been incremented by 1 rather than 4. 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 2909804b62e3..84694052adcc 100644
--- a/drivers/scsi/qla2xxx/qla_tmpl.c
+++ b/drivers/scsi/qla2xxx/qla_tmpl.c
@@ -249,7 +249,7 @@ qla27xx_read_window(__iomem struct device_reg_24xx *reg,
qla27xx_insert32(base, buf, len);
readn(window, buf, len);
window += width;
- base += width;
+ base++;
}
}
OpenPOWER on IntegriCloud