summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorXiang Chen <chenxiang66@hisilicon.com>2021-03-16 04:55:26 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2021-03-26 12:02:34 +0300
commit884b93c510250269fbf73d8333eb69f214c42c0b (patch)
tree24d985335c36db7678b7f73546ed989192ee2318 /drivers/char
parentade18fb4dfae66b93dfdcae93d6df8e59e569c83 (diff)
downloadlinux-884b93c510250269fbf73d8333eb69f214c42c0b.tar.xz
crypto: allwinner - Fix the parameter of dma_unmap_sg()
For function dma_unmap_sg(), the <nents> parameter should be number of elements in the scatterlist prior to the mapping, not after the mapping. So fix this usage. Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com> Acked-by: Corentin LABBE <clabbe.montjoie@gmail.com> Tested-by: Corentin LABBE <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions