mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-11 13:04:03 +08:00
f44b799603
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:
|
||
---|---|---|
.. | ||
exynos-nocp.c | ||
exynos-nocp.h | ||
exynos-ppmu.c | ||
exynos-ppmu.h | ||
Kconfig | ||
Makefile | ||
rockchip-dfi.c |