[PATCH 00/10] tty: u8 conversion preparation

From: Jiri Slaby (SUSE)
Date: Wed Jul 12 2023 - 04:22:26 EST


This is another round of preparations for conversions of chars and flags
to u8. This series converts sysrq handlers and serial_core + serial
drivers. The tty proper will be posted separately later.

Jiri Slaby (SUSE) (10):
tty: sysrq: rename and re-type i in sysrq_handle_loglevel()
tty: sysrq: switch sysrq handlers from int to u8
tty: sysrq: switch the rest of keys to u8
tty: sysrq: use switch in sysrq_key_table_key2index()
serial: convert uart sysrq handling to u8
serial: make uart_insert_char() accept u8s
serial: pass state to __uart_start() directly
serial: arc_uart: simplify flags handling in arc_serial_rx_chars()
serial: omap-serial: remove flag from serial_omap_rdi()
serial: drivers: switch ch and flag to u8

arch/alpha/kernel/setup.c | 2 +-
arch/loongarch/kernel/sysrq.c | 2 +-
arch/mips/kernel/sysrq.c | 2 +-
arch/powerpc/xmon/xmon.c | 2 +-
arch/sparc/kernel/process_64.c | 4 +-
drivers/gpu/drm/drm_fb_helper.c | 2 +-
drivers/tty/serial/21285.c | 3 +-
drivers/tty/serial/8250/8250_port.c | 3 +-
drivers/tty/serial/altera_jtaguart.c | 2 +-
drivers/tty/serial/altera_uart.c | 2 +-
drivers/tty/serial/amba-pl010.c | 3 +-
drivers/tty/serial/amba-pl011.c | 3 +-
drivers/tty/serial/apbuart.c | 3 +-
drivers/tty/serial/arc_uart.c | 29 +++++-----
drivers/tty/serial/atmel_serial.c | 2 +-
drivers/tty/serial/clps711x.c | 3 +-
drivers/tty/serial/digicolor-usart.c | 3 +-
drivers/tty/serial/dz.c | 2 +-
drivers/tty/serial/ip22zilog.c | 2 +-
drivers/tty/serial/max3100.c | 3 +-
drivers/tty/serial/max310x.c | 3 +-
drivers/tty/serial/mcf.c | 2 +-
drivers/tty/serial/milbeaut_usio.c | 3 +-
drivers/tty/serial/mxs-auart.c | 3 +-
drivers/tty/serial/omap-serial.c | 8 +--
drivers/tty/serial/pxa.c | 2 +-
drivers/tty/serial/rp2.c | 4 +-
drivers/tty/serial/sa1100.c | 3 +-
drivers/tty/serial/samsung_tty.c | 3 +-
drivers/tty/serial/sb1250-duart.c | 3 +-
drivers/tty/serial/sc16is7xx.c | 3 +-
drivers/tty/serial/sccnxp.c | 3 +-
drivers/tty/serial/serial-tegra.c | 7 +--
drivers/tty/serial/serial_core.c | 15 +++--
drivers/tty/serial/serial_txx9.c | 3 +-
drivers/tty/serial/sifive.c | 2 +-
drivers/tty/serial/sprd_serial.c | 5 +-
drivers/tty/serial/st-asc.c | 2 +-
drivers/tty/serial/stm32-usart.c | 5 +-
drivers/tty/serial/sunplus-uart.c | 2 +-
drivers/tty/serial/zs.c | 3 +-
drivers/tty/sysrq.c | 84 ++++++++++++++--------------
include/linux/serial_core.h | 18 +++---
include/linux/sysrq.h | 18 +++---
kernel/debug/debug_core.c | 2 +-
kernel/power/poweroff.c | 2 +-
kernel/rcu/tree_stall.h | 2 +-
47 files changed, 142 insertions(+), 145 deletions(-)

--
2.41.0