tty: handle compat PPP ioctls
authorArnd Bergmann <arnd@arndb.de>
Thu, 6 Jun 2019 08:07:36 +0000 (10:07 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 23 Oct 2019 15:23:47 +0000 (17:23 +0200)
commitb7aff093e94daff1e6076393ed43b7c9651b2b43
tree548436ece40fb6a44f7be0efc09df8e395a55a45
parentc7dc504e2ff78a0bed3c36a44dff73f523ce0132
tty: handle compat PPP ioctls

Multiple tty devices are have tty devices that handle the
PPPIOCGUNIT and PPPIOCGCHAN ioctls. To avoid adding a compat_ioctl
handler to each of those, add it directly in tty_compat_ioctl
so we can remove the calls from fs/compat_ioctl.c.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/tty/tty_io.c