mirror_ubuntu-kernels/drivers/soc/bcm/brcmstb
Liang He 1085f50806 soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs
In brcmstb_pm_probe(), there are two kinds of leak bugs:

(1) we need to add of_node_put() when for_each__matching_node() breaks
(2) we need to add iounmap() for each iomap in fail path

Fixes: 0b741b8234 ("soc: bcm: brcmstb: Add support for S2/S3/S5 suspend states (ARM)")
Signed-off-by: Liang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220707015620.306468-1-windhl@126.com
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2022-08-29 10:30:22 -07:00
..
pm soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs 2022-08-29 10:30:22 -07:00
biuctrl.c soc: bcm: brcmstb: biuctrl: Add missing of_node_put() 2022-06-17 14:54:22 -07:00
common.c soc: bcm: brcmstb: remove unused variable 'brcmstb_machine_match' 2021-05-10 14:50:36 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00