linux/drivers/usb/chipidea
Greg Kroah-Hartman ff35f3ea3b USB: chipidea: fix memory leak with using debugfs_lookup()
When calling debugfs_lookup() the result must have dput() called on it,
otherwise the memory will leak over time.  To make things simpler, just
call debugfs_lookup_and_remove() instead which handles all of the logic
at once.

Cc: Peter Chen <peter.chen@kernel.org>
Link: https://lore.kernel.org/r/20230202153235.2412790-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-02-06 13:46:41 +01:00
..
bits.h
ci.h usb: chipidea: core: handle suspend/resume for each role 2022-10-23 14:34:53 +02:00
ci_hdrc_imx.c usb: chipidea: ci_hdrc_imx: use dev_err_probe 2023-01-31 10:39:59 +01:00
ci_hdrc_imx.h usb: chipidea: usbmisc: group usbmisc operations for PM 2022-10-23 14:34:53 +02:00
ci_hdrc_msm.c
ci_hdrc_pci.c
ci_hdrc_tegra.c
ci_hdrc_usb2.c usb: chipidea: Add support for VBUS control with PHY 2022-08-31 09:07:52 +02:00
core.c usb: chipidea: core: fix possible constant 0 if use IS_ERR(ci->role_switch) 2023-01-17 17:05:02 +01:00
debug.c USB: chipidea: fix memory leak with using debugfs_lookup() 2023-02-06 13:46:41 +01:00
host.c usb: chipidea: host: add suspend/resume support for host controller 2022-10-23 14:34:53 +02:00
host.h
Kconfig usb: chipidea: make configs for glue drivers visible with EXPERT 2022-09-08 13:32:50 +02:00
Makefile
otg.c usb: chipidea: core: add controller resume support when controller is powered off 2022-10-23 14:34:53 +02:00
otg.h usb: chipidea: core: add controller resume support when controller is powered off 2022-10-23 14:34:53 +02:00
otg_fsm.c usb: chipidea: fix deadlock in ci_otg_del_timer 2022-11-09 12:34:18 +01:00
otg_fsm.h
trace.c
trace.h usb: chipidea: tracing: Use the new __vstring() helper 2022-07-15 17:44:40 -04:00
udc.c usb: chipidea: udc: add suspend/resume support for device controller 2022-10-23 14:34:53 +02:00
udc.h
ulpi.c
usbmisc_imx.c usb: chipidea: imx: Drop empty platform remove function 2023-01-06 16:37:14 +01:00