crypto: inside-secure - Fix `dma_unmap_sg()` nents value
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: c957f8b3 ("crypto: inside-secure - avoid unmapping DMA memory that was not mapped") Signed-off-by:Thomas Fourier <fourier.thomas@gmail.com> Reviewed-by:
Antoine Tenart <atenart@kernel.org> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au>
Loading
Please sign in to comment