summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/opal-sysparam.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-08-27 20:52:07 -0500
committerMichael Ellerman <mpe@ellerman.id.au>2018-10-03 15:40:01 +1000
commitb9ef7b4b867f56114bedbe6bf104cfaba0ca818e (patch)
tree842557b731ca055ae423cbc3917f6310e86c87d3 /arch/powerpc/platforms/powernv/opal-sysparam.c
parent0bdba867f01d69cffefee707504d3155a30f2d0f (diff)
downloadlinux-stable-b9ef7b4b867f56114bedbe6bf104cfaba0ca818e.tar.gz
linux-stable-b9ef7b4b867f56114bedbe6bf104cfaba0ca818e.tar.bz2
linux-stable-b9ef7b4b867f56114bedbe6bf104cfaba0ca818e.zip
powerpc: Convert to using %pOFn instead of device_node.name
In preparation to remove the node name pointer from struct device_node, convert printf users to use the %pOFn format specifier. Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Arnd Bergmann <arnd@arndb.de> Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powernv/opal-sysparam.c')
-rw-r--r--arch/powerpc/platforms/powernv/opal-sysparam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powernv/opal-sysparam.c b/arch/powerpc/platforms/powernv/opal-sysparam.c
index 9aa87df114fd..916a4b7b1bb5 100644
--- a/arch/powerpc/platforms/powernv/opal-sysparam.c
+++ b/arch/powerpc/platforms/powernv/opal-sysparam.c
@@ -194,7 +194,7 @@ void __init opal_sys_param_init(void)
count = of_property_count_strings(sysparam, "param-name");
if (count < 0) {
pr_err("SYSPARAM: No string found of property param-name in "
- "the node %s\n", sysparam->name);
+ "the node %pOFn\n", sysparam);
goto out_param_buf;
}