linux-stable/drivers/tty
Jiri Slaby (SUSE) e8161447bb tty: make tty_ldisc_ops::*buf*() hooks operate on size_t
Count passed to tty_ldisc_ops::receive_buf*(), ::lookahead_buf(), and
returned from ::receive_buf2() is expected to be size_t. So set it to
size_t to unify with the rest of the code.

Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Cc: William Hubbs <w.d.hubbs@gmail.com>
Cc: Chris Brannon <chris@the-brannons.com>
Cc: Kirk Reiser <kirk@reisers.ca>
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: Marcel Holtmann <marcel@holtmann.org>
Cc: Johan Hedberg <johan.hedberg@gmail.com>
Cc: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: Max Staudt <max@enpas.org>
Cc: Wolfgang Grandegger <wg@grandegger.com>
Cc: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Cc: Andreas Koensgen <ajk@comnets.uni-bremen.de>
Cc: Jeremy Kerr <jk@codeconstruct.com.au>
Cc: Matt Johnston <matt@codeconstruct.com.au>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.com>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230810091510.13006-16-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-11 21:12:45 +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
Kconfig tty: synclink_gt: mark as BROKEN 2023-07-31 17:16:21 +02:00
Makefile
amiserial.c tty: Convert hw_stopped in tty_struct to bool 2023-03-17 15:01:09 +01:00
ehv_bytechan.c
goldfish.c
mips_ejtag_fdc.c
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: make tty_ldisc_ops::*buf*() hooks operate on size_t 2023-08-11 21:12:45 +02:00
n_hdlc.c tty: make tty_ldisc_ops::*buf*() hooks operate on size_t 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: make tty_ldisc_ops::*buf*() hooks operate on size_t 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: change tty_write_lock()'s ndelay parameter to bool 2023-08-11 21:12:44 +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_buffer.c tty: switch count in tty_ldisc_receive_buf() to size_t 2023-08-11 21:12:45 +02:00
tty_io.c tty: change tty_write_lock()'s ndelay parameter to bool 2023-08-11 21:12:44 +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_port.c tty: make counts in tty_port_client_operations hooks size_t 2023-08-11 21:12:44 +02:00
ttynull.c
vcc.c