alistair23-linux/drivers/usb/serial
Johan Hovold 8c34cb8ddf USB: serial: quatech2: fix control-message error handling
Make sure to detect short control-message transfers when fetching
modem and line state in open and when retrieving registers.

This specifically makes sure that an errno is returned to user space on
errors in TIOCMGET instead of a zero bitmask.

Also drop the unused getdevice function which also lacked appropriate
error handling.

Fixes: f7a33e608d ("USB: serial: add quatech2 usb to serial driver")
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
2017-01-16 16:38:56 +01:00
..
aircable.c
ark3116.c USB: serial: ark3116: fix open error handling 2017-01-16 16:38:55 +01:00
belkin_sa.c
belkin_sa.h
bus.c
ch341.c USB: serial: ch341: change initial line-control settings 2017-01-16 12:32:21 +01:00
console.c tty: Replace ASYNC_INITIALIZED bit and update atomically 2016-04-30 09:26:55 -07:00
cp210x.c USB-serial updates for v4.10-rc1 2016-12-01 16:12:12 +01:00
cyberjack.c USB: serial: cyberjack: fix NULL-deref at open 2017-01-04 10:37:14 +01:00
cypress_m8.c USB: serial: cypress_m8: remove unused variable 2017-01-16 12:26:58 +01:00
cypress_m8.h
digi_acceleport.c tty: Replace TTY_THROTTLED bit tests with tty_throttled() 2016-04-30 09:26:55 -07:00
empeg.c
ezusb_convert.pl
f81232.c
f81534.c USB: serial: f81534: detect errors from f81534_logic_to_phy_port() 2017-01-02 10:31:08 +01:00
ftdi_sio.c USB: serial: ftdi_sio: fix latency-timer error handling 2017-01-16 16:38:55 +01:00
ftdi_sio.h
ftdi_sio_ids.h USB: serial: ftdi_sio: add support for TI CC3200 LaunchPad 2016-11-07 10:23:03 +01:00
garmin_gps.c USB: serial: garmin_gps: fix memory leak on failed URB submit 2017-01-04 10:37:15 +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-01-16 16:38:56 +01:00
io_edgeport.h
io_ionsp.h
io_tables.h
io_ti.c USB: serial: io_ti: bind to interface after fw download 2017-01-04 10:37:17 +01:00
io_ti.h
io_usbvend.h
ipaq.c
ipw.c
ir-usb.c
iuu_phoenix.c USB: serial: iuu_phoenix: remove unused buffer from open 2017-01-16 16:38:56 +01:00
iuu_phoenix.h
Kconfig USB: serial: add Fintek F81532/534 driver 2016-11-29 11:13:16 +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: verify endpoints at probe 2017-01-04 10:37:18 +01:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
kl5kusb105.c USB: serial: kl5kusb105: remove unused termios structure 2017-01-16 13:00:22 +01:00
kl5kusb105.h
kobil_sct.c USB: serial: kobil_sct: fix NULL-deref in write 2017-01-04 10:37:18 +01:00
kobil_sct.h
Makefile USB: serial: add Fintek F81532/534 driver 2016-11-29 11:13:16 +01:00
Makefile-keyspan_pda_fw
mct_u232.c USB: serial: mct_u232: fix modem-status error handling 2017-01-16 16:38:56 +01:00
mct_u232.h
metro-usb.c
mos7720.c USB: serial: mos7720: fix control-message error handling 2017-01-16 16:38:56 +01:00
mos7840.c USB: serial: mos7840: fix control-message error handling 2017-01-16 16:38:56 +01: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 NULL-derefs at open and disconnect 2017-01-04 10:37:21 +01:00
opticon.c USB: serial: fix invalid user-pointer checks 2016-11-11 17:54:04 +01:00
option.c USB: serial: option: add dlink dwm-158 2016-12-09 11:44:11 +01:00
oti6858.c USB: serial: oti6858: fix NULL-deref at open 2017-01-04 10:43:48 +01:00
oti6858.h
pl2303.c USB: serial: pl2303: fix line-setting error handling 2017-01-16 16:38:56 +01:00
pl2303.h
qcaux.c
qcserial.c
quatech2.c USB: serial: quatech2: fix control-message error handling 2017-01-16 16:38:56 +01:00
safe_serial.c
sierra.c tty: Replace ASYNC_INITIALIZED bit and update atomically 2016-04-30 09:26:55 -07:00
spcp8x5.c USB: serial: spcp8x5: fix NULL-deref at open 2017-01-04 10:43:57 +01:00
ssu100.c USB: serial: fix invalid user-pointer checks 2016-11-11 17:54:04 +01:00
symbolserial.c
ti_usb_3410_5052.c USB: serial: ti_usb_3410_5052: fix NULL-deref at open 2017-01-04 10:43:57 +01: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_debug.c
usb_wwan.c USB: serial: fix invalid user-pointer checks 2016-11-11 17:54:04 +01:00
visor.c
visor.h
whiteheat.c
whiteheat.h
wishbone-serial.c
xsens_mt.c