[PATCH v3] soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs
Florian Fainelli
f.fainelli at gmail.com
Mon Aug 29 10:30:26 PDT 2022
On Thu, 7 Jul 2022 09:56:20 +0800, Liang He <windhl at 126.com> wrote:
> 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: 0b741b8234c8 ("soc: bcm: brcmstb: Add support for S2/S3/S5 suspend states (ARM)")
> Signed-off-by: Liang He <windhl at 126.com>
> ---
Applied to https://github.com/Broadcom/stblinux/commits/drivers/fixes, thanks!
--
Florian
More information about the linux-arm-kernel
mailing list