[PATCH] of: overlay: propagate error unflattening DTBO
Sascha Hauer
s.hauer at pengutronix.de
Mon Feb 23 01:16:23 PST 2026
On Wed, 18 Feb 2026 13:20:40 +0100, Ahmad Fatoum wrote:
> of_unflatten_dtb() may return an error pointer when parsing of the
> device tree blob failed. Error pointers were not checked in
> of_overlay_apply_dtbo() leading to a panic when they were later
> dereferenced in of_copy_node().
>
> Add an early exit to fix this.
>
> [...]
Applied, thanks!
[1/1] of: overlay: propagate error unflattening DTBO
https://git.pengutronix.de/cgit/barebox/commit/?id=5dacdb56e0cc (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list