]> git.baikalelectronics.ru Git - kernel.git/commit
staging/vt6656: Fix too large integer constant warning on 32-bit
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 4 Mar 2013 19:42:00 +0000 (20:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Mar 2013 16:53:46 +0000 (09:53 -0700)
commit4ef837d6d4950eb38cd0dff9eb1410b3c5c0aed4
tree9504e801a452642ee45e78868b8c84bdeae61891
parent7d00505ba7d736542a8d1f783ab4a8f98169db41
staging/vt6656: Fix too large integer constant warning on 32-bit

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 6401b47ddfd7baf9691833a8fa74d6b7e6e5f3a1 ("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.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/card.c