Messages in this thread Patch in this message | | | Date | Tue, 3 Sep 2013 16:42:26 +0200 | From | Ingo Molnar <> | Subject | [GIT PULL] x86/boot change for v3.12 |
| |
Linus,
Please pull the latest x86-boot-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-boot-for-linus
HEAD: 5b8fafcac6242bf914334d3ae9dbe921ad8d4634 x86/boot: Fix a sanity check in printf.c
Small cleanup.
Thanks,
Ingo
------------------> Dan Carpenter (1): x86/boot: Fix a sanity check in printf.c
arch/x86/boot/printf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/boot/printf.c b/arch/x86/boot/printf.c index cdac91c..565083c 100644 --- a/arch/x86/boot/printf.c +++ b/arch/x86/boot/printf.c @@ -55,7 +55,7 @@ static char *number(char *str, long num, int base, int size, int precision, locase = (type & SMALL); if (type & LEFT) type &= ~ZEROPAD; - if (base < 2 || base > 36) + if (base < 2 || base > 16) return NULL; c = (type & ZEROPAD) ? '0' : ' '; sign = 0;
| |