linux/drivers/crypto/cavium
Thomas Fourier dc8af9baf7 crypto: cavium - fix dma_free_coherent() size
[ Upstream commit 941676c30b ]

The size of the buffer in alloc_command_queues() is
curr->size + CPT_NEXT_CHUNK_PTR_SIZE, so used that length for
dma_free_coherent().

Fixes: c694b23329 ("crypto: cavium - Add the Virtual Function driver for CPT")
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2026-03-04 07:19:33 -05:00
..
cpt crypto: cavium - fix dma_free_coherent() size 2026-03-04 07:19:33 -05:00
nitrox crypto: nitrox - Remove cfb 2023-12-08 11:59:46 +08:00
zip crypto: zip - remove the unneeded result variable 2022-09-30 13:57:50 +08:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00