Re: [PATCH] crypto: acomp - fix dst-folio branch setting src instead of dst in acomp_virt_to_sg

From: Herbert Xu

Date: Thu May 07 2026 - 22:36:38 EST


On Thu, May 07, 2026 at 06:37:48PM -0500, Aaron Esau wrote:
>
> diff --git a/crypto/acompress.c b/crypto/acompress.c
> index f7a3fbe54..5a8b0cf3a 100644
> --- a/crypto/acompress.c
> +++ b/crypto/acompress.c
> @@ -237,7 +237,7 @@ static void acomp_virt_to_sg(struct acomp_req *req)
> sg_init_table(&state->dsg, 1);
> sg_set_page(&state->dsg, folio_page(folio, off / PAGE_SIZE),
> dlen, off % PAGE_SIZE);
> - acomp_request_set_src_sg(req, &state->dsg, dlen);
> + acomp_request_set_dst_sg(req, &state->dsg, dlen);
> }
> }

This patch doesn't apply against mainline. In fact the code
that you're referencing does not exist on mainline.

Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt