linux/kernel/power
Greg Kroah-Hartman 5100c4efc3 PM: EM: fix memory leak with using debugfs_lookup()
[ Upstream commit a0e8c13ccd ]

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.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-10 09:33:53 +01:00
..
autosleep.c
console.c
energy_model.c PM: EM: fix memory leak with using debugfs_lookup() 2023-03-10 09:33:53 +01:00
hibernate.c PM: hibernate: Allow hybrid sleep to work with s2idle 2022-10-25 14:53:19 +02:00
Kconfig
main.c
Makefile
power.h
poweroff.c
process.c PM: sleep: Avoid using pr_cont() in the tasks freezing code 2023-03-03 11:52:23 +01:00
qos.c
snapshot.c PM: hibernate: Fix mistake in kerneldoc comment 2022-12-31 13:31:55 +01:00
suspend_test.c
suspend.c
swap.c
user.c
wakelock.c