]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "x86/early_printk: Replace obsolete simple_strtoul() usage with kstrtoint()"
authorIngo Molnar <mingo@kernel.org>
Fri, 22 Jun 2012 14:25:19 +0000 (16:25 +0200)
committerIngo Molnar <mingo@kernel.org>
Sun, 22 Jul 2012 13:47:52 +0000 (15:47 +0200)
commit66ffd8a491007d5ac5ec1670a1bdc6ec06b8d61c
tree05735ddf8bf7b1eb6d5a556b87ec7a6a792dcc89
parent0c7cf98495307f467bf78f9fc0bbf0b6f2be169e
Revert "x86/early_printk: Replace obsolete simple_strtoul() usage with kstrtoint()"

This reverts commit 0075714dbc3c00da852fd6d761aa97987be95ecd.

This commit is subtly buggy: kstrto*int() can return an error but
it's not checked in every path. simple_strtoul() on the other hand
could not fail, so this patch subtly intruduces new failure modes.

Signed-off-by: Shuah Khan <shuahkhan@gmail.com>
Link: http://lkml.kernel.org/r/1338424803.3569.5.camel@lorien2
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/early_printk.c