android_kernel_msm-6.1_noth.../drivers/usb/common
Greg Kroah-Hartman dcbe69f4f7 USB: ULPI: fix memory leak with using debugfs_lookup()
[ Upstream commit 8f4d25eba599c4bd4b5ea8ae8752cda480a9d563 ]

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.

Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20230202153235.2412790-2-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-11 13:55:36 +01:00
..
common.c
common.h
debug.c usb: common: debug: Check non-standard control requests 2022-08-19 11:04:25 +02:00
Kconfig
led.c
Makefile
ulpi.c USB: ULPI: fix memory leak with using debugfs_lookup() 2023-03-11 13:55:36 +01:00
usb-conn-gpio.c usb: common: usb-conn-gpio: Simplify some error message 2022-08-18 21:16:02 +02:00
usb-otg-fsm.c