lkml.org 
[lkml]   [2008]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Change paride driver to use unlocked_ioctl instead of ioctl
On Wed, 9 Jan 2008, Alan Cox wrote:

> > > > default:
> > > > printk("%s: Unimplemented ioctl 0x%x\n", tape->name, cmd);
> > > > + unlock_kernel();
> > > > return -EINVAL;
> > > Surely a bug ... shouldn't this return -ENOTTY?
> Agreed - ENOTTY.

Just out of curiosity, where does POSIX happen to specify ENOTTY as the
correct one for unimplemented ioctl?

--
Jiri Kosina


\
 
 \ /
  Last update: 2008-01-10 16:45    [W:0.074 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site