diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-01-31 16:02:17 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-02-13 18:34:49 +0800 |
commit | ea2fbe3b1a317498d2c66d6b97bc281db1a18b45 (patch) | |
tree | b475f333f3df868ffa6f8947fd18ae8a7caa4cb2 /drivers/crypto/cavium | |
parent | b34a6416728812b5ca283598100516852646a133 (diff) | |
download | linux-ea2fbe3b1a317498d2c66d6b97bc281db1a18b45.tar.gz linux-ea2fbe3b1a317498d2c66d6b97bc281db1a18b45.tar.bz2 linux-ea2fbe3b1a317498d2c66d6b97bc281db1a18b45.zip |
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>
Diffstat (limited to 'drivers/crypto/cavium')
-rw-r--r-- | drivers/crypto/cavium/nitrox/nitrox_aead.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/cavium/nitrox/nitrox_aead.c b/drivers/crypto/cavium/nitrox/nitrox_aead.c index 0653484df23f..b0e53034164a 100644 --- a/drivers/crypto/cavium/nitrox/nitrox_aead.c +++ b/drivers/crypto/cavium/nitrox/nitrox_aead.c @@ -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) |