[PATCH 0/8] tty: ioctl fixes and cleanups

Johan Hovold
2021-04-07T09:52:38Z

This series fixes and cleans up a few (serial-) ioctl-related issues.

Johan

Johan Hovold (8):
tty: actually undefine superseded ASYNC flags
tty: fix return value for unsupported ioctls
tty: fix return value for unsupported termiox ioctls
tty: use pr_warn_ratelimited() for deprecated serial flags
tty: refactor TIOCSSERIAL handling
tty: add ASYNC_SPLIT_TERMIOS to deprecation mask
serial: core: drop redundant TIOCGSERIAL memset
serial: core: return early on unsupported ioctls

drivers/tty/serial/serial_core.c | 8 ++---
drivers/tty/tty_io.c | 53 ++++++++++++++------------------
drivers/tty/tty_ioctl.c | 4 +--
include/linux/tty_driver.h | 2 +-
include/uapi/linux/tty_flags.h | 8 ++---
5 files changed, 33 insertions(+), 42 deletions(-)

--
2.26.3