Too verbose compat_ioctl messages?

H. Peter Anvin hpa at
Sat Jul 7 03:48:20 EST 2007

Andi Kleen wrote:
> "H. Peter Anvin" <hpa at> writes:
>> For one thing, it looks like we're returning the wrong thing (EINVAL
>> rather than ENOTTY) across the board.  This was unfortunately a common
>> misunderstanding with non-tty-related ioctls in the early days of Linux.
> ENOTTY is so excessively misnamed that it is actually surprising
> anybody ever got that "right" (for very small values of right i guess)

No argument there.


More information about the Linuxppc-dev mailing list