]> git.karo-electronics.de Git - karo-tx-linux.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)
commit36d93d88a5396baa135f8bcde7b8501dfe3b8e53
tree05735ddf8bf7b1eb6d5a556b87ec7a6a792dcc89
parentd872818dbbeed1bccf58c7f8c7db432154c802f9
Revert "x86/early_printk: Replace obsolete simple_strtoul() usage with kstrtoint()"

This reverts commit fbd24153c48b8425b09c161a020483cd77da870e.

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