Overlays don't need to have __symbols__ therefore it shouldn't be printed on info level. Move it to debug so interested users can print it still. I also fixed a minor alignment issue while on it. Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx> --- drivers/of/overlay.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c index b79dbff94d..dc9711dac5 100644 --- a/drivers/of/overlay.c +++ b/drivers/of/overlay.c @@ -106,7 +106,7 @@ static char *of_overlay_fix_path(struct device_node *root, } static void of_overlay_apply_symbols(struct device_node *root, - struct device_node *overlay) + struct device_node *overlay) { const char *old_path; char *new_path; @@ -117,8 +117,13 @@ static void of_overlay_apply_symbols(struct device_node *root, root_symbols = of_get_child_by_name(root, "__symbols__"); overlay_symbols = of_get_child_by_name(overlay, "__symbols__"); - if (!overlay_symbols || !root_symbols) { - pr_info("overlay/root doesn't have a __symbols__ node\n"); + if (!overlay_symbols) { + pr_debug("overlay doesn't have a __symbols__ node\n"); + return; + } + + if (!root_symbols) { + pr_info("root doesn't have a __symbols__ node\n"); return; } -- 2.20.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox