Messages in this thread | | | Date | Thu, 10 Jan 2008 16:01:44 +0100 (CET) | From | Jiri Kosina <> | Subject | Re: [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
| |