projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e8d887
)
tty: ami: use u8 for characters and flag
author
Jiri Slaby (SUSE)
<jirislaby@kernel.org>
Wed, 6 Dec 2023 07:36:51 +0000
(08:36 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 8 Dec 2023 11:02:37 +0000
(12:02 +0100)
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>
drivers/tty/amiserial.c
patch
|
blob
|
history
diff --git
a/drivers/tty/amiserial.c
b/drivers/tty/amiserial.c
index a30dc054ffbf66a3c3fd1dc7fd2ababa5f42eba0..7716ce0d35bc219608bd67b762aac0d4544bd9b9 100644
(file)
--- a/
drivers/tty/amiserial.c
+++ b/
drivers/tty/amiserial.c
@@
-81,7
+81,7
@@
struct serial_state {
int quot;
int IER; /* Interrupt Enable Register */
int MCR; /* Modem control register */
-
int
x_char; /* xon/xoff character */
+
u8
x_char; /* xon/xoff character */
};
static struct tty_driver *serial_driver;
@@
-178,7
+178,7
@@
static void receive_chars(struct serial_state *info)
{
int status;
int serdatr;
- u
nsigned char
ch, flag;
+ u
8
ch, flag;
struct async_icount *icount;
bool overrun = false;