1
0
Files
linux/drivers
Wanlong Gao bbb63c514a drivers:tty:fix up ENOIOCTLCMD error handling
At commit 07d106d0, Linus pointed out that ENOIOCTLCMD should be
translated as ENOTTY to user mode.
For example:
	fd = open("/dev/tty", O_RDWR);
	ioctl(fd, -1, &argp);

then the errno should be ENOTTY but not EINVAL.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-09-05 12:41:57 -07:00
..
2012-08-02 13:51:46 -04:00
2012-08-27 07:13:33 -07:00
2012-08-27 07:13:33 -07:00
2012-08-13 10:15:22 +05:30
2012-07-29 21:11:05 -03:00
2012-08-16 20:24:38 +01:00
2012-08-27 07:13:33 -07:00
2012-08-13 14:34:02 +08:00
2012-08-27 07:13:33 -07:00
2012-08-13 16:50:19 -07:00
2012-08-27 07:13:33 -07:00
2012-08-20 11:58:43 +02:00
2012-08-27 07:13:33 -07:00
2012-08-27 07:13:33 -07:00
2012-08-27 07:13:33 -07:00
2012-07-31 08:16:22 -06:00
2012-07-31 08:16:22 -06:00