diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2015-02-05 10:29:35 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-02-27 22:48:49 +1300 |
commit | 66c046b407166686aeea2e8c0abfa1c4e4b94f26 (patch) | |
tree | 6339b1fb458ecd761684dae853987f5192e6bedc /arch/x86/crypto | |
parent | 6c5063434098b956252d8bb45d7546ff717717e6 (diff) | |
download | op-kernel-dev-66c046b407166686aeea2e8c0abfa1c4e4b94f26.zip op-kernel-dev-66c046b407166686aeea2e8c0abfa1c4e4b94f26.tar.gz |
crypto: sha-mb - Fix big integer constant sparse warning
this patch fixes following sparse warning:
sha1_mb_mgr_init_avx2.c:59:31: warning: constant 0xF76543210 is so big it is long
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86/crypto')
-rw-r--r-- | arch/x86/crypto/sha-mb/sha1_mb_mgr_init_avx2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/crypto/sha-mb/sha1_mb_mgr_init_avx2.c b/arch/x86/crypto/sha-mb/sha1_mb_mgr_init_avx2.c index 4ca7e16..822acb5 100644 --- a/arch/x86/crypto/sha-mb/sha1_mb_mgr_init_avx2.c +++ b/arch/x86/crypto/sha-mb/sha1_mb_mgr_init_avx2.c @@ -56,7 +56,7 @@ void sha1_mb_mgr_init_avx2(struct sha1_mb_mgr *state) { unsigned int j; - state->unused_lanes = 0xF76543210; + state->unused_lanes = 0xF76543210ULL; for (j = 0; j < 8; j++) { state->lens[j] = 0xFFFFFFFF; state->ldata[j].job_in_lane = NULL; |