summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-09-10 15:11:28 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-09-23 17:14:46 +0200
commit4a79ca7d6210d09ad1ebca7a490e06223fc0a17c (patch)
tree80ceb267e6a5bfb01606552fcc5489aec185a0ed /common
parent7e44c8495ace5dc2dfd9f183e7956fca3661a614 (diff)
downloadbarebox-4a79ca7d6210d09ad1ebca7a490e06223fc0a17c.tar.gz
barebox-4a79ca7d6210d09ad1ebca7a490e06223fc0a17c.tar.xz
of_fix_tree: warn instead of fail when a fixup fails
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r--common/oftree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/oftree.c b/common/oftree.c
index f75d7b4bfe..d408f14e66 100644
--- a/common/oftree.c
+++ b/common/oftree.c
@@ -190,7 +190,8 @@ int of_fix_tree(struct device_node *node)
list_for_each_entry(of_fixup, &of_fixup_list, list) {
ret = of_fixup->fixup(node, of_fixup->context);
if (ret)
- return ret;
+ pr_warn("Failed to fixup node in %pS: %s\n",
+ of_fixup->fixup, strerror(-ret));
}
return 0;