Gregory CLEMENT
707818ed1f
tty: n_gsm: Fix bogus i++ in gsm_data_kick
...
[ Upstream commit 4dd31f1ffec6c370c3c2e0c605628bf5e16d5c46 ]
When submitting the previous fix "tty: n_gsm: Fix waking up upper tty
layer when room available". It was suggested to switch from a while to
a for loop, but when doing it, there was a remaining bogus i++.
This patch removes this i++ and also reorganizes the code making it more
compact.
Fixes: e1eaea46bb ("tty: n_gsm line discipline")
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Link: https://lore.kernel.org/r/20200518084517.2173242-3-gregory.clement@bootlin.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-30 15:38:26 -04:00
..
hvc
tty: hvc: Fix data abort due to race in hvc_open
2020-06-30 15:38:23 -04:00
ipwireless
tty: ipwireless: Fix potential NULL pointer dereference
2020-01-29 10:24:13 +01:00
serial
serial: amba-pl011: Make sure we initialize the port.lock spinlock
2020-06-30 15:38:24 -04:00
vt
vt: keyboard: avoid signed integer overflow in k_ascii
2020-06-11 09:22:22 +02:00
amiserial.c
bfin_jtag_comm.c
cyclades.c
ehv_bytechan.c
tty: evh_bytechan: Fix out of bounds accesses
2020-04-24 07:59:15 +02:00
goldfish.c
isicom.c
Kconfig
tty: ldisc: add sysctl to prevent autoloading of ldiscs
2019-04-17 08:36:44 +02:00
Makefile
metag_da.c
mips_ejtag_fdc.c
moxa.c
moxa.h
mxser.c
mxser.h
n_gsm.c
tty: n_gsm: Fix bogus i++ in gsm_data_kick
2020-06-30 15:38:26 -04:00
n_hdlc.c
tty: Don't block on IO when ldisc change is pending
2019-12-21 10:41:25 +01:00
n_r3964.c
tty: Don't block on IO when ldisc change is pending
2019-12-21 10:41:25 +01:00
n_tracerouter.c
n_tracesink.c
n_tracesink.h
n_tty.c
tty: Don't block on IO when ldisc change is pending
2019-12-21 10:41:25 +01:00
nozomi.c
pty.c
tty: Fix data race in tty_insert_flip_string_fixed_flag
2018-08-03 07:55:22 +02:00
rocket.c
tty: rocket, avoid OOB access
2020-05-02 17:23:12 +02:00
rocket.h
rocket_int.h
synclink.c
synclink_gt.c
tty: synclink_gt: Adjust indentation in several functions
2020-02-28 15:42:32 +01:00
synclinkmp.c
tty: synclinkmp: Adjust indentation in several functions
2020-02-28 15:42:32 +01:00
sysrq.c
sysrq: Remove duplicated sysrq message
2020-03-11 07:53:04 +01:00
tty_audit.c
tty_buffer.c
tty: increase the default flip buffer limit to 2*640K
2019-04-05 22:29:13 +02:00
tty_io.c
tty: ldisc: add sysctl to prevent autoloading of ldiscs
2019-04-17 08:36:44 +02:00
tty_ioctl.c
termios, tty/tty_baudrate.c: fix buffer overrun
2018-11-21 09:26:00 +01:00
tty_ldisc.c
tty: Don't block on IO when ldisc change is pending
2019-12-21 10:41:25 +01:00
tty_ldsem.c
tty/ldsem, locking/rwsem: Add missing ACQUIRE to read_failed sleep loop
2019-08-25 10:51:35 +02:00
tty_mutex.c
tty_port.c
tty: always relink the port
2020-01-14 20:04:30 +01:00