]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86/boot: Fix a sanity check in printf.c
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 14 Aug 2013 09:09:31 +0000 (12:09 +0300)
committerIngo Molnar <mingo@kernel.org>
Wed, 14 Aug 2013 09:48:41 +0000 (11:48 +0200)
commit5b8fafcac6242bf914334d3ae9dbe921ad8d4634
tree50015df4bcd2e0a0e3ef321fe61bbc9663580326
parent28fbc8b6a29c849a3f03a6b05010d4b584055665
x86/boot: Fix a sanity check in printf.c

Prior to 9b706aee7d ("x86: trivial printk optimizations") this was
36 because it had 26 characters and 10 digits but now it's just
16 hex digits so the sanity check needs updated.

This function is always called with a valid "base" so it doesn't
make a difference to how the kernel works, it's just a cleanup.

Reported-by: Alexey Petrenko <alexey.petrenko@oracle.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/boot/printf.c