Re: [RFC] Remove or convert empty ioctls ?

From: Jeff Garzik
Date: Thu Oct 15 2009 - 11:37:25 EST


On 10/15/2009 11:31 AM, Alan Cox wrote:
EINVAL means you used an ioctl that is correct for the driver but that
for some reason the driver didn't like it.

Precisely.

The driver author proactively chose to implement the ioctl and return a value other than ENOTTY.

It is invalid to assume that all such cases are a direct result of author mistakes or ignorance.

Jeff



--
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/