Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tty: xtensa/iss: use u8

Switch character types to u8. To conform to characters in the rest of
the tty layer.

Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Cc: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Link: https://lore.kernel.org/r/20231206073712.17776-28-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Jiri Slaby (SUSE) and committed by
Greg Kroah-Hartman
ae5af710 b49d1849

+1 -1
+1 -1
arch/xtensa/platforms/iss/console.c
··· 65 65 struct tty_port *port = &serial_port; 66 66 int i = 0; 67 67 int rd = 1; 68 - unsigned char c; 68 + u8 c; 69 69 70 70 while (simc_poll(0)) { 71 71 rd = simc_read(0, &c, 1);