]> 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)
commit937e6297505c0a289eb4ae85ed2648b4476fa279
tree710f56ad4108a4cb853db699b8e75970360213f0
parent8f7bcee1023b4f2884026842bf82aa6d77e87d1f
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