WSL2-Linux-Kernel/arch/arm/mach-bcm
Miaoqian Lin bc7f487395 ARM: bcm: Fix refcount leak in bcm_kona_smc_init
[ Upstream commit cb23389a24 ]

of_find_matching_node() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not need anymore.
Add missing of_node_put() to avoid refcount leak.

Fixes: b8eb35fd59 ("ARM: bcm281xx: Add L2 cache enable code")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-17 14:23:06 +02:00
..
Kconfig ARM: bcm: Select BRCMSTB_L2_IRQ for bcm2835 2021-01-25 21:59:06 +01:00
Makefile ARM: bcm: Add support for BCM2711 SoC 2019-10-10 19:21:03 +02:00
bcm63xx.c
bcm63xx_pmb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
bcm63xx_smp.c ARM: SoC platform updates 2019-07-19 17:05:08 -07:00
bcm63xx_smp.h
bcm2711.c ARM: bcm: Add missing sentinel to bcm2711_compat[] 2019-12-15 19:32:28 -08:00
bcm_5301x.c
bcm_cygnus.c
bcm_hr2.c
bcm_kona_smc.c ARM: bcm: Fix refcount leak in bcm_kona_smc_init 2022-08-17 14:23:06 +02:00
bcm_kona_smc.h
bcm_nsp.c
board_bcm281xx.c ARM: bcm: fix a leaked reference by adding missing of_node_put 2019-05-20 09:34:26 -07:00
board_bcm2835.c
board_bcm21664.c
board_bcm23550.c
brcmstb.c
kona_l2_cache.c
kona_l2_cache.h
platsmp-brcmstb.c ARM: bcm: fix a leaked reference by adding missing of_node_put 2019-05-20 09:34:26 -07:00
platsmp.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
platsmp.h