mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 13:03:48 +00:00
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