Skip to content

Commit 25e3159

Browse files
committed
crypto: marvell/cesa - Use request_complete helpers
Use the request_complete helpers instead of calling the completion function directly. Signed-off-by: Herbert Xu <[email protected]>
1 parent 0d07ae6 commit 25e3159

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

drivers/crypto/marvell/cesa/cesa.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static void mv_cesa_rearm_engine(struct mv_cesa_engine *engine)
6666
return;
6767

6868
if (backlog)
69-
backlog->complete(backlog, -EINPROGRESS);
69+
crypto_request_complete(backlog, -EINPROGRESS);
7070

7171
ctx = crypto_tfm_ctx(req->tfm);
7272
ctx->ops->step(req);
@@ -106,7 +106,7 @@ mv_cesa_complete_req(struct mv_cesa_ctx *ctx, struct crypto_async_request *req,
106106
{
107107
ctx->ops->cleanup(req);
108108
local_bh_disable();
109-
req->complete(req, res);
109+
crypto_request_complete(req, res);
110110
local_bh_enable();
111111
}
112112

drivers/crypto/marvell/cesa/tdma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ int mv_cesa_tdma_process(struct mv_cesa_engine *engine, u32 status)
168168
req);
169169

170170
if (backlog)
171-
backlog->complete(backlog, -EINPROGRESS);
171+
crypto_request_complete(backlog, -EINPROGRESS);
172172
}
173173

174174
if (res || tdma->cur_dma == tdma_cur)

0 commit comments

Comments
 (0)