Re: [PATCH] crypto: sha3 - Add missing ULL suffixes for 64-bit constants

From: Herbert Xu
Date: Mon Aug 08 2016 - 12:06:48 EST


On Wed, Aug 03, 2016 at 07:37:03PM +0200, Geert Uytterhoeven wrote:
> 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: 53964b9ee63b7075 ("crypto: sha3 - Add SHA-3 hash algorithm")
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt