mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 01:43:18 +00:00
The dma_unmap_sg() functions should be called with the same nents as the
dma_map_sg(), not the value the map function returned.
Fixes: 57d67c6e82 ("crypto: rockchip - rework by using crypto_engine")
Cc: <[email protected]>
Signed-off-by: Thomas Fourier <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>