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

From: [email-masked]
Date: Tue, 07 Jul 2020 07:23:35 +0000

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

Michael Ellerman ([email-masked]) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 CC|                            [email-masked]

--- Comment #3 from Michael Ellerman ([email-masked]) ---
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.