mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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 | ||