On Mon, May 26, 2014 at 06:51:48PM +0200, Marek Vasut wrote: > 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@xxxxxxx> > Reported-by: Arnd Bergmann <arnd@xxxxxxxx> > Cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> > Cc: Pantelis Antoniou <panto@xxxxxxxxxxxxxxxxxxxxxxx> Patch applied. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html