Re: [PATCH V3] gpiolib: use dev_err() when gpiod_configure_flags failed
From: Andy Shevchenko
Date: Fri Mar 22 2024 - 11:59:59 EST
On Fri, Mar 22, 2024 at 9:29 AM Peng Fan (OSS) <peng.fan@xxxxxxxxxxx> wrote:
>
> From: Peng Fan <peng.fan@xxxxxxx>
>
> When gpio-ranges property was missed to be added in the gpio node,
> using dev_err() to show an error message will helping to locate issues
> easier.
Bart, are you aware that this will add yet another possibility of
scary '(null)' in the error level, which is much likely visible to the
end users?
I propose to apply my fix first to avoid this happening.
20240320165930.1182653-1-andriy.shevchenko@xxxxxxxxxxxxxxx
--
With Best Regards,
Andy Shevchenko