mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
crypto: mv_cesa - use ablkcipher_request_cast instead of the manual container_of
Signed-off-by: Phil Sutter <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
de2954d664
commit
042e9e7356
1 changed files with 1 additions and 3 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Reference in a new issue