summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMaarten ter Huurne <maarten@treewalker.org>2014-10-09 13:48:30 +0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-10-22 10:49:40 +0400
commit37773c4e7f6156c34d852c154ef7ce818867d521 (patch)
tree301106d823588e76f87c94fef584fa0d72e018bf /scripts
parentf114040e3ea6e07372334ade75d1ee0775c355e1 (diff)
downloadlinux-37773c4e7f6156c34d852c154ef7ce818867d521.tar.xz
fbcon: Fix option parsing control flow in fb_console_setup
Since strsep is used to tokenize the options string, after each option match the code should use "continue" to get the next token from strsep. This patch applies this pattern consistently. Previously, for "scrollback:" and "map:" the parse code would return (unconditionally: strsep ensures *options != ','), causing any following option to be ignored, while for "vc:" the parse code would go on to parse further options within the same token, which could lead to invalid input being accepted. Signed-off-by: Maarten ter Huurne <maarten@treewalker.org> Acked-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions