diff options
author | Rob Herring <robh@kernel.org> | 2014-05-01 02:48:29 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-04 00:16:38 +0200 |
commit | e26f1db9b8d74617519e50b41749900d0a257406 (patch) | |
tree | 08b42567dad09bafa4ce81d18d9e4c4368dc4157 /drivers/watchdog/bcm47xx_wdt.c | |
parent | tty/serial: add back missing setup_early_serial8250_console (diff) | |
download | linux-e26f1db9b8d74617519e50b41749900d0a257406.tar.xz linux-e26f1db9b8d74617519e50b41749900d0a257406.zip |
tty/serial: fix generic earlycon option parsing
Commit 9aac5887595 (tty/serial: add generic serial earlycon) moved
console option parsing from 8250_early.c and converted to kstrto*
functions from simple_strtoul along the way. However, kstrto* functions
are not equivalent in that they do not allow non-convertible characters
at the end such as "115200n8". Fix this by changing back to
simple_strtoul and ignore what checkpatch.pl says.
Reported-by: Yinghai Lu <yinghai@kernel.org>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: linux-serial@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/watchdog/bcm47xx_wdt.c')
0 files changed, 0 insertions, 0 deletions