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 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bcm2711.c ARM: bcm: Add missing sentinel to bcm2711_compat[] 2019-12-15 19:32:28 -08:00
bcm_5301x.c ARM: BCM5301X: Add back handler ignoring external imprecise aborts 2016-11-16 12:39:05 -08:00
bcm_cygnus.c
bcm_hr2.c ARM: bcm: Add support for Broadcom Hurricane 2 SoC 2017-10-12 11:30:20 -07:00
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 ARM: mach-bcm: Switch bcm2835 and platsmp to SPDX identifier 2018-11-14 20:55:30 +01:00
board_bcm21664.c ARM: SoC platform updates for v4.8 2016-08-01 18:27:08 -04:00
board_bcm23550.c ARM: Add support for Broadcom BCM23550 SoC 2016-06-06 11:47:28 -07:00
brcmstb.c soc: brcmstb: biuctrl: Move to early_initcall 2017-12-20 17:37:44 -08:00
kona_l2_cache.c ARM: bcm: fix missing include of kona_l2_cache.h 2016-06-08 10:17:15 -07:00
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 ARM: mach-bcm: Switch bcm2835 and platsmp to SPDX identifier 2018-11-14 20:55:30 +01:00