commit | d656c180de4d3eacd610c414fbcfe2509cf64a99 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Mon May 26 18:51:48 2014 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Jun 20 21:26:05 2014 +0800 |
tree | 1d81e9039df71035030007149c2e157ac0572194 | |
parent | bb55a4c100abbb8d2a41e732f6362c575a7094e6 [diff] |
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: Marek Vasut <marex@denx.de> Reported-by: Arnd Bergmann <arnd@arndb.de> Cc: Pantelis Antoniou <panto@antoniou-consulting.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>