diff options
author | Rob Herring <robh@kernel.org> | 2014-04-30 19:48:29 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-03 18:16:38 -0400 |
commit | e26f1db9b8d74617519e50b41749900d0a257406 (patch) | |
tree | 08b42567dad09bafa4ce81d18d9e4c4368dc4157 /drivers/tty/serial/icom.h | |
parent | fe1cf8af918af3ff0dd58ce92e5a5da117cb1d92 (diff) |
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/tty/serial/icom.h')
0 files changed, 0 insertions, 0 deletions