Skip to contentSkip to conversation

x86/boot change for v3.12

GIT PULL Ingo Molnar 1 participant 1 message Sep 3, 2013 x86

lore
Share & tools
lore
#0 lore raw

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(-)
arch/x86/boot/printf.c +1 -1
index cdac91c..565083c 100644
@@ -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;