mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
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: Marek Vasut <[email protected]> Reported-by: Arnd Bergmann <[email protected]> Cc: Pantelis Antoniou <[email protected]> Signed-off-by: Herbert Xu <[email protected]>