Re: [PATCH] crypto: marvell: fix dma_free_coherent() size
From: Herbert Xu
Date: Fri Jan 16 2026 - 01:05:02 EST
On Thu, Dec 18, 2025 at 11:12:57AM +0100, Thomas Fourier wrote:
> 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: 10b4f09491bf ("crypto: marvell - add the Virtual Function driver for CPT")
> Signed-off-by: Thomas Fourier <fourier.thomas@xxxxxxxxx>
> ---
> drivers/crypto/marvell/octeontx/otx_cptvf_main.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt