OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa55b7d
)
soc: ti: pruss: fix referenced node in error message
author
Jan Kiszka
<jan.kiszka@siemens.com>
Mon, 21 Jun 2021 18:08:28 +0000
(20:08 +0200)
committer
Nishanth Menon
<nm@ti.com>
Tue, 23 Nov 2021 01:40:55 +0000
(19:40 -0600)
So far, "(null)" is reported for the node that is missing clocks.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Acked-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Link:
https://lore.kernel.org/r/d6e24953-ea89-fd1c-6e16-7a0142118054@siemens.com
drivers/soc/ti/pruss.c
patch
|
blob
|
history
diff --git
a/drivers/soc/ti/pruss.c
b/drivers/soc/ti/pruss.c
index
49da387
..
b367793
100644
(file)
--- 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", c
lks_np
);
+ dev_err(dev, "%pOF is missing its 'clocks' node\n", c
fg_node
);
return -ENODEV;
}