[Bug 208197] OF: /pci at f2000000/mac-io at 17/gpio at 50/...: could not find phandle

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Tue Jul 7 17:23:35 AEST 2020


https://bugzilla.kernel.org/show_bug.cgi?id=208197

Michael Ellerman (michael at ellerman.id.au) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 CC|                            |michael at ellerman.id.au

--- Comment #3 from Michael Ellerman (michael at ellerman.id.au) ---
Try this?

diff --git a/drivers/of/base.c b/drivers/of/base.c
index ae03b1218b06..b2961bec57d9 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -1299,6 +1299,7 @@ int of_phandle_iterator_next(struct of_phandle_iterator
*it)
                        if (!it->node) {
                                pr_err("%pOF: could not find phandle\n",
                                       it->parent);
+                               WARN_ON(1);
                                goto err;
                        }

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the Linuxppc-dev mailing list