On Thu, Jul 16, 2009 at 03:29:26PM +0530, Sachin Sant wrote: > Today's next tree fails to build on s390 with following errors. > > arch/s390/crypto/sha1_s390.c:67: error: 'struct sha1_state' has no member named 'buf' > arch/s390/crypto/sha1_s390.c:68: error: 'struct sha1_state' has no member named 'func' > > arch/s390/crypto/sha256_s390.c:64: error: 'struct sha256_state' has no member named 'func' > > Probably because of commit 406f104b4172de7452702c6810807c1b0132ba22. > > In sha1_/sha256_import() functions struct s390_sha_ctx *sctx should be > used instead of struct sha1_state. > > The following patch fixed the issue for me. Thanks for the fix! Patch applied to cryptodev. -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <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-s390" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html