[PATCH] staging: comedi: replace ENOSYS by proper error codes

Greg KH gregkh at linuxfoundation.org
Fri Jun 12 20:43:27 UTC 2015


On Fri, Jun 12, 2015 at 10:20:38PM +0200, julien.dehee at gmail.com wrote:
> From: Julien Dehee <julien.dehee at gmail.com>
> 
> comedi/comedi_fops.c
>     use ENODEV following open manual
> 
> comedi/drivers.c
>     use ENOTTY following ioctl manual
> 
> drivers/serial2002.c
>     use ENOTTY following ioctl manual

What do you mean by "ioctl manual"?

And shouldn't this be 3 different patches as they do different things to
different drivers?

thanks,

greg k-h


More information about the devel mailing list