mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-14 06:35:12 +00:00
tty: tty_buffer: make all offsets unsigned
All these are supposed/expected to be unsigned as they are either counts or offsets. So switch to unsigned for clarity. Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org> Link: https://lore.kernel.org/r/20230810091510.13006-21-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5db35be97c
commit
b97552eb06
1 changed files with 5 additions and 5 deletions
|
@ -12,11 +12,11 @@ struct tty_buffer {
|
|||
struct tty_buffer *next;
|
||||
struct llist_node free;
|
||||
};
|
||||
int used;
|
||||
int size;
|
||||
int commit;
|
||||
int lookahead; /* Lazy update on recv, can become less than "read" */
|
||||
int read;
|
||||
unsigned int used;
|
||||
unsigned int size;
|
||||
unsigned int commit;
|
||||
unsigned int lookahead; /* Lazy update on recv, can become less than "read" */
|
||||
unsigned int read;
|
||||
bool flags;
|
||||
/* Data points here */
|
||||
unsigned long data[];
|
||||
|
|
Loading…
Reference in a new issue