summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2023-01-31 09:02:44 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2023-02-13 11:35:14 +0100
commit0cbe89d5d17393f4ef3d5c25af8bc730fd507cf5 (patch)
tree639871ad05c7d2501c7832d32efe4457aa6487ee
parentcrypto: qat - Use request_complete helpers (diff)
downloadlinux-0cbe89d5d17393f4ef3d5c25af8bc730fd507cf5.tar.xz
linux-0cbe89d5d17393f4ef3d5c25af8bc730fd507cf5.zip
crypto: qce - 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>
-rw-r--r--drivers/crypto/qce/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/qce/core.c b/drivers/crypto/qce/core.c
index d3780be44a76..74deca4f96e0 100644
--- a/drivers/crypto/qce/core.c
+++ b/drivers/crypto/qce/core.c
@@ -107,7 +107,7 @@ static int qce_handle_queue(struct qce_device *qce,
if (backlog) {
spin_lock_bh(&qce->lock);
- backlog->complete(backlog, -EINPROGRESS);
+ crypto_request_complete(backlog, -EINPROGRESS);
spin_unlock_bh(&qce->lock);
}
@@ -132,7 +132,7 @@ static void qce_tasklet_req_done(unsigned long data)
spin_unlock_irqrestore(&qce->lock, flags);
if (req)
- req->complete(req, qce->result);
+ crypto_request_complete(req, qce->result);
qce_handle_queue(qce, NULL);
}