diff options
| author | Xiang Chen <chenxiang66@hisilicon.com> | 2017-12-09 01:16:33 +0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-12-14 21:25:02 -0500 |
| commit | dc1e4730e2b636065628f8427b675788bca83d34 (patch) | |
| tree | 027aba210c26cacd5b954d4baff0ea13fa347c09 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 39bade0c9fb11e04945a5749e01e65a376e4eb02 (diff) | |
| download | linux-dc1e4730e2b636065628f8427b675788bca83d34.tar.gz linux-dc1e4730e2b636065628f8427b675788bca83d34.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
