[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdaxPt5eVM3D17qx24XH0-3gceDYCODNudv0PFYrCsB-2A@mail.gmail.com>
Date: Sun, 9 Apr 2023 22:59:20 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Miaoqian Lin <linmq006@...il.com>
Cc: Russell King <linux@...linux.org.uk>,
Ulf Hansson <ulf.hansson@...aro.org>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARM: ux500: Fix refcount leak in ux500_pm_domains_init
On Mon, Jan 2, 2023 at 10:47 AM Miaoqian Lin <linmq006@...il.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@...il.com>
Patch applied. Sorry for forgetting about this patch!
Yours,
Linus Walleij
Powered by blists - more mailing lists