[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMo8BfJ9N1JayakwAUxBQ5EyJ7PmoDKv=39D1pyxsaTroEpksQ@mail.gmail.com>
Date: Sat, 18 Jun 2022 15:02:25 -0700
From: Max Filippov <jcmvbkbc@...il.com>
To: Liang He <windhl@....com>
Cc: Chris Zankel <chris@...kel.net>,
"open list:TENSILICA XTENSA PORT (xtensa)"
<linux-xtensa@...ux-xtensa.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] xtensa: kernel: Fix refcount leak bug in time.c
On Fri, Jun 17, 2022 at 5:44 AM Liang He <windhl@....com> wrote:
>
> In calibrate_ccount(), of_find_compatible_node() will return a node
> pointer with refcount incremented. We should use of_node_put() when
> it is not used anymore.
>
> Signed-off-by: Liang He <windhl@....com>
> ---
> arch/xtensa/kernel/time.c | 1 +
> 1 file changed, 1 insertion(+)
Thanks. Applied to my xtensa tree.
-- Max
Powered by blists - more mailing lists