diff options
Diffstat (limited to 'drivers/tty/tty_io.c')
-rw-r--r-- | drivers/tty/tty_io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c index 83af24ca1e5e..20a862a2a0c2 100644 --- a/drivers/tty/tty_io.c +++ b/drivers/tty/tty_io.c | |||
@@ -2676,7 +2676,7 @@ long tty_ioctl(struct file *file, unsigned int cmd, unsigned long arg) | |||
2676 | break; | 2676 | break; |
2677 | } | 2677 | } |
2678 | if (tty->ops->ioctl) { | 2678 | if (tty->ops->ioctl) { |
2679 | retval = (tty->ops->ioctl)(tty, file, cmd, arg); | 2679 | retval = (tty->ops->ioctl)(tty, cmd, arg); |
2680 | if (retval != -ENOIOCTLCMD) | 2680 | if (retval != -ENOIOCTLCMD) |
2681 | return retval; | 2681 | return retval; |
2682 | } | 2682 | } |
@@ -2704,7 +2704,7 @@ static long tty_compat_ioctl(struct file *file, unsigned int cmd, | |||
2704 | return -EINVAL; | 2704 | return -EINVAL; |
2705 | 2705 | ||
2706 | if (tty->ops->compat_ioctl) { | 2706 | if (tty->ops->compat_ioctl) { |
2707 | retval = (tty->ops->compat_ioctl)(tty, file, cmd, arg); | 2707 | retval = (tty->ops->compat_ioctl)(tty, cmd, arg); |
2708 | if (retval != -ENOIOCTLCMD) | 2708 | if (retval != -ENOIOCTLCMD) |
2709 | return retval; | 2709 | return retval; |
2710 | } | 2710 | } |