bootconfig: Change array value to use child node
authorMasami Hiramatsu <mhiramat@kernel.org>
Wed, 2 Jun 2021 08:18:58 +0000 (17:18 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 10 Jun 2021 17:38:25 +0000 (13:38 -0400)
commitca24306d83a125df187ad53eddb038fe0cffb8ca
treeded15cb9027a6d138d2cb83ffa26535504c81ef8
parentee0a07017ae34f2dbf5775956d8fc3f6d36be985
bootconfig: Change array value to use child node

It is not possible to put an array value with subkeys under
a key node, because both of subkeys and the array elements
are using "next" field of the xbc_node.

Thus this changes the array values to use "child" field in
the array case. The reason why split this change is to
test it easily.

Link: https://lkml.kernel.org/r/162262193838.264090.16044473274501498656.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
fs/proc/bootconfig.c
include/linux/bootconfig.h
lib/bootconfig.c
tools/bootconfig/main.c