Skip to content
Snippets Groups Projects
Commit 12e17243 authored by Enrico Weigelt, metux IT consult's avatar Enrico Weigelt, metux IT consult Committed by Rob Herring
Browse files

of: base: improve error msg in of_phandle_iterator_next()


Also print out the phandle ID on error message, as a debug aid.

Signed-off-by: default avatarEnrico Weigelt, metux IT consult <info@metux.net>
Link: https://lore.kernel.org/r/20210114101127.16580-1-info@metux.net


Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 4b52be0c
No related branches found
No related tags found
No related merge requests found
......@@ -1297,8 +1297,8 @@ int of_phandle_iterator_next(struct of_phandle_iterator *it)
if (it->cells_name) {
if (!it->node) {
pr_err("%pOF: could not find phandle\n",
it->parent);
pr_err("%pOF: could not find phandle %d\n",
it->parent, it->phandle);
goto err;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment