lkml.org 
[lkml]   [2018]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] sound: Convert to using %pOFn instead of device_node.name
On Tue, Aug 28, 2018 at 4:56 AM Rob Herring <robh@kernel.org> 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

\
 
 \ /
  Last update: 2018-08-28 09:55    [W:0.707 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site