mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
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: Enrico Weigelt, metux IT consult <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
This commit is contained in:
committed by
Rob Herring
parent
4b52be0ce6
commit
12e17243d8
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user