[PATCH 00/13] tty: random fixes and cleanups
From: Jiri Slaby (SUSE)
Date: Mon Aug 05 2024 - 06:22:54 EST
Hi,
this is a series of locally accumulated patches over past months.
The series:
* makes mctp and 6pack use u8s,
* cleans up 6pack a bit,
* fixes two coverity reports,
* uses guard() to make some of the tty function easier to follow.
Cc: Andreas Koensgen <ajk@xxxxxxxxxxxxxxxxxxxxx>
Cc: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
Cc: Douglas Anderson <dianders@xxxxxxxxxxxx>
Cc: Eric Dumazet <edumazet@xxxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Cc: "Ilpo Järvinen" <ilpo.jarvinen@xxxxxxxxxxxxxxx>
Cc: Jakub Kicinski <kuba@xxxxxxxxxx>
Cc: Jeremy Kerr <jk@xxxxxxxxxxxxxxxxxxxx>
Cc: linux-hams@xxxxxxxxxxxxxxx
Cc: Matt Johnston <matt@xxxxxxxxxxxxxxxxxxxx>
Cc: netdev@xxxxxxxxxxxxxxx
Cc: Paolo Abeni <pabeni@xxxxxxxxxx>
Cc: Peter Hurley <peter@xxxxxxxxxxxxxxxxxx>
Jiri Slaby (SUSE) (13):
tty: simplify tty_dev_name_to_number() using guard(mutex)
serial: protect uart_port_dtr_rts() in uart_shutdown() too
serial: don't use uninitialized value in uart_poll_init()
serial: remove quot_frac from serial8250_do_set_divisor()
serial: use guards for simple mutex locks
mxser: remove stale comment
mxser: remove doubled sets of close times
mctp: serial: propagage new tty types
6pack: remove sixpack::rbuff
6pack: drop sixpack::mtu
6pack: drop sixpack::buffsize
6pack: remove global strings
6pack: propagage new tty types
drivers/net/hamradio/6pack.c | 60 ++++--------
drivers/net/mctp/mctp-serial.c | 23 ++---
drivers/tty/mxser.c | 5 -
drivers/tty/serial/8250/8250_dwlib.c | 2 +-
drivers/tty/serial/8250/8250_exar.c | 2 +-
drivers/tty/serial/8250/8250_pci.c | 2 +-
drivers/tty/serial/8250/8250_port.c | 4 +-
drivers/tty/serial/serial_core.c | 140 ++++++++++++---------------
drivers/tty/tty_io.c | 11 +--
include/linux/serial_8250.h | 2 +-
10 files changed, 103 insertions(+), 148 deletions(-)
--
2.46.0