[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080109165641.668838af@lxorguk.ukuu.org.uk>
Date:	Wed, 9 Jan 2008 16:56:41 +0000
From:	Alan Cox <alan@...rguk.ukuu.org.uk>
To:	Jiri Kosina <jikos@...os.cz>
Cc:	Matthew Wilcox <matthew@....cx>,
	Nikanth Karthikesan <knikanth@...e.de>, grant@...que.net,
	tim@...erelk.net, linux-kernel@...r.kernel.org,
	kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] Change paride driver to use unlocked_ioctl instead of
 ioctl
On Wed, 9 Jan 2008 14:26:26 +0100 (CET)
Jiri Kosina <jikos@...os.cz> wrote:
> On Wed, 9 Jan 2008, Matthew Wilcox 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. The printk is wrong as well, but this is just getting
shown up by the other changes.
Does anyone even use parallel IDE devices any more ?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists