Re: [PATCH v2 01/13] leds: core: The -ENOTSUPP should never be seen by user space

From: Andy Shevchenko
Date: Wed Jun 23 2021 - 09:15:32 EST


On Sat, May 29, 2021 at 02:19:23PM +0300, Andy Shevchenko wrote:
> Luckily there is no user which checks for returned code and actually
> returns it, but since the function is exported any user may try to return
> an error code from it to user space, usually during probe phase,
>
> Replace -ENOTSUPP by -EOPNOTSUPP when returning from exported function.

There were no issue reported by bots, no comments from people (except one tag),
can we do something about this series or should I amend it?


--
With Best Regards,
Andy Shevchenko