提交 ba354b2f 编写于 作者: H Herbert Xu

crypto: kpp - Use crypto_request_complete

Use the crypto_request_complete helper instead of calling the
completion function directly.
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 d9588045
...@@ -85,7 +85,7 @@ static inline void *kpp_tfm_ctx_dma(struct crypto_kpp *tfm) ...@@ -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) 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) static inline const char *kpp_alg_name(struct crypto_kpp *tfm)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册