OpenCloudOS-Kernel/drivers/scsi/hisi_sas
Hannes Reinecke d9a00459ef scsi: hisi_sas: fix calls to dma_set_mask_and_coherent()
The change to use dma_set_mask_and_coherent() incorrectly made a second
call with the 32 bit DMA mask value when the call with the 64 bit DMA
mask value succeeded.

[mkp: fixed commit message]

Fixes: e4db40e7a1 ("scsi: hisi_sas: use dma_set_mask_and_coherent")
Cc: <stable@vger.kernel.org>
Suggested-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-02-25 21:44:40 -05:00
..
Kconfig scsi: hisi_sas: Remove depends on HAS_DMA in case of platform dependency 2018-03-21 18:34:21 -04:00
Makefile scsi: hisi_sas: add skeleton v3 hw driver 2017-06-19 21:31:25 -04:00
hisi_sas.h scsi: hisi_sas: Add support for DIF feature for v2 hw 2018-12-18 23:35:02 -05:00
hisi_sas_main.c scsi: hisi_sas: fix calls to dma_set_mask_and_coherent() 2019-02-25 21:44:40 -05:00
hisi_sas_v1_hw.c SCSI misc on 20181224 2018-12-28 14:48:06 -08:00
hisi_sas_v2_hw.c SCSI misc on 20181224 2018-12-28 14:48:06 -08:00
hisi_sas_v3_hw.c scsi: hisi_sas: fix calls to dma_set_mask_and_coherent() 2019-02-25 21:44:40 -05:00