Re: [PATCH] ARM: ux500: Fix refcount leak in ux500_pm_domains_init

From: Linus Walleij
Date: Sun Apr 09 2023 - 16:59:39 EST


On Mon, Jan 2, 2023 at 10:47 AM Miaoqian Lin <linmq006@xxxxxxxxx> wrote:

> of_irq_find_parent() returns a node pointer with refcount incremented,
> We should use of_node_put() on it when not needed anymore.
> Add missing of_node_put() in the error path to avoid refcount leak.
>
> Fixes: cd931dcfda5e ("ARM: ux500: Initial support for PM domains")
> Signed-off-by: Miaoqian Lin <linmq006@xxxxxxxxx>

Patch applied. Sorry for forgetting about this patch!

Yours,
Linus Walleij