qla2xxx: Correction to ISP27xx template entry types 256 and 258.
authorJoe Carnuccio <joe.carnuccio@qlogic.com>
Fri, 11 Apr 2014 20:54:18 +0000 (16:54 -0400)
committerChristoph Hellwig <hch@lst.de>
Mon, 19 May 2014 11:31:01 +0000 (13:31 +0200)
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>
drivers/scsi/qla2xxx/qla_tmpl.c

index 2909804b62e3fb3436df52dfad06133431f4bd8c..84694052adcc2f9b08f47a7c0dcfeca3639beaff 100644 (file)
@@ -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++;
        }
 }