mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-01 10:45:49 +00:00
crypto: chelsio - 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
0c18d05463
commit
13c20754c6
@ -220,7 +220,7 @@ static inline int chcr_handle_aead_resp(struct aead_request *req,
|
||||
reqctx->verify = VERIFY_HW;
|
||||
}
|
||||
chcr_dec_wrcount(dev);
|
||||
req->base.complete(&req->base, err);
|
||||
aead_request_complete(req, err);
|
||||
|
||||
return err;
|
||||
}
|
||||
@ -1235,7 +1235,7 @@ static int chcr_handle_cipher_resp(struct skcipher_request *req,
|
||||
complete(&ctx->cbc_aes_aio_done);
|
||||
}
|
||||
chcr_dec_wrcount(dev);
|
||||
req->base.complete(&req->base, err);
|
||||
skcipher_request_complete(req, err);
|
||||
return err;
|
||||
}
|
||||
|
||||
@ -2132,7 +2132,7 @@ static inline void chcr_handle_ahash_resp(struct ahash_request *req,
|
||||
|
||||
out:
|
||||
chcr_dec_wrcount(dev);
|
||||
req->base.complete(&req->base, err);
|
||||
ahash_request_complete(req, err);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user