Files
linux/drivers
Jiri Slaby (SUSE) 2ce2983c24 tty: tty_buffer: let tty_prepare_flip_string() return size_t
The same as in the previous patch, tty_prepare_flip_string() accepts
size_t as an size argument. It returns the same size (or less). It is
unexpected that it returns a signed value and can confuse users to check
for negative values.

Instead, return the same size_t as accepted to make clear we return
values >= 0, where zero in fact means failure.

Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230816105530.3335-7-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-22 14:58:15 +02:00
..
2023-08-11 21:12:45 +02:00
2023-08-11 21:12:47 +02:00
2023-06-29 08:09:31 -06:00
2023-08-07 00:01:41 +05:30
2023-08-11 21:12:47 +02:00
2023-06-15 13:42:18 +02:00
2023-07-27 07:53:12 +02:00