OpenCloudOS-Kernel/drivers/usb/gadget/udc
Christophe JAILLET ccaef7e6e3 usb: gadget: net2272: Fix a memory leak in an error handling path in 'net2272_plat_probe()'
'dev' is allocated in 'net2272_probe_init()'. It must be freed in the error
handling path, as already done in the remove function (i.e.
'net2272_plat_remove()')

Fixes: 90fccb529d ("usb: gadget: Gadget directory cleanup - group UDC drivers")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
2020-05-09 11:05:08 +03:00
..
aspeed-vhub usb: gadget: aspeed: add ast2600 vhub support 2020-03-15 12:11:47 +02:00
bdc usb: gadget: udc: bdc: Remove unnecessary NULL checks in bdc_req_complete 2020-04-16 11:02:26 +03:00
Kconfig usb: gadget: tegra-xudc: Remove usb-role-switch support 2020-03-19 14:18:57 +01:00
Makefile usb: gadget: add udc driver for max3420 2020-03-15 11:06:39 +02:00
amd5536udc.h usb: gadget: amd5536udc: fix spelling mistake "reserverd" -> "reserved" 2020-03-15 12:08:07 +02:00
amd5536udc_pci.c usb: gadget: udc: amd5536udc_pci: remove useless cast for driver.name 2020-02-19 11:10:24 +01:00
at91_udc.c usb: gadget: at91_udc: remove useless cast for driver.name 2020-02-19 11:10:25 +01:00
at91_udc.h USB: gadget: udc: Remove redundant license text 2017-11-07 15:45:02 +01:00
atmel_usba_udc.c usb: gadget: udc: atmel: Fix vbus disconnect handling 2020-04-17 11:55:29 +03:00
atmel_usba_udc.h usb: gadget: atmel: support USB suspend 2019-05-03 09:13:49 +03:00
bcm63xx_udc.c usb: gadget: bcm63xx_udc: create debugfs directory under usb root 2019-11-14 11:16:35 +08:00
core.c usb: gadget: udc: core: Warn about failed to find udc 2020-01-15 10:39:21 +01:00
dummy_hcd.c usb: gadget: dummy_hcd: remove useless cast for driver.name 2020-02-19 11:10:25 +01:00
fotg210-udc.c usb: gadget: fotg210-udc: remove useless cast for driver.name 2020-02-19 11:10:25 +01:00
fotg210.h USB: gadget: udc: Remove redundant license text 2017-11-07 15:45:02 +01:00
fsl_mxc_udc.c headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
fsl_qe_udc.c USB: gadget: udc: Remove redundant license text 2017-11-07 15:45:02 +01:00
fsl_qe_udc.h usb: Spelling s/enpoint/endpoint/ 2019-11-04 15:53:00 +01:00
fsl_udc_core.c usb: gadget: fsl: remove unused variable 'driver_desc' 2020-03-26 15:05:44 +01:00
fsl_usb2_udc.h USB: gadget: udc: Remove redundant license text 2017-11-07 15:45:02 +01:00
fusb300_udc.c usb: gadget: fusb300_udc: remove useless cast for driver.name 2020-02-19 11:10:25 +01:00
fusb300_udc.h USB: gadget: udc: Remove redundant license text 2017-11-07 15:45:02 +01:00
goku_udc.c usb: gadget: goku_udc: remove useless cast for driver.name 2020-02-19 11:10:25 +01:00
goku_udc.h usb: gadget: udc: change comparison to bitshift when dealing with a mask 2018-03-08 15:12:00 +02:00
gr_udc.c usb: gadget: udc: fix possible sleep-in-atomic-context bugs in gr_probe() 2020-01-15 10:39:22 +01:00
gr_udc.h USB: gadget: udc: gr_udc: no need to check return value of debugfs_create functions 2018-05-31 12:54:22 +02:00
lpc32xx_udc.c usb: gadget: lpc32xx_udc: remove useless cast for driver.name 2020-02-19 11:10:25 +01:00
m66592-udc.c usb: gadget: m66592-udc: remove useless cast for driver.name 2020-02-19 11:10:26 +01:00
m66592-udc.h USB: gadget: udc: Remove redundant license text 2017-11-07 15:45:02 +01:00
max3420_udc.c usb: gadget: add udc driver for max3420 2020-03-15 11:06:39 +02:00
mv_u3d.h usb: Spelling s/enpoint/endpoint/ 2019-11-04 15:53:00 +01:00
mv_u3d_core.c USB: gadget: udc: Remove redundant license text 2017-11-07 15:45:02 +01:00
mv_udc.h USB: gadget: udc: Remove redundant license text 2017-11-07 15:45:02 +01:00
mv_udc_core.c usb: gadget: udc: Remove unnecessary parentheses 2018-10-02 10:30:07 +03:00
net2272.c usb: gadget: net2272: Fix a memory leak in an error handling path in 'net2272_plat_probe()' 2020-05-09 11:05:08 +03:00
net2272.h USB: gadget: udc: Remove redundant license text 2017-11-07 15:45:02 +01:00
net2280.c usb: gadget: net2280: Distribute switch variables for initialization 2020-03-04 10:51:21 +01:00
net2280.h usb: gadget: net2280: Move all "ll" registers in one structure 2019-08-30 09:14:38 +03:00
omap_udc.c usb: gadget: omap_udc: remove useless cast for driver.name 2020-02-19 11:10:26 +01:00
omap_udc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pch_udc.c usb: gadget: pch_udc: fix use after free 2019-11-07 11:14:51 +01:00
pxa25x_udc.c usb: gadget: pxa25x_udc: use devm_platform_ioremap_resource() to simplify code 2019-10-22 10:29:37 +03:00
pxa25x_udc.h USB: gadget: udc: Remove redundant license text 2017-11-07 15:45:02 +01:00
pxa27x_udc.c usb: gadget: pxa27x: create debugfs directory under usb root 2019-11-14 17:50:09 +08:00
pxa27x_udc.h USB: gadget: udc: pxa27x_udc: no need to check return value of debugfs_create functions 2018-05-31 12:54:22 +02:00
r8a66597-udc.c usb: gadget: r8a66597-udc: remove useless cast for driver.name 2020-02-19 11:10:26 +01:00
r8a66597-udc.h USB: gadget: udc: Remove redundant license text 2017-11-07 15:45:02 +01:00
renesas_usb3.c usb: roles: Provide the switch drivers handle to the switch in the API 2020-03-04 11:12:50 +01:00
s3c-hsudc.c udc: s3c-hsudc: Silence warning about supplies during deferred probe 2020-03-15 12:04:27 +02:00
s3c2410_udc.c usb: gadget: udc: s3c2410_udc: create debugfs directory under usb root 2019-11-14 17:50:09 +08:00
s3c2410_udc.h USB: gadget: udc: Remove redundant license text 2017-11-07 15:45:02 +01:00
snps_udc_core.c usb: gadget: udc: reduce indentation 2019-01-28 12:51:30 +02:00
snps_udc_plat.c USB: gadget: udc: Remove redundant license text 2017-11-07 15:45:02 +01:00
tegra-xudc.c usb: gadget: tegra-xudc: Support multiple device modes 2020-03-19 14:18:57 +01:00
trace.c USB: gadget: udc: Remove redundant license text 2017-11-07 15:45:02 +01:00
trace.h gadget event trace : add request pointer 2017-12-11 12:36:49 +02:00
udc-xilinx.c usb: gadget: udc-xilinx: Fix xudc_stop() kernel-doc format 2020-02-12 10:39:00 -08:00