commit | dc1e4730e2b636065628f8427b675788bca83d34 | [log] [tgz] |
---|---|---|
author | Xiang Chen <chenxiang66@hisilicon.com> | Sat Dec 09 01:16:33 2017 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Thu Dec 14 21:25:02 2017 -0500 |
tree | 027aba210c26cacd5b954d4baff0ea13fa347c09 | |
parent | 39bade0c9fb11e04945a5749e01e65a376e4eb02 [diff] |
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>