projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
162aa53
)
misc: Convert to using %pOFn instead of device_node.name
author
Rob Herring
<
[email protected]
>
Tue, 28 Aug 2018 01:52:32 +0000
(20:52 -0500)
committer
Greg Kroah-Hartman
<
[email protected]
>
Fri, 14 Sep 2018 13:25:57 +0000
(15:25 +0200)
In preparation to remove the node name pointer from struct device_node,
convert printf users to use the %pOFn format specifier.
Cc: Frederic Barrat <
[email protected]
>
Cc: Arnd Bergmann <
[email protected]
>
Cc: Greg Kroah-Hartman <
[email protected]
>
Cc:
[email protected]
Signed-off-by: Rob Herring <
[email protected]
>
Acked-by: Andrew Donnellan <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/misc/cxl/flash.c
patch
|
blob
|
history
diff --git
a/drivers/misc/cxl/flash.c
b/drivers/misc/cxl/flash.c
index 43917898fb9a86faad439758a2ba9640adc2b3c9..4d6836f194898041765fed9d8b0da46ec9a7758f 100644
(file)
--- a/
drivers/misc/cxl/flash.c
+++ b/
drivers/misc/cxl/flash.c
@@
-92,8
+92,8
@@
static int update_property(struct device_node *dn, const char *name,
val = (u32 *)new_prop->value;
rc = cxl_update_properties(dn, new_prop);
- pr_devel("%
s
: update property (%s, length: %i, value: %#x)\n",
- dn
->name
, name, vd, be32_to_cpu(*val));
+ pr_devel("%
pOFn
: update property (%s, length: %i, value: %#x)\n",
+ dn, name, vd, be32_to_cpu(*val));
if (rc) {
kfree(new_prop->name);