[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdasN70mBgqPozrckfvoOenRAk5t25y+bc0schuSkF9_Xg@mail.gmail.com>
Date: Wed, 13 Sep 2023 14:16:51 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Liang He <windhl@....com>
Cc: linux@...linux.org.uk, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] arm: mach-versatile: Fix refcount leak bug in tc2_pm
On Fri, Jun 17, 2022 at 2:30 PM Liang He <windhl@....com> wrote:
> In tc2_pm_init(), of_find_compatible_node() will return a node pointer
> with refcount incremented. We should use of_node_put() in fail path or
> when it is not used anymore.
>
> Signed-off-by: Liang He <windhl@....com>
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists