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

Configure Feed

Select the types of activity you want to include in your feed.

tty: ami: use u8 for characters and flag

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>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/20231206073712.17776-7-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Jiri Slaby (SUSE) and committed by
Greg Kroah-Hartman
fbdeead9 4e8d8878

+2 -2
+2 -2
drivers/tty/amiserial.c
··· 81 81 int quot; 82 82 int IER; /* Interrupt Enable Register */ 83 83 int MCR; /* Modem control register */ 84 - int x_char; /* xon/xoff character */ 84 + u8 x_char; /* xon/xoff character */ 85 85 }; 86 86 87 87 static struct tty_driver *serial_driver; ··· 178 178 { 179 179 int status; 180 180 int serdatr; 181 - unsigned char ch, flag; 181 + u8 ch, flag; 182 182 struct async_icount *icount; 183 183 bool overrun = false; 184 184