diff options
author | 2023-12-06 08:37:11 +0100 | |
---|---|---|
committer | 2023-12-08 12:02:38 +0100 | |
commit | b49d18493a0b9bb79289c5bec31acf073c34edd2 (patch) | |
tree | a5f081eb21b941e528dce73a1237178ec822aed7 /arch/um/drivers/line.h | |
parent | tty: ttyprintk: convert to u8 and size_t (diff) | |
download | linux-b49d18493a0b9bb79289c5bec31acf073c34edd2.tar.gz linux-b49d18493a0b9bb79289c5bec31acf073c34edd2.tar.bz2 linux-b49d18493a0b9bb79289c5bec31acf073c34edd2.zip |
tty: um: convert to u8/__u8 and size_t
Switch character types to u8 and sizes to size_t. To conform to
characters/sizes in the rest of the tty layer.
Note we use __u8 in the userspace files.
Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Cc: Richard Weinberger <richard@nod.at>
Cc: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-um@lists.infradead.org
Link: https://lore.kernel.org/r/20231206073712.17776-27-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/um/drivers/line.h')
-rw-r--r-- | arch/um/drivers/line.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/um/drivers/line.h b/arch/um/drivers/line.h index e84fb9b4165e..e8bd6f3dfb50 100644 --- a/arch/um/drivers/line.h +++ b/arch/um/drivers/line.h @@ -47,9 +47,9 @@ struct line { * * buffer points to a buffer allocated on demand, of length * LINE_BUFSIZE, head to the start of the ring, tail to the end.*/ - char *buffer; - char *head; - char *tail; + u8 *buffer; + u8 *head; + u8 *tail; int sigio; struct delayed_work task; |