[PATCH 00/10] tty: another batch of conversions to guards

Jiri Slaby (SUSE) posted 10 patches 1 week, 5 days ago
drivers/tty/moxa.c               | 169 +++++++---------
drivers/tty/n_hdlc.c             |  79 +++-----
drivers/tty/n_tty.c              | 109 +++++------
drivers/tty/pty.c                | 103 +++++-----
drivers/tty/serial/serial_core.c | 160 ++++++----------
drivers/tty/vt/keyboard.c        | 318 ++++++++++++-------------------
6 files changed, 378 insertions(+), 560 deletions(-)
[PATCH 00/10] tty: another batch of conversions to guards
Posted by Jiri Slaby (SUSE) 1 week, 5 days ago
Hi,

this is also for 6.19 or later.

This series continues to spread guards more both into the tty core code
and drivers.

Jiri Slaby (SUSE) (10):
  tty: pty: use guard()s
  tty: n_tty: use guard()s
  tty: n_hdlc: simplify return from n_hdlc_tty_ioctl()
  tty: n_hdlc: use guard()s
  tty: moxa: use guard()s
  tty: vt/keyboard: use __free()
  tty: vt/keyboard: simplify returns from vt_do_kbkeycode_ioctl()
  tty: vt/keyboard: use guard()s
  serial: serial_core: simplify uart_ioctl() returns
  serial: serial_core: use guard()s

 drivers/tty/moxa.c               | 169 +++++++---------
 drivers/tty/n_hdlc.c             |  79 +++-----
 drivers/tty/n_tty.c              | 109 +++++------
 drivers/tty/pty.c                | 103 +++++-----
 drivers/tty/serial/serial_core.c | 160 ++++++----------
 drivers/tty/vt/keyboard.c        | 318 ++++++++++++-------------------
 6 files changed, 378 insertions(+), 560 deletions(-)

-- 
2.51.1