On Fri, 15 Jul 2022 16:03:14 +0200, Geert Uytterhoeven wrote: > There is no point in doing several preparatory steps in > of_overlay_fdt_apply(), only to see of_overlay_apply() return early > because of a corrupt device tree. > > Move the check for a corrupt device tree from of_overlay_apply() to > of_overlay_fdt_apply(), to check for this as early as possible. > > Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> > --- > drivers/of/overlay.c | 11 +++++------ > 1 file changed, 5 insertions(+), 6 deletions(-) > Applied, thanks!