lkml.org 
[lkml]   [2021]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] tools/iio: iio_event_monitor: Fix ioctl error check
Date
> From: Sa, Nuno <Nuno.Sa@analog.com>
> Sent: Wednesday, April 28, 2021 5:31 PM
> To: Paul Cercueil <paul@crapouillou.net>; Jonathan Cameron
> <jic23@kernel.org>; Lars-Peter Clausen <lars@metafoo.de>; Peter
> Meerwald-Stadler <pmeerw@pmeerw.net>
> Cc: linux-iio@vger.kernel.org; linux-kernel@vger.kernel.org
> Subject: RE: [PATCH] tools/iio: iio_event_monitor: Fix ioctl error check
>
>
> > From: Paul Cercueil <paul@crapouillou.net>
> > Sent: Wednesday, April 28, 2021 5:08 PM
> > To: Jonathan Cameron <jic23@kernel.org>; Lars-Peter Clausen
> > <lars@metafoo.de>; Peter Meerwald-Stadler
> > <pmeerw@pmeerw.net>
> > Cc: linux-iio@vger.kernel.org; linux-kernel@vger.kernel.org; Paul
> > Cercueil <paul@crapouillou.net>
> > Subject: [PATCH] tools/iio: iio_event_monitor: Fix ioctl error check
> >
> >
> > The ioctrl() call will return errno=EINVAL if the device does not
> > support the events interface, and not ENODEV.
> >
> > Signed-off-by: Paul Cercueil <paul@crapouillou.net>
>
> Reviewed-by: Nuno Sa <nuno.sa@analog.com>
>

I guess this should have a Fixes: tag...

- Nuno Sá

\
 
 \ /
  Last update: 2021-04-28 17:35    [W:0.095 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site