Re: [PATCH v3] iio: common: st_sensors: fix possible infinite loop in st_sensors_irq_thread

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 9, 2020 at 4:41 PM Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
> On Tue, Dec 8, 2020 at 4:38 PM Lorenzo Bianconi <lorenzo@xxxxxxxxxx> wrote:

...

> > +                       err = -EOPNOTSUPP;
>
> Wrong error code. You must not return it to user space (or you should
> fix all call sites to be sure this won't be returned).

Oops, seems the other way around. Sorry for the noise.

-- 
With Best Regards,
Andy Shevchenko



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux