Skip to content

tty: ioctl fixes and cleanups

Johan Hovold linux-serial lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8tty: actually undefine superseded ASYNC flagsinclude/uapi/linux/tty_flags.h+2 -20 replies
2/8tty: fix return value for unsupported ioctlsdrivers/tty/tty_io.c include/linux/tty_driver.h+6 -60 replies
3/8tty: fix return value for unsupported termiox ioctlsdrivers/tty/tty_ioctl.c+2 -20 replies
4/8tty: use pr_warn_ratelimited() for deprecated serial flagsdrivers/tty/tty_io.c+6 -120 replies
5/8tty: refactor TIOCSSERIAL handlingdrivers/tty/tty_io.c+16 -170 replies
6/8tty: add ASYNC_SPLIT_TERMIOS to deprecation maskinclude/uapi/linux/tty_flags.h+2 -20 replies
7/8serial: core: drop redundant TIOCGSERIAL memsetdrivers/tty/serial/serial_core.c+0 -20 replies
8/8serial: core: return early on unsupported ioctlsdrivers/tty/serial/serial_core.c+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.26.3