]> git.baikalelectronics.ru Git - kernel.git/commit
kconfig: switch to "long long" for sanity
authorKees Cook <keescook@chromium.org>
Thu, 18 Jul 2013 18:32:01 +0000 (11:32 -0700)
committerYann E. MORIN <yann.morin.1998@free.fr>
Thu, 15 Aug 2013 20:48:06 +0000 (22:48 +0200)
commiteed620f6221e0e8af087b38f2950b10b71fdb760
tree710f56ad4108a4cb853db699b8e75970360213f0
parent39e7811f31541d2e9a151d460c1db55fab65dcc3
kconfig: switch to "long long" for sanity

Instead of using "long" for kconfig "hex" and "range" values, which may
change in size depending on the host architecture, use "long long". This
will allow values greater than INT_MAX on 32-bit hosts when cross
compiling.

Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
scripts/kconfig/symbol.c