[PATCH] smbios: Do not look up children of invalid nodes
Tom Rini
trini at konsulko.com
Thu Apr 24 18:43:39 CEST 2025
On Mon, 14 Apr 2025 12:47:04 -0700, Samuel Holland wrote:
> If there is no UCLASS_SYSINFO device available, parent_node will be
> ofnode_null(). Calling ofnode_find_subnode() then triggers an assertion:
>
> drivers/core/ofnode.c:598: ofnode_find_subnode: Assertion `ofnode_valid(node)' failed.
>
> Check for a valid parent_node, not just that OF_CONTROL is enabled.
>
> [...]
Applied to u-boot/master, thanks!
[1/1] smbios: Do not look up children of invalid nodes
commit: 8327aa9af4be32b4236dfd25c8cefe568e9b3641
--
Tom
More information about the U-Boot
mailing list