[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VeBTdugxXeM9wj=x-JarLqRcmZzwDLav71RM66FcP-xjQ@mail.gmail.com>
Date: Tue, 28 Aug 2018 10:54:39 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Rob Herring <robh@...nel.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Johannes Berg <johannes@...solutions.net>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
"open list:LINUX FOR POWERPC PA SEMI PWRFICIENT"
<linuxppc-dev@...ts.ozlabs.org>,
ALSA Development Mailing List <alsa-devel@...a-project.org>
Subject: Re: [PATCH] sound: Convert to using %pOFn instead of device_node.name
On Tue, Aug 28, 2018 at 4:56 AM Rob Herring <robh@...nel.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
Powered by blists - more mailing lists