Re: [PATCH] crypto: cavium: fix dma_free_coherent() size

From: Herbert Xu

Date: Fri Jan 16 2026 - 01:05:02 EST


On Thu, Dec 18, 2025 at 10:56:45AM +0100, Thomas Fourier wrote:
> 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: c694b233295b ("crypto: cavium - Add the Virtual Function driver for CPT")
> Signed-off-by: Thomas Fourier <fourier.thomas@xxxxxxxxx>
> ---
> drivers/crypto/cavium/cpt/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