linux/drivers/scsi/hisi_sas
Xiang Chen dc1e4730e2 scsi: hisi_sas: fix dma_unmap_sg() parameter
For function dma_unmap_sg(), the <nents> parameter should be number of
elements in the scatterlist prior to the mapping, not after the mapping.

Fix this usage.

Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-12-14 21:25:02 -05:00
..
hisi_sas_main.c scsi: hisi_sas: fix dma_unmap_sg() parameter 2017-12-14 21:25:02 -05:00
hisi_sas_v1_hw.c SCSI misc on 20171114 2017-11-14 16:23:44 -08:00
hisi_sas_v2_hw.c treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE casts 2017-11-21 16:35:54 -08:00
hisi_sas_v3_hw.c SCSI misc on 20171114 2017-11-14 16:23:44 -08:00
hisi_sas.h SCSI misc on 20171114 2017-11-14 16:23:44 -08:00
Kconfig scsi: hisi_sas: add skeleton v3 hw driver 2017-06-19 21:31:25 -04:00
Makefile scsi: hisi_sas: add skeleton v3 hw driver 2017-06-19 21:31:25 -04:00