From: Joe Carnuccio Date: Fri, 11 Apr 2014 20:54:18 +0000 (-0400) Subject: qla2xxx: Correction to ISP27xx template entry types 256 and 258. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7095388f7eb2ff9fcd2ca17248a73de555f4d09b;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Signed-off-by: Saurav Kashyap Signed-off-by: Christoph Hellwig --- 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++; } }