summaryrefslogtreecommitdiffstats
path: root/drivers/of
diff options
context:
space:
mode:
authorFrank Rowand <frank.rowand@sony.com>2017-10-19 14:38:11 -0700
committerRob Herring <robh@kernel.org>2017-10-19 17:15:09 -0500
commit4ee7c0d9649d472d31969b9cbb8151161db6a807 (patch)
tree85deb695fd4811f96f1d6a9b795e11e2d8aec858 /drivers/of
parenta1d19bd4cf1febf0d5ff60243826a248bd20f1a5 (diff)
downloadop-kernel-dev-4ee7c0d9649d472d31969b9cbb8151161db6a807.zip
op-kernel-dev-4ee7c0d9649d472d31969b9cbb8151161db6a807.tar.gz
of: overlay: make pr_err() string unique
The same error string occurs in drivers/of/resolver.c. Change the error here to more precisely describe this case, and avoid the possible confusion of looking in the wrong source location to understand the cause of an error. Signed-off-by: Frank Rowand <frank.rowand@sony.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of')
-rw-r--r--drivers/of/overlay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c
index f5fce0f..c150abb 100644
--- a/drivers/of/overlay.c
+++ b/drivers/of/overlay.c
@@ -598,7 +598,7 @@ static int init_overlay_changeset(struct overlay_changeset *ovcs,
fragment->target = of_find_node_by_path("/__symbols__");
if (!fragment->target) {
- pr_err("no symbols in root of device tree.\n");
+ pr_err("symbols in overlay, but not in live tree\n");
ret = -EINVAL;
goto err_free_fragments;
}
OpenPOWER on IntegriCloud