projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b52be0
)
of: base: improve error msg in of_phandle_iterator_next()
author
Enrico Weigelt, metux IT consult
<info@metux.net>
Thu, 14 Jan 2021 10:11:27 +0000
(11:11 +0100)
committer
Rob Herring
<robh@kernel.org>
Fri, 15 Jan 2021 17:26:09 +0000
(11:26 -0600)
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>
drivers/of/base.c
patch
|
blob
|
history
diff --git
a/drivers/of/base.c
b/drivers/of/base.c
index
161a236
..
8a348f0
100644
(file)
--- a/
drivers/of/base.c
+++ b/
drivers/of/base.c
@@
-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;
}