kernel_optimize_test/drivers/usb/serial
Alexey Klimov 647024a7df USB: serial: fix memleak in driver-registration error path
udriver struct allocated by kzalloc() will not be freed
if usb_register() and next calls fail. This patch fixes this
by adding one more step with kfree(udriver) in error path.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
2016-08-08 13:41:17 +02:00
..
aircable.c
ark3116.c
belkin_sa.c
belkin_sa.h
bus.c
ch341.c
console.c tty: Replace ASYNC_INITIALIZED bit and update atomically 2016-04-30 09:26:55 -07:00
cp210x.c USB: serial: cp210x: use kmemdup 2016-07-15 14:23:21 +02:00
cyberjack.c
cypress_m8.c USB: cypress_m8: add endpoint sanity check 2016-03-31 09:28:46 -07: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
ftdi_sio_ids.h USB: serial: ftdi_sio: add device ID for WICED USB UART dev board 2016-08-08 12:24:14 +02:00
ftdi_sio.c USB: serial: ftdi_sio: add device ID for WICED USB UART dev board 2016-08-08 12:24:14 +02:00
ftdi_sio.h
garmin_gps.c
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 memory leaks in probe error path 2016-05-10 09:39:30 +02:00
io_edgeport.h
io_ionsp.h
io_tables.h
io_ti.c
io_ti.h
io_usbvend.h
ipaq.c
ipw.c
ir-usb.c
iuu_phoenix.c USB: serial: fix boolinit.cocci warnings 2016-02-28 14:36:53 +01:00
iuu_phoenix.h
Kconfig Revert "USB: serial: add Moxa UPORT 11x0 driver" 2016-03-01 11:01:33 +01:00
keyspan_pda.c
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
keyspan.c USB: serial: keyspan: fix debug and error messages 2016-05-10 09:39:57 +02:00
keyspan.h
kl5kusb105.c USB: serial: fix semicolon.cocci warnings 2016-02-28 14:36:53 +01:00
kl5kusb105.h
kobil_sct.c
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: mct_u232: add sanity checking in probe 2016-03-31 09:28:46 -07:00
mct_u232.h
metro-usb.c
mos7720.c USB: mos7720: delete parport 2016-06-07 22:15:25 -07:00
mos7840.c USB patches for 4.6-rc1 2016-03-17 14:24:26 -07:00
mxuport.c USB patches for 4.7-rc1 2016-05-20 21:12:25 -07:00
navman.c
omninet.c
opticon.c
option.c USB: serial: option: add support for Telit LE920A4 2016-08-08 12:36:27 +02:00
oti6858.c
oti6858.h
pl2303.c
pl2303.h
qcaux.c
qcserial.c USB: qcserial: add Sierra Wireless EM74xx device ID 2016-03-02 09:35:32 +01:00
quatech2.c USB: serial: quatech2: fix use-after-free in probe error path 2016-05-10 09:40:09 +02:00
safe_serial.c USB: serial: fix boolinit.cocci warnings 2016-02-28 14:36:53 +01:00
sierra.c tty: Replace ASYNC_INITIALIZED bit and update atomically 2016-04-30 09:26:55 -07:00
spcp8x5.c
ssu100.c
symbolserial.c
ti_usb_3410_5052.c USB: serial: ti_usb_3410_5052: use functions rather than macros 2016-07-15 12:40:28 +02:00
usb_debug.c
usb_wwan.c tty: Replace ASYNC_INITIALIZED bit and update atomically 2016-04-30 09:26:55 -07:00
usb-serial-simple.c
usb-serial.c USB: serial: fix memleak in driver-registration error path 2016-08-08 13:41:17 +02:00
usb-wwan.h
visor.c
visor.h
whiteheat.c
whiteheat.h
wishbone-serial.c
xsens_mt.c