Signed-off-by: Phil Sutter <[email protected]>
---
 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 c99305a..c443246 100644
--- a/drivers/crypto/mv_cesa.c
+++ b/drivers/crypto/mv_cesa.c
@@ -603,9 +603,7 @@ static int queue_manag(void *data)
                        if (async_req->tfm->__crt_alg->cra_type !=
                            &crypto_ahash_type) {
                                struct ablkcipher_request *req =
-                                   container_of(async_req,
-                                                struct ablkcipher_request,
-                                                base);
+                                   ablkcipher_request_cast(async_req);
                                mv_start_new_crypt_req(req);
                        } else {
                                struct ahash_request *req =
-- 
1.7.4.1


--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to