aboutsummaryrefslogtreecommitdiff
path: root/arch/um/drivers/line.h
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <[email protected]>2023-12-06 08:37:11 +0100
committerGreg Kroah-Hartman <[email protected]>2023-12-08 12:02:38 +0100
commitb49d18493a0b9bb79289c5bec31acf073c34edd2 (patch)
treea5f081eb21b941e528dce73a1237178ec822aed7 /arch/um/drivers/line.h
parent18977909bfba2a866f5e2cd0ce540919de5aa394 (diff)
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)" <[email protected]> Cc: Richard Weinberger <[email protected]> Cc: Anton Ivanov <[email protected]> Cc: Johannes Berg <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'arch/um/drivers/line.h')
-rw-r--r--arch/um/drivers/line.h6
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;