2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 14:43:58 +08:00
linux-next/drivers/devfreq/event
Miaoqian Lin f44b799603 PM / devfreq: exynos-ppmu: Fix refcount leak in of_get_devfreq_events
of_get_child_by_name() returns a node pointer with refcount
incremented, we should use of_node_put() on it when done.
This function only calls of_node_put() in normal path,
missing it in error paths.
Add missing of_node_put() to avoid refcount leak.

Fixes: f262f28c14 ("PM / devfreq: event: Add devfreq_event class")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
2022-06-30 05:11:17 +09:00
..
exynos-nocp.c PM / devfreq: exynos: Rename Exynos to lowercase 2020-01-06 10:50:09 +09:00
exynos-nocp.h PM / devfreq: exynos: Rename Exynos to lowercase 2020-01-06 10:50:09 +09:00
exynos-ppmu.c PM / devfreq: exynos-ppmu: Fix refcount leak in of_get_devfreq_events 2022-06-30 05:11:17 +09:00
exynos-ppmu.h PM / devfreq: exynos: Rename Exynos to lowercase 2020-01-06 10:50:09 +09:00
Kconfig PM / devfreq: exynos: Rename Exynos to lowercase 2020-01-06 10:50:09 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
rockchip-dfi.c PM / devfreq: rockchip-dfi: Convert to devm_platform_ioremap_resource 2019-12-30 09:59:06 +09:00