提交 59589f54 编写于 作者: J Jan Kiszka 提交者: Zheng Zengkai

soc: ti: pruss: fix referenced node in error message

stable inclusion
from stable-v5.10.94
commit b2e921fa9219a703bbb7cc5f1849d7c5b4a5478f
bugzilla: https://gitee.com/openeuler/kernel/issues/I531X9

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b2e921fa9219a703bbb7cc5f1849d7c5b4a5478f

--------------------------------

[ Upstream commit 8aa35e0b ]

So far, "(null)" is reported for the node that is missing clocks.
Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
Acked-by: NSuman Anna <s-anna@ti.com>
Signed-off-by: NNishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/d6e24953-ea89-fd1c-6e16-7a0142118054@siemens.comSigned-off-by: NSasha Levin <sashal@kernel.org>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
上级 5fb0fda1
...@@ -131,7 +131,7 @@ static int pruss_clk_init(struct pruss *pruss, struct device_node *cfg_node) ...@@ -131,7 +131,7 @@ static int pruss_clk_init(struct pruss *pruss, struct device_node *cfg_node)
clks_np = of_get_child_by_name(cfg_node, "clocks"); clks_np = of_get_child_by_name(cfg_node, "clocks");
if (!clks_np) { if (!clks_np) {
dev_err(dev, "%pOF is missing its 'clocks' node\n", clks_np); dev_err(dev, "%pOF is missing its 'clocks' node\n", cfg_node);
return -ENODEV; return -ENODEV;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册