crypto: nitrox - Use request_complete helpers
Use the request_complete helpers instead of calling the completion function directly. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
b34a641672
commit
ea2fbe3b1a
|
@ -199,7 +199,7 @@ static void nitrox_aead_callback(void *arg, int err)
|
|||
err = -EINVAL;
|
||||
}
|
||||
|
||||
areq->base.complete(&areq->base, err);
|
||||
aead_request_complete(areq, err);
|
||||
}
|
||||
|
||||
static inline bool nitrox_aes_gcm_assoclen_supported(unsigned int assoclen)
|
||||
|
@ -434,7 +434,7 @@ static void nitrox_rfc4106_callback(void *arg, int err)
|
|||
err = -EINVAL;
|
||||
}
|
||||
|
||||
areq->base.complete(&areq->base, err);
|
||||
aead_request_complete(areq, err);
|
||||
}
|
||||
|
||||
static int nitrox_rfc4106_enc(struct aead_request *areq)
|
||||
|
|
Loading…
Reference in New Issue