linux/drivers/crypto/cavium
Thomas Fourier 2bdeabe2b6 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-02-26 14:59:02 -08:00
..
cpt crypto: cavium - fix dma_free_coherent() size 2026-02-26 14:59:02 -08:00
nitrox crypto: drivers - Correct multiple typos in comments 2024-10-05 13:22:05 +08:00
Makefile crypto: cavium/zip - Remove driver 2025-04-07 13:22:25 +08:00