scsi:hisi_sas: fix calls to dma_set_mask_and_coherent()
driver inclusion category: bugfix bugzilla: NA CVE: NA 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. This resulted in FC connections failing due to corrupted data buffers, and various other SCSI/FCP I/O errors. Fixes: e4db40e7 ("scsi: hisi_sas: use dma_set_mask_and_coherent") Cc: <stable@vger.kernel.org> Signed-off-by:chenxiang (M) <chenxiang66@hisilicon.com> Reviewed-by:
huangdaode <huangdaode@hisilicon.com> Reviewed-by:
Xie XiuQi <xiexiuqi@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Loading
Please sign in to comment