mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
crypto: akcipher - 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:
@@ -69,7 +69,7 @@ static inline void *akcipher_tfm_ctx_dma(struct crypto_akcipher *tfm)
|
|||||||
static inline void akcipher_request_complete(struct akcipher_request *req,
|
static inline void akcipher_request_complete(struct akcipher_request *req,
|
||||||
int err)
|
int err)
|
||||||
{
|
{
|
||||||
req->base.complete(&req->base, err);
|
crypto_request_complete(&req->base, err);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline const char *akcipher_alg_name(struct crypto_akcipher *tfm)
|
static inline const char *akcipher_alg_name(struct crypto_akcipher *tfm)
|
||||||
|
|||||||
Reference in New Issue
Block a user