[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yz7LQuf0L29cne3I@smile.fi.intel.com>
Date: Thu, 6 Oct 2022 15:34:10 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Sakari Ailus <sakari.ailus@...ux.intel.com>
Cc: linuxppc-dev@...ts.ozlabs.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-acpi@...r.kernel.org, Qiang Zhao <qiang.zhao@....com>,
Li Yang <leoyang.li@....com>,
Daniel Scally <djrscally@...il.com>,
Heikki Krogerus <heikki.krogerus@...ux.intel.com>
Subject: Re: [PATCH v2 1/2] device property: Introduce
fwnode_device_is_compatible() helper
On Wed, Oct 05, 2022 at 09:05:54PM +0000, Sakari Ailus wrote:
> On Wed, Oct 05, 2022 at 06:29:46PM +0300, Andy Shevchenko wrote:
...
> fwnode_property_match_string() returns zero on success, therefore >= 0 is
> not needed. I'd just use !fwnode_property_match_string(...).
No, it's bug in the documentation, thanks to rising an attention,
I forgot to send a fix for it earlier.
> For both patches:
>
> Reviewed-by: Sakari Ailus <sakari.ailus@...ux.intel.com>
Thanks, but as stated above the condition in my patch is correct.
It seems due to documentation bug we have some kind of "buggy" code,
luckily not too many to fix.
That said, I'm not going to resend this until PPC (Freescale) maintainers
ask for it. Yang, what's your vision on this series?
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists