linux-stable/drivers/tty
Jiri Slaby (SUSE) 24b01c5d49 tty: use ssize_t for iterate_tty_read() returned type
tty_read() is supposed to return ssize_t. It takes the return value from
iterate_tty_read(). That currently returns int. On the top of that,
iterate_tty_write() already returns ssize_t. So switch
iterate_tty_read() to ssize_t too, so that all three are consistent.

This means 'i' in tty_read() changes its type too. And while changing
that, rename this generic 'i' to more dedicated 'ret'.

Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230810091510.13006-25-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-11 21:12:46 +02:00
..
hvc tty: hvsi: remove an extra variable from hvsi_write() 2023-07-31 17:16:05 +02:00
ipwireless
serdev tty: make counts in tty_port_client_operations hooks size_t 2023-08-11 21:12:44 +02:00
serial tty: serial: qcom-geni-serial: Poll primary sequencer irq status after cancel_tx 2023-08-09 14:15:28 +02:00
vt tty: switch count in tty_ldisc_receive_buf() to size_t 2023-08-11 21:12:45 +02:00
amiserial.c tty: Convert hw_stopped in tty_struct to bool 2023-03-17 15:01:09 +01:00
ehv_bytechan.c tty: evh_bytechan: Replace NO_IRQ by 0 2022-11-02 08:10:42 +01:00
goldfish.c
Kconfig tty: synclink_gt: mark as BROKEN 2023-07-31 17:16:21 +02:00
Makefile
mips_ejtag_fdc.c serial: Convert SERIAL_XMIT_SIZE to UART_XMIT_SIZE 2022-06-27 14:41:31 +02:00
moxa.c tty: moxa: Rename dtr/rts parameters/variables to active 2023-01-19 16:04:35 +01:00
mxser.c tty: Convert hw_stopped in tty_struct to bool 2023-03-17 15:01:09 +01:00
n_gsm.c tty: use u8 for flags 2023-08-11 21:12:45 +02:00
n_hdlc.c tty: use u8 for flags 2023-08-11 21:12:45 +02:00
n_null.c tty: n_null: remove optional ldops 2023-08-11 21:12:44 +02:00
n_tty.c tty: use u8 for flags 2023-08-11 21:12:45 +02:00
nozomi.c
pty.c tty: make tty_class a static const structure 2023-04-03 21:43:07 +02:00
rpmsg_tty.c
synclink_gt.c tty: synclink_gt: Fix potential deadlock on &info->lock 2023-08-04 15:05:56 +02:00
sysrq.c tty: sysrq: use switch in sysrq_key_table_key2index() 2023-07-25 19:21:03 +02:00
tty.h tty: use u8 for chars 2023-08-11 21:12:45 +02:00
tty_audit.c tty_audit: make data of tty_audit_log() const 2023-06-21 17:57:29 +02:00
tty_baudrate.c tty: Fix comment style in tty_termios_input_baud_rate() 2022-08-30 14:22:34 +02:00
tty_buffer.c tty: use u8 for flags 2023-08-11 21:12:45 +02:00
tty_io.c tty: use ssize_t for iterate_tty_read() returned type 2023-08-11 21:12:46 +02:00
tty_ioctl.c tty: make tty_change_softcar() more understandable 2023-08-11 21:12:44 +02:00
tty_jobctrl.c
tty_ldisc.c tty: tty_ldisc: Remove the ret variable 2023-03-09 17:11:18 +01:00
tty_ldsem.c
tty_mutex.c tty: remove TTY_MAGIC 2022-09-22 16:12:34 +02:00
tty_port.c tty: use u8 for flags 2023-08-11 21:12:45 +02:00
ttynull.c
vcc.c termios: start unifying non-UAPI parts of asm/termios.h 2022-09-09 10:44:34 +02:00