mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 06:04:23 +08:00
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>
This commit is contained in:
parent
b49d18493a
commit
ae5af710f3
@ -65,7 +65,7 @@ static void rs_poll(struct timer_list *unused)
|
||||
struct tty_port *port = &serial_port;
|
||||
int i = 0;
|
||||
int rd = 1;
|
||||
unsigned char c;
|
||||
u8 c;
|
||||
|
||||
while (simc_poll(0)) {
|
||||
rd = simc_read(0, &c, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user