summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/parse_data_structs.py
diff options
context:
space:
mode:
authorYuho Choi <oss.patchbox@gmail.com>2026-09-23 21:13:50 -0400
committerRob Herring (Arm) <robh@kernel.org>2026-09-30 16:03:39 -0500
commit77f21a59e8cf7efcc1c4b3e9176e8b99993a7ae4 (patch)
tree61430cc29fd5ee0d72921b8c7c88d3a42793b1d9 /tools/lib/python/kdoc/parse_data_structs.py
parent21c89ff1fc86ffa517f3a9ca1ba5c48e9e37c1ba (diff)
downloadlinux-next-77f21a59e8cf7efcc1c4b3e9176e8b99993a7ae4.tar.gz
linux-next-77f21a59e8cf7efcc1c4b3e9176e8b99993a7ae4.zip
of: Put coreboot node after compatibility check
of_find_compatible_node() returns a referenced device node, but EXCLUDED_DEFAULT_CELLS_PLATFORMS used the result only as a boolean and discarded the reference. This leaked a reference each time the address-cells or size-cells warning condition was evaluated on a coreboot system. Use a helper that checks for the coreboot node with a scoped reference, so the reference is dropped once the check is done. Fixes: 8600058ba28a7 ("of: Add coreboot firmware to excluded default cells list") Signed-off-by: Yuho Choi <oss.patchbox@gmail.com> Link: https://patch.msgid.link/20260924011358.734722-1-oss.patchbox@gmail.com Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions