diff options
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/mv_cesa.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/crypto/mv_cesa.c b/drivers/crypto/mv_cesa.c index c99305afa58a..c443246ca4b1 100644 --- a/drivers/crypto/mv_cesa.c +++ b/drivers/crypto/mv_cesa.c | |||
@@ -603,9 +603,7 @@ static int queue_manag(void *data) | |||
603 | if (async_req->tfm->__crt_alg->cra_type != | 603 | if (async_req->tfm->__crt_alg->cra_type != |
604 | &crypto_ahash_type) { | 604 | &crypto_ahash_type) { |
605 | struct ablkcipher_request *req = | 605 | struct ablkcipher_request *req = |
606 | container_of(async_req, | 606 | ablkcipher_request_cast(async_req); |
607 | struct ablkcipher_request, | ||
608 | base); | ||
609 | mv_start_new_crypt_req(req); | 607 | mv_start_new_crypt_req(req); |
610 | } else { | 608 | } else { |
611 | struct ahash_request *req = | 609 | struct ahash_request *req = |