Commit 442fbdb90e12 for kernel
commit 442fbdb90e120c39bc0b27ffdcc6d7733472ddb9
Merge: 23c62304dde2 381b391bfaa3
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Sun Nov 15 08:28:08 2026 -0800
Merge tag 'bootconfig-fixes-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull bootconfig fixes from Masami Hiramatsu:
- bootconfig: Allow keys with the maximum supported depth
Check the array capacity before storing the next key component in
xbc_node_compose_key_after() so keys at XBC_DEPTH_MAX (16) are
composed instead of failing with -ERANGE when listing keys or
creating /proc/bootconfig.
- bootconfig: Trim unquoted values at end of file
Trim trailing whitespace from unquoted values in __xbc_parse_value()
after scanning finishes so values at end of input without a trailing
newline do not retain extra whitespace.
- tools/bootconfig: Close only opened braces in compact output
Check key children while skipping value nodes when backtracking in
xbc_show_compact_tree() so a brace is not closed when a single subkey
under a valued key was printed in dotted notation.
- tools/bootconfig: Test listing keys at the maximum depth
Add regression tests verifying that a 16-component key can be
attached and listed in full while a 17-component key is rejected.
* tag 'bootconfig-fixes-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
bootconfig: Trim unquoted values at end of file
tools/bootconfig: Close only opened braces in compact output
tools/bootconfig: Test listing keys at the maximum depth
bootconfig: Allow keys with the maximum supported depth