diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-01-31 16:02:48 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-02-13 18:35:14 +0800 |
commit | 555c5661317e9c3090b9d181106d8bc31dd8e29a (patch) | |
tree | 10848f76b2863dddd7fa29206915998367eccaa0 /drivers/crypto | |
parent | e94c1c9b43bcb6a6f094b36fcee0bdf6d0712cd5 (diff) | |
download | lwn-555c5661317e9c3090b9d181106d8bc31dd8e29a.tar.gz lwn-555c5661317e9c3090b9d181106d8bc31dd8e29a.zip |
crypto: sahara - 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')
-rw-r--r-- | drivers/crypto/sahara.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/sahara.c b/drivers/crypto/sahara.c index 7ab20fb95166..dd4c703cd855 100644 --- a/drivers/crypto/sahara.c +++ b/drivers/crypto/sahara.c @@ -1049,7 +1049,7 @@ static int sahara_queue_manage(void *data) spin_unlock_bh(&dev->queue_spinlock); if (backlog) - backlog->complete(backlog, -EINPROGRESS); + crypto_request_complete(backlog, -EINPROGRESS); if (async_req) { if (crypto_tfm_alg_type(async_req->tfm) == @@ -1065,7 +1065,7 @@ static int sahara_queue_manage(void *data) ret = sahara_aes_process(req); } - async_req->complete(async_req, ret); + crypto_request_complete(async_req, ret); continue; } |