[PATCH] ARM: omap: Convert to using %pOFn instead of device_node.name

From
Joe Perches <joe@perches.com>
Date
2018-08-28 06:55:11
Also in
linux-omap, lkml
Reply to
Rob Herring, 2018-08-28
On Mon, 2018-08-27 at 20:52 -0500, Rob Herring wrote:
In preparation to remove the node name pointer from struct device_node,
convert printf users to use the %pOFn format specifier.
[]
quoted hunk ↗ jump to hunk
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c
[]
quoted hunk ↗ jump to hunk
@@ -738,7 +738,7 @@ static int __init _setup_clkctrl_provider(struct device_node *np)
 	provider->size = size | 0xff;
 	provider->node = np;
 
-	pr_debug("%s: %s: %x...%x [+%x]\n", __func__, np->parent->name,
+	pr_debug("%pOF: %s: %x...%x [+%x]\n", __func__, np->parent,
Wrong argument order

I didn't look at the rest.
Thread (60 messages) 60 messages, 30 authors, last reply 2018-10-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help