Commit 372e6b80 authored by Herbert Xu's avatar Herbert Xu

crypto: aead - Use crypto_request_complete

Use the crypto_request_complete helper instead of calling the
completion function directly.
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 4cc01c7f
...@@ -82,7 +82,7 @@ static inline void *aead_request_ctx_dma(struct aead_request *req) ...@@ -82,7 +82,7 @@ static inline void *aead_request_ctx_dma(struct aead_request *req)
static inline void aead_request_complete(struct aead_request *req, int err) static inline void aead_request_complete(struct aead_request *req, int err)
{ {
req->base.complete(&req->base, err); crypto_request_complete(&req->base, err);
} }
static inline u32 aead_request_flags(struct aead_request *req) static inline u32 aead_request_flags(struct aead_request *req)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment