From: Rob Herring Date: Thu, 1 May 2014 00:48:29 +0000 (-0500) Subject: tty/serial: fix generic earlycon option parsing X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~35^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e26f1db9b8d74617519e50b41749900d0a257406;p=pandora-kernel.git 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 Cc: Jiri Slaby Cc: linux-serial@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed