From: Marek Vasut Date: Mon, 26 May 2014 16:51:48 +0000 (+0200) Subject: crypto: skcipher - Don't use __crypto_dequeue_request() X-Git-Tag: cleanup-for-v3.18~153^2~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d656c180de4d3eacd610c414fbcfe2509cf64a99;p=pandora-kernel.git 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 Reported-by: Arnd Bergmann Cc: Pantelis Antoniou Signed-off-by: Herbert Xu --- Reading git-diff-tree failed