Thread (2 messages) flat view 2 messages, 2 authors, 2018-08-28

Re: [PATCH] sound: Convert to using %pOFn instead of device_node.name

From: Andy Shevchenko <hidden>
Date: 2018-08-28 07:55:15
Also in: alsa-devel, lkml

On Tue, Aug 28, 2018 at 4:56 AM Rob Herring [off-list ref] wrote:
In preparation to remove the node name pointer from struct device_node,
convert printf users to use the %pOFn format specifier.
+       if (snprintf(node_name, sizeof(node_name), "%pOFn", np) != 5)
                return 0;
+       if (strncmp(np, "i2s-", 4))
                return 0;
Shouldn't be node_name here?



-- 
With Best Regards,
Andy Shevchenko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help