summaryrefslogtreecommitdiffstats
path: root/include/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2023-01-31 09:01:53 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2023-02-13 11:34:48 +0100
commit700d507805727635e8f57882a7f9641e8ca1eb19 (patch)
treea5b46355dfa8fcda8db9fa278bca00439bed865d /include/crypto
parentcrypto: aead - Use crypto_request_complete (diff)
downloadlinux-700d507805727635e8f57882a7f9641e8ca1eb19.tar.xz
linux-700d507805727635e8f57882a7f9641e8ca1eb19.zip
crypto: akcipher - 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/akcipher.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/crypto/internal/akcipher.h b/include/crypto/internal/akcipher.h
index aaf1092b93b8..a0fba4b2eccf 100644
--- a/include/crypto/internal/akcipher.h
+++ b/include/crypto/internal/akcipher.h
@@ -69,7 +69,7 @@ static inline void *akcipher_tfm_ctx_dma(struct crypto_akcipher *tfm)
static inline void akcipher_request_complete(struct akcipher_request *req,
int err)
{
- req->base.complete(&req->base, err);
+ crypto_request_complete(&req->base, err);
}
static inline const char *akcipher_alg_name(struct crypto_akcipher *tfm)