summaryrefslogtreecommitdiff
path: root/include/linux/serial_core.h
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2015-03-09 16:27:19 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-26 17:25:27 +0100
commit60846880384f00713c7f54243f749c1923e6c0e3 (patch)
treeddc81cce43db0e3b4836d1b52d5d825d116a22aa /include/linux/serial_core.h
parent526ebc3f56491fe971cd2b51cfc859a879e11e93 (diff)
downloadlwn-60846880384f00713c7f54243f749c1923e6c0e3.tar.gz
lwn-60846880384f00713c7f54243f749c1923e6c0e3.zip
serial: earlycon: Skip parse_options() if empty string
Earlycon param strings of the form earlycon=<name> are rejected from parse_options() with an error (which, in turn, results in a NULL argument for the setup() method options parameter). Only pass non-empty string to parse_options(); this will enable handling actual parse errors differently than expected and allow formats. Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/serial_core.h')
0 files changed, 0 insertions, 0 deletions