[RFC] Remove or convert empty ioctls ?

From: Thomas Gleixner
Date: Thu Oct 15 2009 - 05:22:27 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/