Skip to content

Misc serial cleanups

Peter Hurley linux-serial lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 0 repliesNew
  2. v18 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8serial: core: Fold __uart_put_char() into callerdrivers/tty/serial/serial_core.c+5 -90 replies
2/8serial: core: Fold do_uart_get_info() into callerdrivers/tty/serial/serial_core.c+7 -110 replies
3/8serial: core: Use tty->index for port # in debug messagesdrivers/tty/serial/serial_core.c+2 -30 replies
4/8serial: Fix ASYNC_* => UPF_* flags misusearch/alpha/include/asm/serial.h arch/frv/include/asm/serial.h arch/m68k/include/asm/serial.h +4 more+17 -170 replies
5/8serial: core: Cleanup uart_open() exitdrivers/tty/serial/serial_core.c+1 -40 replies
6/8serial: core: Remove cast from void ptr in uart_open()drivers/tty/serial/serial_core.c+1 -10 replies
7/8serial: core: Unfold < 80 char linesdrivers/tty/serial/serial_core.c+5 -100 replies
8/8serial: core: Perform RTS signalling before soft flow ctrldrivers/tty/serial/serial_core.c+6 -60 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/8] Misc serial cleanups

Hi Greg,

Apologies for the earlier mixed series; this is the proper series. This series contains accumulated cleanups for the serial core.

Several of these patches were in earlier series that were not applied so I split the simpler ones into this series to form a basis for follow-on series (especially the "Fix unsafe uart port access" series and another that addresses the tty_port->flags problem).

Regards,

Regards,

Peter Hurley (8):
serial: core: Fold __uart_put_char() into caller
serial: core: Fold do_uart_get_info() into caller
serial: core: Use tty->index for port # in debug messages
serial: Fix ASYNC_* => UPF_* flags misuse
serial: core: Cleanup uart_open() exit
serial: core: Remove cast from void ptr in uart_open()
serial: core: Unfold < 80 char lines
serial: core: Perform RTS signalling before soft flow ctrl

 arch/alpha/include/asm/serial.h      |  8 ++--
 arch/frv/include/asm/serial.h        |  2 +-
 arch/m68k/include/asm/serial.h       |  8 ++--
 arch/mips/pmcs-msp71xx/msp_serial.c  |  2 +-
 arch/mn10300/include/asm/serial.h    | 10 ++---
 arch/xtensa/platforms/xt2000/setup.c |  2 +-
 drivers/tty/serial/serial_core.c     | 71 ++++++++++++++----------------------
 drivers/tty/serial/serial_ks8695.c   |  2 +-
 8 files changed, 44 insertions(+), 61 deletions(-)
Signature · 1 line
2.7.0