diff options
author | Kees Cook <keescook@chromium.org> | 2013-06-28 21:56:51 +0200 |
---|---|---|
committer | Yann E. MORIN <yann.morin.1998@free.fr> | 2013-06-29 15:30:17 +0200 |
commit | b57caaaed2bd127fe656e6c145970ed6a05c0125 (patch) | |
tree | 5c0e7308b579cc3bd94bac072d1b400274f8dc4b /scripts/kconfig/mconf.c | |
parent | Revert "kconfig: fix randomising choice entries in presence of KCONFIG_ALLCON... (diff) | |
download | linux-b57caaaed2bd127fe656e6c145970ed6a05c0125.tar.xz linux-b57caaaed2bd127fe656e6c145970ed6a05c0125.zip |
kconfig: allow "hex" and "range" to support longs
The parsing routines for Kconfig files use strtol(), but store and
render values as int. Switch types and formating to long to support a
wider range of values. For example, 0x80000000 wasn't representable.
Signed-off-by: Kees Cook <keescook@chromium.org>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'scripts/kconfig/mconf.c')
0 files changed, 0 insertions, 0 deletions