]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bootconfig: Rename xbc_node_find_child() to xbc_node_find_subkey()
authorMasami Hiramatsu <mhiramat@kernel.org>
Thu, 9 Sep 2021 13:36:38 +0000 (22:36 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 9 Sep 2021 23:14:33 +0000 (19:14 -0400)
commit5dfe50b05588010f347cb2f436434bf22b7a84ed
tree9899b35687d2e25a563ef55973747296041767aa
parent5f8895b27da2656e5e2be029acfb68c016f03326
bootconfig: Rename xbc_node_find_child() to xbc_node_find_subkey()

Rename xbc_node_find_child() to xbc_node_find_subkey() for
clarifying that function returns a key node (no value node).
Since there are xbc_node_for_each_child() (loop on all child
nodes) and xbc_node_for_each_subkey() (loop on only subkey
nodes), this name distinction is necessary to avoid confusing
users.

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