Re: [PATCH 1/1] kconfig: allow "hex" and "range" to support longs

2013-07-18 Thread Kees Cook
On Thu, Jul 18, 2013 at 3:08 AM, Geert Uytterhoeven wrote: > On Sat, Jun 29, 2013 at 4:21 PM, Yann E. MORIN > wrote: >> From: Kees Cook >> >> 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 rang

Re: [PATCH 1/1] kconfig: allow "hex" and "range" to support longs

2013-07-18 Thread Geert Uytterhoeven
On Sat, Jun 29, 2013 at 4:21 PM, Yann E. MORIN wrote: > From: Kees Cook > > 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, 0x8000 wasn't representable. 0x8000

[PATCH 1/1] kconfig: allow "hex" and "range" to support longs

2013-06-29 Thread Yann E. MORIN
From: Kees Cook 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, 0x8000 wasn't representable. Signed-off-by: Kees Cook Tested-by: "Yann E. MORIN" Reviewed-by: "Yann E