linux/drivers/scsi/smartpqi
Kevin Barnett 9e98e60bfc scsi: smartpqi: Fix a typo in func pqi_aio_submit_io()
Use correct pqi_aio_path_request structure to calculate the offset to
sg_descriptors.

The function pqi_aio_submit_io() uses the pqi_raid_path_request structure
to calculate the offset of the structure member sg_descriptors.  This is
incorrect.  It should be using the pqi_aio_path_request structure instead.

This typo is benign because the offsets are the same in both structures.

Link: https://lore.kernel.org/r/164375210321.440833.2566086558909686629.stgit@brunhilda.pdev.net
Reviewed-by: Mike McGowen <mike.mcgowen@microchip.com>
Reviewed-by: Scott Teel <scott.teel@microchip.com>
Signed-off-by: Kevin Barnett <kevin.barnett@microchip.com>
Signed-off-by: Don Brace <don.brace@microchip.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-02-07 23:38:34 -05:00
..
Kconfig scsi: smartpqi: Change Kconfig menu entry to Microchip 2021-07-19 22:00:56 -04:00
Makefile scsi: smartpqi: add spdx 2019-03-18 16:48:28 -04:00
smartpqi_init.c scsi: smartpqi: Fix a typo in func pqi_aio_submit_io() 2022-02-07 23:38:34 -05:00
smartpqi_sas_transport.c scsi: smartpqi: Add extended report physical LUNs 2021-10-05 00:13:15 -04:00
smartpqi_sis.c scsi: smartpqi: Capture controller reason codes 2021-10-05 00:13:14 -04:00
smartpqi_sis.h scsi: smartpqi: Capture controller reason codes 2021-10-05 00:13:14 -04:00
smartpqi.h scsi: smartpqi: Enable SATA NCQ priority in sysfs 2022-02-07 23:38:34 -05:00