linux/drivers/crypto/marvell
Thomas Fourier ce2e7e471d crypto: octeontx - fix dma_free_coherent() size
[ Upstream commit 624a6760bf ]

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

Fixes: 10b4f09491 ("crypto: marvell - 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
..
cesa crypto: marvell/cesa - Fix engine load inaccuracy 2025-08-15 12:13:49 +02:00
octeontx crypto: octeontx - fix dma_free_coherent() size 2026-03-04 07:19:33 -05:00
octeontx2 crypto: octeontx2 - Call strscpy() with correct size argument 2025-10-15 12:00:06 +02:00
Kconfig crypto: octeontx* - Select CRYPTO_AUTHENC 2024-09-06 14:50:46 +08:00
Makefile crypto: marvell - add Marvell OcteonTX2 CPT PF driver 2021-01-22 14:58:02 +11:00