linux/drivers/usb/serial
Johan Hovold 6aeb75e6ad USB: serial: io_ti: fix div-by-zero in set_termios
Fix a division-by-zero in set_termios when debugging is enabled and a
high-enough speed has been requested so that the divisor value becomes
zero.

Instead of just fixing the offending debug statement, cap the baud rate
at the base as a zero divisor value also appears to crash the firmware.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Cc: stable <stable@vger.kernel.org>     # 2.6.12
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
2017-05-15 11:52:04 +02:00
..
aircable.c USB: serial: aircable: use calc_num_endpoints to verify endpoints 2017-03-28 11:00:08 +02:00
ark3116.c USB: serial: ark3116: simplify endpoint sanity check 2017-03-16 10:33:42 +01:00
belkin_sa.c
belkin_sa.h
bus.c USB: serial: clean up bus probe error handling 2015-02-26 17:13:05 +01:00
ch341.c USB: serial: ch341: change initial line-control settings 2017-01-16 12:32:21 +01:00
console.c USB: serial: console: clean up sanity checks 2017-02-08 21:20:49 +01:00
cp210x.c USB/PHY patches for 4.11-rc1 2017-02-22 11:15:59 -08:00
cyberjack.c USB: serial: cyberjack: simplify endpoint check 2017-03-16 10:33:42 +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 USB: serial: digi_acceleport: simplify endpoint check 2017-03-16 10:33:42 +01:00
empeg.c
ezusb_convert.pl
f81232.c USB: f81232: fix some minor style issues 2015-03-27 17:36:29 +01:00
f81534.c USB: serial: f81534: clean up port bulk-out setup 2017-03-28 11:14:13 +02:00
ftdi_sio_ids.h USB: serial: ftdi_sio: add device ID for Microsemi/Arrow SF2PLUS Dev Kit 2017-04-19 09:58:50 +02:00
ftdi_sio.c USB: serial: ftdi_sio: fix setting latency for unprivileged users 2017-05-15 10:20:25 +02:00
ftdi_sio.h USB: serial: fix compare_const_fl.cocci warnings 2016-02-28 14:35:58 +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: relax generic driver bulk-endpoint requirement 2017-03-28 10:54:39 +02:00
io_16654.h
io_edgeport.c USB: serial: constify static arrays 2017-04-19 09:45:43 +02:00
io_edgeport.h
io_ionsp.h
io_ti.c USB: serial: io_ti: fix div-by-zero in set_termios 2017-05-15 11:52:04 +02:00
io_ti.h
io_usbvend.h
ipaq.c USB: serial: ipaq: always register a single port 2017-03-28 11:00:09 +02:00
ipw.c
ir-usb.c USB: serial: ir-usb: fix big-endian baud-rate debug printk 2017-05-15 11:50:34 +02:00
iuu_phoenix.c USB: serial: iuu_phoenix: drop excessive sanity checks 2017-04-10 09:42:00 +02:00
iuu_phoenix.h
Kconfig USB: serial: add uPD78F0730 USB to Serial Adaptor Driver 2017-01-26 10:18:17 +01:00
keyspan_pda.c USB: serial: keyspan_pda: simplify endpoint check 2017-03-16 10:33:44 +01:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
keyspan.c USB: serial: keyspan: drop header file 2017-02-15 17:42:28 +01:00
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: simplify endpoint check 2017-03-16 10:33:44 +01:00
kobil_sct.h
Makefile USB: serial: add uPD78F0730 USB to Serial Adaptor Driver 2017-01-26 10:18:17 +01:00
Makefile-keyspan_pda_fw
mct_u232.c USB: serial: mct_u232: fix big-endian baud-rate handling 2017-05-15 11:51:15 +02:00
mct_u232.h
metro-usb.c USB: serial: metro-usb: drop redundant URB reinitialisation 2017-02-08 19:28:02 +01:00
mos7720.c USB: serial: constify static arrays 2017-04-19 09:45:43 +02:00
mos7840.c USB: serial: drop termios-flag debugging 2017-03-29 16:14:35 +02:00
mxuport.c USB: serial: mxuport: clean up port bulk-out setup 2017-03-28 11:14:13 +02:00
navman.c
omninet.c USB: serial: omninet: use generic write implementation 2017-03-28 11:13:55 +02:00
opticon.c USB: serial: opticon: simplify endpoint check 2017-03-16 10:33:45 +01:00
option.c usb: serial: option: add Telit ME910 support 2017-05-15 10:02:26 +02:00
oti6858.c USB: serial: oti6858: simplify endpoint check 2017-03-16 10:33:46 +01:00
oti6858.h
pl2303.c USB: serial: pl2303: clean up legacy endpoint hack 2017-03-28 11:00:07 +02:00
pl2303.h USB: serial: pl2303: add ATEN device ID 2017-01-31 17:27:04 +01:00
qcaux.c
qcserial.c USB: serial: qcserial: add Dell DW5811e 2017-03-18 09:57:14 +01:00
quatech2.c USB: serial: quatech2: drop redundant tty_buffer_request_room 2017-04-10 09:42:00 +02:00
safe_serial.c USB: serial: safe_serial: fix information leak in completion handler 2017-03-08 16:14:42 +01:00
sierra.c USB: serial: allow subdrivers to modify port-endpoint mapping 2017-03-28 10:54:39 +02:00
spcp8x5.c USB: serial: spcp8x5: simplify endpoint check 2017-03-16 10:33:46 +01:00
ssu100.c USB: serial: drop unused ASYNC flags 2017-01-26 09:49:13 +01:00
symbolserial.c USB: serial: symbolserial: simplify endpoint check 2017-03-16 10:33:47 +01:00
ti_usb_3410_5052.c USB: serial: drop termios-flag debugging 2017-03-29 16:14:35 +02:00
upd78f0730.c USB: serial: upd78f0730: sort device ids 2017-02-13 14:50:44 +01:00
usb_debug.c USB patches for 4.12-rc1 2017-05-04 18:03:51 -07:00
usb_wwan.c USB: serial: fix invalid user-pointer checks 2016-11-11 17:54:04 +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: drop obsolete open-race workaround 2017-03-31 13:14:39 +02:00
usb-wwan.h USB: usb_wwan/option: generalize option_send_setup for other drivers 2015-10-09 12:42:40 +02:00
visor.c USB: serial: visor: clean up treo endpoint hack 2017-03-28 11:14:11 +02:00
visor.h
whiteheat.c USB: serial: whiteheat: simplify endpoint check 2017-03-16 10:33:47 +01:00
whiteheat.h
wishbone-serial.c
xsens_mt.c usb: serial: xsens_mt: always bind to interface number 1 2014-09-04 11:18:26 +02:00