Searched hist:d1ff2559cef0f6f8d97fba6337b28adb10689e16 (Results 1 – 1 of 1) sorted by relevance
/linux/arch/arm/mach-zynq/ |
H A D | common.c | diff d1ff2559cef0f6f8d97fba6337b28adb10689e16 Sun Jun 05 10:28:07 CEST 2022 Miaoqian Lin <linmq006@gmail.com> cpufreq: zynq: Fix refcount leak in zynq_get_revision
of_find_compatible_node() returns a node pointer with refcount incremented, we should use of_node_put() on it when done. Add missing of_node_put() to avoid refcount leak.
Fixes: 00f7dc636366 ("ARM: zynq: Add support for SOC_BUS") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Link: https://lore.kernel.org/r/20220605082807.21526-1-linmq006@gmail.com Signed-off-by: Michal Simek <michal.simek@amd.com>
|