summaryrefslogtreecommitdiffstats
path: root/include/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2023-01-31 09:02:00 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2023-02-13 11:34:49 +0100
commitd5770679ad5abc8d62dc5aff7b3f888dfe8a05fa (patch)
tree24b575e3985035f83e7c4daa965961baac0d2855 /include/crypto
parentcrypto: kpp - Use crypto_request_complete (diff)
downloadlinux-d5770679ad5abc8d62dc5aff7b3f888dfe8a05fa.tar.xz
linux-d5770679ad5abc8d62dc5aff7b3f888dfe8a05fa.zip
crypto: skcipher - Use crypto_request_complete
Use the crypto_request_complete helper instead of calling the completion function directly. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
-rw-r--r--include/crypto/internal/skcipher.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/crypto/internal/skcipher.h b/include/crypto/internal/skcipher.h
index 06d0a5491cf3..fb3d9e899f52 100644
--- a/include/crypto/internal/skcipher.h
+++ b/include/crypto/internal/skcipher.h
@@ -94,7 +94,7 @@ static inline void *skcipher_instance_ctx(struct skcipher_instance *inst)
static inline void skcipher_request_complete(struct skcipher_request *req, int err)
{
- req->base.complete(&req->base, err);
+ crypto_request_complete(&req->base, err);
}
int crypto_grab_skcipher(struct crypto_skcipher_spawn *spawn,