summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2025-02-27 18:14:57 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2025-03-08 16:23:22 +0800
commit8f3332eecdd420c4cfc8861c7b63508cac07e227 (patch)
tree354a25df90f802dbd4a7f42db4b8273545e3e1df /crypto
parentfc4bd01d9ff592f620c499686245c093440db0e8 (diff)
crypto: acomp - Remove acomp request flags
The acomp request flags field duplicates the base request flags and is confusing. Remove it. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/acompress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/acompress.c b/crypto/acompress.c
index 6fdf0ff9f3c0..30176316140a 100644
--- a/crypto/acompress.c
+++ b/crypto/acompress.c
@@ -144,7 +144,7 @@ void acomp_request_free(struct acomp_req *req)
if (tfm->__crt_alg->cra_type != &crypto_acomp_type)
crypto_acomp_scomp_free_ctx(req);
- if (req->flags & CRYPTO_ACOMP_ALLOC_OUTPUT) {
+ if (req->base.flags & CRYPTO_ACOMP_ALLOC_OUTPUT) {
acomp->dst_free(req->dst);
req->dst = NULL;
}