diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2022-05-12 06:16:10 +0400 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2022-06-10 08:43:05 +0200 |
commit | 34d2cd3fccced12b958b8848e3eff0ee4296764c (patch) | |
tree | 4270e9fc0badf35df46d45398ba0c67c728800ea /arch/arm/lib/bswapsdi2.S | |
parent | f2906aa863381afb0015a9eb7fefad885d4e5a56 (diff) | |
download | linux-34d2cd3fccced12b958b8848e3eff0ee4296764c.tar.bz2 |
ARM: meson: Fix refcount leak in meson_smp_prepare_cpus
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: d850f3e5d296 ("ARM: meson: Add SMP bringup code for Meson8 and Meson8b")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20220512021611.47921-1-linmq006@gmail.com
Diffstat (limited to 'arch/arm/lib/bswapsdi2.S')
0 files changed, 0 insertions, 0 deletions