mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -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 <info@metux.net> Link: https://lore.kernel.org/r/20210114101127.16580-1-info@metux.net Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
parent
4b52be0ce6
commit
12e17243d8
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue