[PATCH 00/10] tty: minor cleanups

Jiri Slaby (SUSE) posted 10 patches 2 years, 6 months ago
drivers/accessibility/speakup/spk_ttyio.c |  2 +-
drivers/input/serio/serport.c             | 10 +++++-----
drivers/misc/ti-st/st_core.c              | 11 +++--------
drivers/misc/ti-st/st_kim.c               |  9 +--------
drivers/net/can/slcan/slcan-core.c        |  8 ++++----
drivers/tty/hvc/hvsi.c                    |  3 +--
drivers/tty/serial/altera_jtaguart.c      |  2 +-
drivers/tty/serial/serial_core.c          |  8 ++------
net/bluetooth/rfcomm/tty.c                | 22 +++++++++++-----------
9 files changed, 29 insertions(+), 46 deletions(-)
[PATCH 00/10] tty: minor cleanups
Posted by Jiri Slaby (SUSE) 2 years, 6 months ago
This is another round of minor cleanups in the tty/serial/related
drivers.

Jiri Slaby (SUSE) (10):
  serial: move WARN_ON() in uart_write() to the condition
  Bluetooth: rfcomm: remove casts from tty->driver_data
  tty: hvsi: remove an extra variable from hvsi_write()
  input: serport: remove casts from tty->disc_data
  can: slcan: remove casts from tty->disc_data
  serial: altera_jtaguart: switch status to u32
  speakup: switch to unsigned iterator in spk_ttyio_receive_buf2()
  misc: ti-st: remove forward declarations and make st_int_recv() static
  misc: ti-st: remove ptr from recv functions
  misc: ti-st: don't check for tty data == NULL

 drivers/accessibility/speakup/spk_ttyio.c |  2 +-
 drivers/input/serio/serport.c             | 10 +++++-----
 drivers/misc/ti-st/st_core.c              | 11 +++--------
 drivers/misc/ti-st/st_kim.c               |  9 +--------
 drivers/net/can/slcan/slcan-core.c        |  8 ++++----
 drivers/tty/hvc/hvsi.c                    |  3 +--
 drivers/tty/serial/altera_jtaguart.c      |  2 +-
 drivers/tty/serial/serial_core.c          |  8 ++------
 net/bluetooth/rfcomm/tty.c                | 22 +++++++++++-----------
 9 files changed, 29 insertions(+), 46 deletions(-)

-- 
2.41.0
Re: [PATCH 00/10] tty: minor cleanups
Posted by Marc Kleine-Budde 2 years, 6 months ago
On 31.07.2023 10:02:34, Jiri Slaby (SUSE) wrote:
>   can: slcan: remove casts from tty->disc_data

You can do the same for drivers/net/can/can327.c

Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde          |
Embedded Linux                   | https://www.pengutronix.de |
Vertretung Nürnberg              | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-9   |
Re: [PATCH 00/10] tty: minor cleanups
Posted by Jiri Slaby 2 years, 6 months ago
On 31. 07. 23, 10:15, Marc Kleine-Budde wrote:
> On 31.07.2023 10:02:34, Jiri Slaby (SUSE) wrote:
>>    can: slcan: remove casts from tty->disc_data
> 
> You can do the same for drivers/net/can/can327.c

OK. And in net/nfc/nci/uart.c and that all should be it.

thanks,
-- 
js
suse labs