crypto: acompress - 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> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
256f9e53ae
commit
4cc01c7f3d
@ -28,7 +28,7 @@ static inline void *acomp_tfm_ctx(struct crypto_acomp *tfm)
|
||||
static inline void acomp_request_complete(struct acomp_req *req,
|
||||
int err)
|
||||
{
|
||||
req->base.complete(&req->base, err);
|
||||
crypto_request_complete(&req->base, err);
|
||||
}
|
||||
|
||||
static inline const char *acomp_alg_name(struct crypto_acomp *tfm)
|
||||
|
Loading…
x
Reference in New Issue
Block a user