All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] Remove or convert empty ioctls ?
@ 2009-10-15  9:20 Thomas Gleixner
  2009-10-15 12:12 ` Jeff Garzik
  0 siblings, 1 reply; 11+ messages in thread
From: Thomas Gleixner @ 2009-10-15  9:20 UTC (permalink / raw)
  To: LKML
  Cc: Alan Cox, Arnd Bergmann, Ingo Molnar, Peter Zijlstra,
	Frederic Weisbecker

Hi,

while looking into pushing down BKL to ioctls I noticed that we have a
lot of ioctls which simply return -EINVAL or some other fancy error
code.

The question is whether we should convert them to unlocked_ioctl or
simply remove them and let the sys_ioctl code return the default
-ENOTTY error code.

One could argue that this is a user visible change, but OTOH there is
no particular value of EINVAL or any other weird error code when it
just says: there is no ioctl for this fd.

Thanks,

	tglx

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-10-15 16:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-15  9:20 [RFC] Remove or convert empty ioctls ? Thomas Gleixner
2009-10-15 12:12 ` Jeff Garzik
2009-10-15 15:01   ` Alan Cox
2009-10-15 15:22     ` Jeff Garzik
2009-10-15 15:31       ` Alan Cox
2009-10-15 15:35         ` Jeff Garzik
2009-10-15 15:49           ` Alan Cox
2009-10-15 16:03             ` Jeff Garzik
2009-10-15 16:23               ` Thomas Gleixner
2009-10-15 16:28             ` Thomas Gleixner
2009-10-15 15:50           ` Ingo Molnar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.