WSL2-Linux-Kernel/drivers/devfreq
Boris Brezillon 111bafa210 PM / devfreq: Fix leak in devfreq_dev_release()
commit 5693d07759 upstream.

srcu_init_notifier_head() allocates resources that need to be released
with a srcu_cleanup_notifier_head() call.

Reported by kmemleak.

Fixes: 0fe3a66410 ("PM / devfreq: Add new DEVFREQ_TRANSITION_NOTIFIER notifier")
Cc: <stable@vger.kernel.org>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-19 12:22:50 +02:00
..
event PM / devfreq: exynos-ppmu: Fix refcount leak in of_get_devfreq_events 2022-07-07 17:53:27 +02:00
Kconfig PM / devfreq: imx8m-ddrc: Remove DEVFREQ_GOV_SIMPLE_ONDEMAND dependency 2021-05-21 13:16:21 +09:00
Makefile
devfreq-event.c
devfreq.c PM / devfreq: Fix leak in devfreq_dev_release() 2023-09-19 12:22:50 +02:00
exynos-bus.c
governor.h PM / devfreq: Remove the invalid description for get_target_freq 2021-04-08 13:14:51 +09:00
governor_passive.c PM / devfreq: passive: Fix get_target_freq when not using required-opp 2021-06-24 10:37:35 +09:00
governor_performance.c
governor_powersave.c
governor_simpleondemand.c
governor_userspace.c PM/devfreq: governor: Add a private governor_data for governor 2023-01-12 11:58:51 +01:00
imx-bus.c PM / devfreq: imx-bus: Remove imx_bus_get_dev_status 2021-05-21 13:16:10 +09:00
imx8m-ddrc.c PM / devfreq: imx8m-ddrc: Remove unneeded of_match_ptr() 2021-04-08 13:14:51 +09:00
rk3399_dmc.c PM / devfreq: rk3399_dmc: Disable edev on remove() 2022-06-09 10:22:41 +02:00
tegra30-devfreq.c PM / devfreq: tegra30: Support thermal cooling 2021-05-21 13:16:10 +09:00