projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e94c1c9
)
crypto: sahara - Use request_complete helpers
author
Herbert Xu
<herbert@gondor.apana.org.au>
Tue, 31 Jan 2023 08:02:48 +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/sahara.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/sahara.c
b/drivers/crypto/sahara.c
index 7ab20fb95166e73da4c3dbaac2fad3d5949becbb..dd4c703cd85592528c6f73df10f6da6d93b8ef85 100644
(file)
--- 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;
}