summaryrefslogtreecommitdiff
path: root/include/linux/mdev.h
diff options
context:
space:
mode:
authorThomas Fourier <fourier.thomas@gmail.com>2025-06-20 10:29:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-08-15 13:05:02 +0300
commitd94de7bade8ba3117afe81bbaac2155f5beb0907 (patch)
tree3e6636abcb50a0c5487c808affe6933e9e37142b /include/linux/mdev.h
parent7cf6bccb4dee32488e40ddc644814ded5418fabc (diff)
downloadlinux-d94de7bade8ba3117afe81bbaac2155f5beb0907.tar.xz
crypto: inside-secure - Fix `dma_unmap_sg()` nents value
[ Upstream commit cb7fa6b6fc71e0c801e271aa498e2f19e6df2931 ] 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: c957f8b3e2e5 ("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/mdev.h')
0 files changed, 0 insertions, 0 deletions