mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 04:34:08 +08:00
crypto: kpp - Use crypto_request_complete
Use the crypto_request_complete helper instead of calling the completion function directly. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
d9588045f5
commit
ba354b2fdb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user