Skip to content

Commit 66c046b

Browse files
prabhakarladherbertx
authored andcommitted
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 <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 6c50634 commit 66c046b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/crypto/sha-mb/sha1_mb_mgr_init_avx2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
void sha1_mb_mgr_init_avx2(struct sha1_mb_mgr *state)
5757
{
5858
unsigned int j;
59-
state->unused_lanes = 0xF76543210;
59+
state->unused_lanes = 0xF76543210ULL;
6060
for (j = 0; j < 8; j++) {
6161
state->lens[j] = 0xFFFFFFFF;
6262
state->ldata[j].job_in_lane = NULL;

0 commit comments

Comments
 (0)