Skip to content
Commit d656c180 authored by Marek Vasut's avatar Marek Vasut Committed by Herbert Xu
Browse files

crypto: skcipher - Don't use __crypto_dequeue_request()



Use skcipher_givcrypt_cast(crypto_dequeue_request(queue)) instead, which
does the same thing in much cleaner way. The skcipher_givcrypt_cast()
actually uses container_of() instead of messing around with offsetof()
too.

Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Reported-by: default avatarArnd Bergmann <arnd@arndb.de>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent bb55a4c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment