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

Linus Walleij linus.walleij at linaro.org
Sun Apr 9 13:59:20 PDT 2023


On Mon, Jan 2, 2023 at 10:47 AM Miaoqian Lin <linmq006 at gmail.com> 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 at gmail.com>

Patch applied. Sorry for forgetting about this patch!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list