Skip to content

Commit 555c566

Browse files
committed
crypto: sahara - 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 e94c1c9 commit 555c566

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/crypto/sahara.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ static int sahara_queue_manage(void *data)
10491049
spin_unlock_bh(&dev->queue_spinlock);
10501050

10511051
if (backlog)
1052-
backlog->complete(backlog, -EINPROGRESS);
1052+
crypto_request_complete(backlog, -EINPROGRESS);
10531053

10541054
if (async_req) {
10551055
if (crypto_tfm_alg_type(async_req->tfm) ==
@@ -1065,7 +1065,7 @@ static int sahara_queue_manage(void *data)
10651065
ret = sahara_aes_process(req);
10661066
}
10671067

1068-
async_req->complete(async_req, ret);
1068+
crypto_request_complete(async_req, ret);
10691069

10701070
continue;
10711071
}

0 commit comments

Comments
 (0)