Skip to content

Commit

Permalink
crypto: sha-mb - Fix big integer constant sparse warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lad, Prabhakar authored and Herbert Xu committed Feb 27, 2015
1 parent 6c50634 commit 66c046b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/crypto/sha-mb/sha1_mb_mgr_init_avx2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 66c046b

Please sign in to comment.