mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Signed-off-by: Rob Herring <[email protected]>
This commit is contained in:
parent
a1d19bd4cf
commit
4ee7c0d964
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue