diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2020-02-20 21:19:42 +0900 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-02-20 17:56:29 -0500 |
commit | 88b913718db94697497028b85acbec8b180a4333 (patch) | |
tree | 9c2e4d03f5217a599b2fdbd8f737f49d7a4cbd01 /lib | |
parent | a24d286f36104ed45108a5a36f3868938434772f (diff) | |
download | linux-88b913718db94697497028b85acbec8b180a4333.tar.gz linux-88b913718db94697497028b85acbec8b180a4333.tar.bz2 linux-88b913718db94697497028b85acbec8b180a4333.zip |
bootconfig: Print array as multiple commands for legacy command line
Print arraied values as multiple same options for legacy
kernel command line. With this rule, if the "kernel.*" and
"init.*" array entries in bootconfig are printed out as
multiple same options, e.g.
kernel {
console = "ttyS0,115200"
console += "tty0"
}
will be correctly converted to
console="ttyS0,115200" console="tty0"
in the kernel command line.
Link: http://lkml.kernel.org/r/158220118213.26565.8163300497009463916.stgit@devnote2
Reported-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions