android_kernel_sony_sdm845/drivers/usb/serial
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Johan Hovold c6d263e6b3 USB: serial: mos7840: fix control-message error handling
[ Upstream commit cd8db057e93ddaacbec025b567490555d2bca280 ]

Make sure to detect short transfers when reading a device register.

The modem-status handling had sufficient error checks in place, but move
handling of short transfers into the register accessor function itself
for consistency.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-10-08 10:26:06 +02:00
..
aircable.c
ark3116.c USB: serial: ark3116: fix open error handling 2017-05-14 14:00:19 +02:00
belkin_sa.c
belkin_sa.h
bus.c
ch341.c USB: serial: ch341: fix modem-control and B0 handling 2017-01-19 20:18:04 +01:00
console.c USB: serial: console: fix uninitialised spinlock 2017-02-26 11:10:52 +01:00
cp210x.c USB: serial: cp210x: add support for Qivicon USB ZigBee dongle 2017-08-16 13:43:18 -07:00
cyberjack.c USB: serial: cyberjack: fix NULL-deref at open 2017-01-12 11:39:15 +01:00
cypress_m8.c USB: cypress_m8: add endpoint sanity check 2016-03-31 09:28:46 -07:00
cypress_m8.h
digi_acceleport.c USB: serial: digi_acceleport: fix incomplete rx sanity check 2017-05-14 14:00:18 +02:00
empeg.c
ezusb_convert.pl
f81232.c
ftdi_sio.c USB: serial: ftdi_sio: add Olimex ARM-USB-TINY(H) PIDs 2017-05-25 15:44:38 +02:00
ftdi_sio.h USB: serial: fix compare_const_fl.cocci warnings 2016-02-28 14:35:58 +01:00
ftdi_sio_ids.h USB: serial: ftdi_sio: add Olimex ARM-USB-TINY(H) PIDs 2017-05-25 15:44:38 +02:00
garmin_gps.c USB: serial: garmin_gps: fix memory leak on failed URB submit 2017-01-12 11:39:14 +01:00
generic.c USB: serial: use variable for status 2016-07-16 12:45:39 +02:00
io_16654.h
io_edgeport.c USB: serial: io_edgeport: fix descriptor error handling 2017-05-14 14:00:19 +02:00
io_edgeport.h
io_ionsp.h
io_tables.h
io_ti.c USB: serial: io_ti: fix div-by-zero in set_termios 2017-05-25 15:44:40 +02:00
io_ti.h
io_usbvend.h
ipaq.c USB: ipaq.c: fix a timeout loop 2015-12-18 09:30:34 -08:00
ipw.c
ir-usb.c
iuu_phoenix.c USB: serial: iuu_phoenix: fix NULL-deref at open 2017-01-12 11:39:14 +01:00
iuu_phoenix.h
Kconfig Revert "USB: serial: add Moxa UPORT 11x0 driver" 2016-03-01 11:01:33 +01:00
keyspan.c USB: serial: keyspan: fix debug and error messages 2016-05-10 09:39:57 +02:00
keyspan.h
keyspan_pda.c USB: serial: keyspan_pda: fix receive sanity checks 2017-05-14 14:00:18 +02:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
kl5kusb105.c USB: serial: kl5kusb105: fix line-state error handling 2017-01-19 20:18:01 +01:00
kl5kusb105.h
kobil_sct.c USB: serial: kobil_sct: fix NULL-deref in write 2017-01-12 11:39:15 +01:00
kobil_sct.h
Makefile Revert "USB: serial: add Moxa UPORT 11x0 driver" 2016-03-01 11:01:33 +01:00
Makefile-keyspan_pda_fw
mct_u232.c USB: serial: mct_u232: fix big-endian baud-rate handling 2017-05-25 15:44:40 +02:00
mct_u232.h
metro-usb.c
mos7720.c USB: serial: mos7720: fix control-message error handling 2017-10-08 10:26:06 +02:00
mos7840.c USB: serial: mos7840: fix control-message error handling 2017-10-08 10:26:06 +02:00
mxuport.c USB patches for 4.7-rc1 2016-05-20 21:12:25 -07:00
navman.c
omninet.c USB: serial: omninet: fix reference leaks at open 2017-03-18 19:14:32 +08:00
opticon.c USB: serial: opticon: fix CTS retrieval at open 2017-02-26 11:10:52 +01:00
option.c USB: serial: option: add support for D-Link DWM-157 C1 2017-09-09 17:39:36 +02:00
oti6858.c USB: serial: oti6858: fix NULL-deref at open 2017-01-12 11:39:15 +01:00
oti6858.h
pl2303.c USB: serial: pl2303: add new ATEN device id 2017-08-16 13:43:19 -07:00
pl2303.h USB: serial: pl2303: add new ATEN device id 2017-08-16 13:43:19 -07:00
qcaux.c
qcserial.c USB: serial: qcserial: new Sierra Wireless EM7305 device ID 2017-07-12 15:01:06 +02:00
quatech2.c USB: serial: quatech2: fix control-message error handling 2017-05-14 14:00:19 +02:00
safe_serial.c USB: serial: safe_serial: fix information leak in completion handler 2017-03-18 19:14:32 +08:00
sierra.c tty: Replace ASYNC_INITIALIZED bit and update atomically 2016-04-30 09:26:55 -07:00
spcp8x5.c USB: serial: spcp8x5: fix modem-status handling 2017-02-26 11:10:51 +01:00
ssu100.c USB: serial: ssu100: fix control-message error handling 2017-05-14 14:00:18 +02:00
symbolserial.c USB: symbolserial: Correct transferred data size 2015-08-18 10:06:22 -07:00
ti_usb_3410_5052.c USB: serial: ti_usb_3410_5052: fix control-message error handling 2017-05-14 14:00:19 +02:00
usb-serial-simple.c USB: serial: simple: add support for another Infineon flashloader 2016-09-12 10:19:41 +02:00
usb-serial.c USB: serial: fix potential NULL-dereference at probe 2016-10-21 16:47:17 +02:00
usb-wwan.h USB: usb_wwan/option: generalize option_send_setup for other drivers 2015-10-09 12:42:40 +02:00
usb_debug.c
usb_wwan.c tty: Replace ASYNC_INITIALIZED bit and update atomically 2016-04-30 09:26:55 -07:00
visor.c USB: serial: visor: fix crash on detecting device without write_urbs 2016-01-25 11:40:45 +01:00
visor.h
whiteheat.c USB: whiteheat: fix potential null-deref at probe 2015-09-23 12:15:19 -07:00
whiteheat.h
wishbone-serial.c
xsens_mt.c