diff options
author | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2014-06-23 16:41:05 (GMT) |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-06-25 13:55:02 (GMT) |
commit | cfe82d4f45c7cc39332a2be7c4c1d3bf279bbd3d (patch) | |
tree | 4cdbcc29511ca02599621b43737d2b57883ad273 /net/netlink | |
parent | 7171511eaec5bf23fb06078f59784a3a0626b38f (diff) | |
download | linux-cfe82d4f45c7cc39332a2be7c4c1d3bf279bbd3d.tar.xz |
crypto: sha512_ssse3 - fix byte count to bit count conversion
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: <stable@vger.kernel.org>
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Acked-by: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions