On Mon, Jun 23, 2014 at 07:41:05PM +0300, Jussi Kivilinna wrote: > Byte-to-bit-count computation is only partly converted to big-endian and is > mixing in CPU-endian values. Problem was noticed by sparce with warning: > > CHECK arch/x86/crypto/sha512_ssse3_glue.c > arch/x86/crypto/sha512_ssse3_glue.c:144:19: warning: restricted __be64 degrades to integer > arch/x86/crypto/sha512_ssse3_glue.c:144:17: warning: incorrect type in assignment (different base types) > arch/x86/crypto/sha512_ssse3_glue.c:144:17: expected restricted __be64 <noident> > arch/x86/crypto/sha512_ssse3_glue.c:144:17: got unsigned long long > > Cc: Tim Chen <tim.c.chen@xxxxxxxxxxxxxxx> > Signed-off-by: Jussi Kivilinna <jussi.kivilinna@xxxxxx> Patch applied to crypto. -- 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