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

crypto: skcipher - 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>
上级 ba354b2f
...@@ -94,7 +94,7 @@ static inline void *skcipher_instance_ctx(struct skcipher_instance *inst) ...@@ -94,7 +94,7 @@ static inline void *skcipher_instance_ctx(struct skcipher_instance *inst)
static inline void skcipher_request_complete(struct skcipher_request *req, int err) static inline void skcipher_request_complete(struct skcipher_request *req, int err)
{ {
req->base.complete(&req->base, err); crypto_request_complete(&req->base, err);
} }
int crypto_grab_skcipher(struct crypto_skcipher_spawn *spawn, int crypto_grab_skcipher(struct crypto_skcipher_spawn *spawn,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册