]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: smartpqi: raid bypass lba calculation fix
authorkevin Barnett <kevin.barnett@microsemi.com>
Fri, 16 Sep 2016 20:01:51 +0000 (15:01 -0500)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 20 Jan 2017 05:35:04 +0000 (21:35 -0800)
commitbf624d7a82d44ba24e44a22a07ba5c4f74589279
tree6285741b460eb69a1d136e04dc9a87180b753cd1
parent3a7c463bcc4ddd040a9d04bac8e05a61257ac43d
scsi: smartpqi: raid bypass lba calculation fix

Orabug: 25144431

In the ioaccel path, the calculation of the starting LBA for
READ(6)/WRITE(6) SCSI commands does not take into account the most
significant 5 bits of the LBA: it only uses the least significant 16
bits of the starting LBA.

Reported-by: Mahesh Rajashekhara <mahesh.rajashekhara@microsemi.com>
Signed-off-by: Kevin Barnett <kevin.barnett@microsemi.com>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit e018ef572ba4ff17caa9e82d5e1b5cea0d76f903)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/scsi/smartpqi/smartpqi_init.c