ChangeSet 1.883.3.14, 2002/12/17 21:57:17-08:00, oliver@neukum.name [PATCH] USB: proper error return for usblcd unknown ioctls return -ENOTTY and nothing else. diff -Nru a/drivers/usb/misc/usblcd.c b/drivers/usb/misc/usblcd.c --- a/drivers/usb/misc/usblcd.c Wed Dec 18 00:34:21 2002 +++ b/drivers/usb/misc/usblcd.c Wed Dec 18 00:34:21 2002 @@ -98,7 +98,7 @@ return -EFAULT; break; default: - return -ENOIOCTLCMD; + return -ENOTTY; break; }