From: Herbert Xu Date: Tue, 31 Jan 2023 08:01:53 +0000 (+0800) Subject: crypto: akcipher - Use crypto_request_complete X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=700d507805727635e8f57882a7f9641e8ca1eb19;p=users%2Fjedix%2Flinux-maple.git crypto: akcipher - 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/akcipher.h b/include/crypto/internal/akcipher.h index aaf1092b93b8..a0fba4b2eccf 100644 --- a/include/crypto/internal/akcipher.h +++ b/include/crypto/internal/akcipher.h @@ -69,7 +69,7 @@ static inline void *akcipher_tfm_ctx_dma(struct crypto_akcipher *tfm) static inline void akcipher_request_complete(struct akcipher_request *req, int err) { - req->base.complete(&req->base, err); + crypto_request_complete(&req->base, err); } static inline const char *akcipher_alg_name(struct crypto_akcipher *tfm)