linux-uconsole/drivers/usb/serial
Geert Uytterhoeven dae7ffc78e USB: serial: cp210x: use tcflag_t to fix incompatible pointer type
commit 009615ab7f upstream.

On sparc32, tcflag_t is unsigned long, unlike all other architectures:

    drivers/usb/serial/cp210x.c: In function 'cp210x_get_termios':
    drivers/usb/serial/cp210x.c:717:3: warning: passing argument 2 of 'cp210x_get_termios_port' from incompatible pointer type
       cp210x_get_termios_port(tty->driver_data,
       ^
    drivers/usb/serial/cp210x.c:35:13: note: expected 'unsigned int *' but argument is of type 'tcflag_t *'
     static void cp210x_get_termios_port(struct usb_serial_port *port,
		 ^

Consistently use tcflag_t to fix this.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-06-06 16:46:20 +02:00
..
aircable.c
ark3116.c USB: serial: ark3116: fix open error handling 2017-05-14 13:32:56 +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:17:21 +01:00
console.c USB: serial: console: fix use-after-free after failed setup 2017-10-18 09:20:43 +02:00
cp210x.c USB: serial: cp210x: use tcflag_t to fix incompatible pointer type 2018-06-06 16:46:20 +02:00
cyberjack.c USB: serial: cyberjack: fix NULL-deref at open 2017-01-12 11:22:46 +01:00
cypress_m8.c USB: cypress_m8: add endpoint sanity check 2016-04-12 09:08:42 -07:00
cypress_m8.h
digi_acceleport.c USB: serial: digi_acceleport: fix incomplete rx sanity check 2017-05-14 13:32:56 +02:00
empeg.c
ezusb_convert.pl
f81232.c
ftdi_sio.c USB: serial: ftdi_sio: use jtag quirk for Arrow USB Blaster 2018-05-02 07:53:39 -07:00
ftdi_sio.h
ftdi_sio_ids.h USB: serial: ftdi_sio: add support for Harman FirmwareHubEmulator 2018-04-08 11:52:00 +02:00
garmin_gps.c USB: serial: garmin_gps: fix memory leak on probe errors 2017-11-21 09:21:23 +01:00
generic.c
io_16654.h
io_edgeport.c USB: serial: io_edgeport: fix possible sleep-in-atomic 2018-02-03 17:04:30 +01: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 14:30:13 +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:22:46 +01:00
iuu_phoenix.h
Kconfig USB: serial: simple: add libtransistor console 2018-05-02 07:53:39 -07:00
keyspan.c USB: serial: keyspan: fix use-after-free in probe error path 2016-06-01 12:15:51 -07:00
keyspan.h
keyspan_pda.c USB: serial: keyspan_pda: fix receive sanity checks 2017-05-14 13:32:56 +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:17:20 +01:00
kl5kusb105.h
kobil_sct.c USB: serial: kobil_sct: fix NULL-deref in write 2017-01-12 11:22:46 +01:00
kobil_sct.h
Makefile
Makefile-keyspan_pda_fw
mct_u232.c USB: serial: mct_u232: fix big-endian baud-rate handling 2017-05-25 14:30:13 +02:00
mct_u232.h
metro-usb.c USB: serial: metro-usb: add MS7820 device id 2017-10-27 10:23:15 +02:00
mos7720.c USB: serial: mos7720: fix control-message error handling 2017-10-08 10:14:17 +02:00
mos7840.c USB: serial: mos7840: fix control-message error handling 2017-10-08 10:14:18 +02:00
mxuport.c USB: serial: mxuport: fix use-after-free in probe error path 2016-06-01 12:15:51 -07:00
navman.c
omninet.c USB: serial: omninet: fix reference leaks at open 2017-03-18 19:09:58 +08:00
opticon.c USB: serial: opticon: fix CTS retrieval at open 2017-02-26 11:07:51 +01:00
option.c USB: serial: option: adding support for ublox R410M 2018-05-16 10:06:49 +02:00
oti6858.c USB: serial: oti6858: fix NULL-deref at open 2017-01-12 11:22:46 +01:00
oti6858.h
pl2303.c USB: serial: pl2303: new device id for Chilitag 2018-02-03 17:04:29 +01:00
pl2303.h USB: serial: pl2303: new device id for Chilitag 2018-02-03 17:04:29 +01:00
qcaux.c
qcserial.c USB: serial: qcserial: add Sierra Wireless EM7565 2018-01-02 20:33:27 +01:00
quatech2.c USB: serial: quatech2: fix control-message error handling 2017-05-14 13:32:57 +02:00
safe_serial.c USB: serial: safe_serial: fix information leak in completion handler 2017-03-18 19:09:57 +08:00
sierra.c
spcp8x5.c USB: serial: spcp8x5: fix modem-status handling 2017-02-26 11:07:51 +01:00
ssu100.c USB: serial: ssu100: fix control-message error handling 2017-05-14 13:32:56 +02:00
symbolserial.c
ti_usb_3410_5052.c USB: serial: ti_usb_3410_5052: fix control-message error handling 2017-05-14 13:32:56 +02:00
ti_usb_3410_5052.h USB: ti_usb_3410_5052: Add Honeywell HGI80 ID 2015-11-16 14:07:01 +01:00
usb-serial-simple.c USB: serial: simple: add libtransistor console 2018-05-02 07:53:39 -07:00
usb-serial.c USB: serial: fix potential NULL-dereference at probe 2016-11-10 16:36:33 +01:00
usb-wwan.h
usb_debug.c
usb_wwan.c
visor.c USB: serial: visor: handle potential invalid device configuration 2018-05-16 10:06:49 +02:00
visor.h
whiteheat.c
whiteheat.h
wishbone-serial.c
xsens_mt.c