On Fri, May 28, 2021 at 12:03:39PM +0200, Pavel Machek wrote: > On Mon 2021-05-10 12:50:19, Andy Shevchenko wrote: > > Replace -ENOTSUPP by -EOPNOTSUPP when returning from exported function. > > > > Fixes: 13ae79bbe4c2 ("leds: core: Drivers shouldn't enforce SYNC/ASYNC brightness setting") > > Cc: Jacek Anaszewski <j.anaszewski@xxxxxxxxxxx> > > Signed-off-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx> > > Are you sure this is real problem? (Potential) real problem, yes. » This does not sound like an error > path that should happen. Before crafting this patch I have checked callers and _luckily_ they haven't tested the returned code. But if any of the user decides to check -> real problem. -- With Best Regards, Andy Shevchenko