projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c62186
)
crypto: qce - Use request_complete helpers
author
Herbert Xu
<herbert@gondor.apana.org.au>
Tue, 31 Jan 2023 08:02:44 +0000
(16:02 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Mon, 13 Feb 2023 10:35:14 +0000
(18:35 +0800)
Use the request_complete helpers instead of calling the completion
function directly.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qce/core.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/qce/core.c
b/drivers/crypto/qce/core.c
index d3780be44a763c5eaac1a7d2f0ca143a0005b927..74deca4f96e06d9085adc6592630ef157cb7736f 100644
(file)
--- 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);
}