crypto: aead - 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>
This commit is contained in:
Herbert Xu 2023-01-31 16:01:51 +08:00
parent 4cc01c7f3d
commit 372e6b80ba

View File

@ -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)
{
req->base.complete(&req->base, err);
crypto_request_complete(&req->base, err);
}
static inline u32 aead_request_flags(struct aead_request *req)