mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
crypto: octeontx - Use request_complete helpers
Use the request_complete helpers instead of calling the completion function directly. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
25e3159c79
commit
d80bcdf297
@ -138,7 +138,7 @@ static void otx_cpt_aead_callback(int status, void *arg1, void *arg2)
|
||||
|
||||
complete:
|
||||
if (areq)
|
||||
areq->complete(areq, status);
|
||||
crypto_request_complete(areq, status);
|
||||
}
|
||||
|
||||
static void output_iv_copyback(struct crypto_async_request *areq)
|
||||
@ -188,7 +188,7 @@ static void otx_cpt_skcipher_callback(int status, void *arg1, void *arg2)
|
||||
pdev = cpt_info->pdev;
|
||||
do_request_cleanup(pdev, cpt_info);
|
||||
}
|
||||
areq->complete(areq, status);
|
||||
crypto_request_complete(areq, status);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user