Re: [PATCH] staging/vt6656: Fix too large integer constant warning on 32-bit

From: Peter HÃwe
Date: Mon Mar 04 2013 - 14:58:42 EST


Am Montag, 4. MÃrz 2013, 20:42:00 schrieb Geert Uytterhoeven:
> drivers/staging/vt6656/card.c: In function âCARDqGetNextTBTTâ:
> drivers/staging/vt6656/card.c:793: warning: integer constant is too large
> for âunsigned longâ type
>
> Commit c7b7cad0d8df823ea063c86a54316bbcbfa04a7c ("staging/vt6656: Fix
> sparse warning constant 0xffffffff00000000U is so big it is unsigned long")
> changed the constant to "0xffffffff00000000UL", but that only works on
> 64-bit. Change it "0xffffffff00000000ULL" to fix it for 32-bit, too.
>
Thanks - sorry that I had missed this.
I thought I had it compiled on x86 (non64 bit), too.

Reviewed-by: Peter Huewe <peterhuewe@xxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/