projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
555c566
)
crypto: talitos - Use request_complete helpers
author
Herbert Xu
<herbert@gondor.apana.org.au>
Tue, 31 Jan 2023 08:02:50 +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/talitos.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/talitos.c
b/drivers/crypto/talitos.c
index d62ec68e3183e4df156d60e6f398febaff8bb0ef..bb27f011cf31ee0b1d8598abf595c42b3fd9105c 100644
(file)
--- a/
drivers/crypto/talitos.c
+++ b/
drivers/crypto/talitos.c
@@
-1560,7
+1560,7
@@
static void skcipher_done(struct device *dev,
kfree(edesc);
-
areq->base.complete(&areq->base
, err);
+
skcipher_request_complete(areq
, err);
}
static int common_nonsnoop(struct talitos_edesc *edesc,
@@
-1759,7
+1759,7
@@
static void ahash_done(struct device *dev,
kfree(edesc);
- a
req->base.complete(&areq->base
, err);
+ a
hash_request_complete(areq
, err);
}
/*