Commit d80bcdf2 authored by Herbert Xu's avatar Herbert Xu

crypto: octeontx - Use request_complete helpers

Use the request_complete helpers instead of calling the completion
function directly.
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 25e3159c
...@@ -138,7 +138,7 @@ static void otx_cpt_aead_callback(int status, void *arg1, void *arg2) ...@@ -138,7 +138,7 @@ static void otx_cpt_aead_callback(int status, void *arg1, void *arg2)
complete: complete:
if (areq) if (areq)
areq->complete(areq, status); crypto_request_complete(areq, status);
} }
static void output_iv_copyback(struct crypto_async_request *areq) 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) ...@@ -188,7 +188,7 @@ static void otx_cpt_skcipher_callback(int status, void *arg1, void *arg2)
pdev = cpt_info->pdev; pdev = cpt_info->pdev;
do_request_cleanup(pdev, cpt_info); do_request_cleanup(pdev, cpt_info);
} }
areq->complete(areq, status); crypto_request_complete(areq, status);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment