[PATCH master] of: base: handle of_set_root_node(NULL) correctly
Sascha Hauer
s.hauer at pengutronix.de
Thu May 21 01:39:42 PDT 2026
On Wed, 20 May 2026 15:49:06 +0200, Ahmad Fatoum wrote:
> of_set_root_node(NULL) used to be valid and the if clause at the start
> of the function explicitly allowed of it.
>
> This was broken by the unconditional use of of_property_write_bool, so
> guard that behind the existence of a root node.
>
>
> [...]
Applied, thanks!
[1/1] of: base: handle of_set_root_node(NULL) correctly
https://git.pengutronix.de/cgit/barebox/commit/?id=031e0f514d8d (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list