From: Herbert Xu Date: Tue, 31 Jan 2023 08:01:49 +0000 (+0800) Subject: crypto: acompress - Use crypto_request_complete X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4cc01c7f3df10a4f7aa11266e8406f7e16898769;p=linux.git crypto: acompress - Use crypto_request_complete Use the crypto_request_complete helper instead of calling the completion function directly. Signed-off-by: Herbert Xu Reviewed-by: Giovanni Cabiddu Signed-off-by: Herbert Xu --- diff --git a/include/crypto/internal/acompress.h b/include/crypto/internal/acompress.h index 49339003bd2ce..978b57a3f4f0e 100644 --- a/include/crypto/internal/acompress.h +++ b/include/crypto/internal/acompress.h @@ -28,7 +28,7 @@ static inline void *acomp_tfm_ctx(struct crypto_acomp *tfm) static inline void acomp_request_complete(struct acomp_req *req, int err) { - req->base.complete(&req->base, err); + crypto_request_complete(&req->base, err); } static inline const char *acomp_alg_name(struct crypto_acomp *tfm)