serial: make uart_insert_char() accept u8s
authorJiri Slaby <jirislaby@kernel.org>
Wed, 12 Jul 2023 08:18:07 +0000 (10:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jul 2023 17:21:03 +0000 (19:21 +0200)
commitdf007fa02560435f7ffbc62147cc0084f8241899
tree9cdb0a54ca1b18efe94922c367c5d30d583021a2
parent12ae2359eb2f1b880863b266a2e72f65f043eacd
serial: make uart_insert_char() accept u8s

Both the character and flag are 8-bit values. So switch from unsigned
ints to u8s. The drivers will be cleaned up in the next round.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230712081811.29004-7-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_core.c
include/linux/serial_core.h