From: Herbert Xu Date: Tue, 31 Jan 2023 08:01:58 +0000 (+0800) Subject: crypto: kpp - Use crypto_request_complete X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ba354b2fdb1068495ffeabc9f48b799407300f92;p=linux.git crypto: kpp - Use crypto_request_complete Use the crypto_request_complete helper instead of calling the completion function directly. Signed-off-by: Herbert Xu --- diff --git a/include/crypto/internal/kpp.h b/include/crypto/internal/kpp.h index 3c9726e89f537..0a6db8c4a9a0f 100644 --- a/include/crypto/internal/kpp.h +++ b/include/crypto/internal/kpp.h @@ -85,7 +85,7 @@ static inline void *kpp_tfm_ctx_dma(struct crypto_kpp *tfm) static inline void kpp_request_complete(struct kpp_request *req, int err) { - req->base.complete(&req->base, err); + crypto_request_complete(&req->base, err); } static inline const char *kpp_alg_name(struct crypto_kpp *tfm)