diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-01-31 16:02:33 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-02-13 18:34:49 +0800 |
commit | 25e3159c79fc1c35ed6bea076d151786e198cf64 (patch) | |
tree | 9fbb74f32be116a68569379ea5bdb377c21cc973 /drivers/crypto/marvell | |
parent | 0d07ae6ae9cb902214c925778d748af805a0c7f0 (diff) | |
download | linux-25e3159c79fc1c35ed6bea076d151786e198cf64.tar.gz linux-25e3159c79fc1c35ed6bea076d151786e198cf64.tar.bz2 linux-25e3159c79fc1c35ed6bea076d151786e198cf64.zip |
crypto: marvell/cesa - 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>
Diffstat (limited to 'drivers/crypto/marvell')
-rw-r--r-- | drivers/crypto/marvell/cesa/cesa.c | 4 | ||||
-rw-r--r-- | drivers/crypto/marvell/cesa/tdma.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/crypto/marvell/cesa/cesa.c b/drivers/crypto/marvell/cesa/cesa.c index 5cd332880653..b61e35b932e5 100644 --- a/drivers/crypto/marvell/cesa/cesa.c +++ b/drivers/crypto/marvell/cesa/cesa.c @@ -66,7 +66,7 @@ static void mv_cesa_rearm_engine(struct mv_cesa_engine *engine) return; if (backlog) - backlog->complete(backlog, -EINPROGRESS); + crypto_request_complete(backlog, -EINPROGRESS); ctx = crypto_tfm_ctx(req->tfm); ctx->ops->step(req); @@ -106,7 +106,7 @@ mv_cesa_complete_req(struct mv_cesa_ctx *ctx, struct crypto_async_request *req, { ctx->ops->cleanup(req); local_bh_disable(); - req->complete(req, res); + crypto_request_complete(req, res); local_bh_enable(); } diff --git a/drivers/crypto/marvell/cesa/tdma.c b/drivers/crypto/marvell/cesa/tdma.c index f0b5537038c2..388a06e180d6 100644 --- a/drivers/crypto/marvell/cesa/tdma.c +++ b/drivers/crypto/marvell/cesa/tdma.c @@ -168,7 +168,7 @@ int mv_cesa_tdma_process(struct mv_cesa_engine *engine, u32 status) req); if (backlog) - backlog->complete(backlog, -EINPROGRESS); + crypto_request_complete(backlog, -EINPROGRESS); } if (res || tdma->cur_dma == tdma_cur) |