linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] soc: ti: pruss: fix referenced node in error message
@ 2021-06-21 18:08 Jan Kiszka
  2021-06-23 15:51 ` Suman Anna
  2021-11-23  2:04 ` Nishanth Menon
  0 siblings, 2 replies; 6+ messages in thread
From: Jan Kiszka @ 2021-06-21 18:08 UTC (permalink / raw)
  To: Santosh Shilimkar, Linux Kernel Mailing List, linux-arm-kernel,
	Grzegorz Jaszczyk

From: Jan Kiszka <jan.kiszka@siemens.com>

So far, "(null)" is reported for the node that is missing clocks.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 drivers/soc/ti/pruss.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/ti/pruss.c b/drivers/soc/ti/pruss.c
index f22ac1edbdd0..afc8aae68035 100644
--- a/drivers/soc/ti/pruss.c
+++ b/drivers/soc/ti/pruss.c
@@ -129,7 +129,7 @@ static int pruss_clk_init(struct pruss *pruss, struct device_node *cfg_node)
 
 	clks_np = of_get_child_by_name(cfg_node, "clocks");
 	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;
 	}
 
-- 
2.26.2

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-11-23  2:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-21 18:08 [PATCH] soc: ti: pruss: fix referenced node in error message Jan Kiszka
2021-06-23 15:51 ` Suman Anna
2021-09-01 15:03   ` Jan Kiszka
2021-11-20  7:53     ` Jan Kiszka
2021-11-22 15:30       ` Suman Anna
2021-11-23  2:04 ` Nishanth Menon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).