• Geert Uytterhoeven's avatar
    crypto: sha3 - Add missing ULL suffixes for 64-bit constants · f743e70e
    Geert Uytterhoeven authored
    On 32-bit (e.g. with m68k-linux-gnu-gcc-4.1):
    
        crypto/sha3_generic.c:27: warning: integer constant is too large for ‘long’ type
        crypto/sha3_generic.c:28: warning: integer constant is too large for ‘long’ type
        crypto/sha3_generic.c:29: warning: integer constant is too large for ‘long’ type
        crypto/sha3_generic.c:29: warning: integer constant is too large for ‘long’ type
        crypto/sha3_generic.c:31: warning: integer constant is too large for ‘long’ type
        crypto/sha3_generic.c:31: warning: integer constant is too large for ‘long’ type
        crypto/sha3_generic.c:32: warning: integer constant is too large for ‘long’ type
        crypto/sha3_generic.c:32: warning: integer constant is too large for ‘long’ type
        crypto/sha3_generic.c:32: warning: integer constant is too large for ‘long’ type
        crypto/sha3_generic.c:33: warning: integer constant is too large for ‘long’ type
        crypto/sha3_generic.c:33: warning: integer constant is too large for ‘long’ type
        crypto/sha3_generic.c:34: warning: integer constant is too large for ‘long’ type
        crypto/sha3_generic.c:34: warning: integer constant is too large for ‘long’ type
    
    Fixes: 53964b9e ("crypto: sha3 - Add SHA-3 hash algorithm")
    Signed-off-by: 's avatarGeert Uytterhoeven <geert@linux-m68k.org>
    Signed-off-by: 's avatarHerbert Xu <herbert@gondor.apana.org.au>
    f743e70e
sha3_generic.c 7 KB