[PATCH 1/2] of: demote symbol copy error from warning to info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



An overlay might not contain a symbol node, in case it only adds new
nodes to the device tree. Reword the error message and switch it from
warning to info.

Signed-off-by: Rouven Czerwinski <r.czerwinski@xxxxxxxxxxxxxx>
---
 drivers/of/overlay.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c
index de79e05cbc..9c1d5b5bcb 100644
--- a/drivers/of/overlay.c
+++ b/drivers/of/overlay.c
@@ -173,7 +173,7 @@ int of_overlay_apply_tree(struct device_node *root,
 	/* Copy symbols from resolved overlay to base device tree */
 	err = of_overlay_apply_symbols(root, resolved);
 	if (err)
-		pr_warn("failed to copy symbols from overlay");
+		pr_info("could not copy symbols from overlay\n");
 
 	/* Copy nodes and properties from resolved overlay to root */
 	for_each_child_of_node(resolved, fragment) {
-- 
2.25.1


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux