[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK8P3a1ayYJ4P8UKndaSUBH=5i6CBMeeerpz-GyHESgbteuSyg@mail.gmail.com>
Date: Fri, 3 Jun 2022 14:29:07 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Miaoqian Lin <linmq006@...il.com>
Cc: Jeremy Kerr <jk@...abs.org>, Arnd Bergmann <arnd@...db.de>,
Michael Ellerman <mpe@...erman.id.au>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] powerpc/spufs: Fix refcount leak in spufs_init_isolated_loader
On Fri, Jun 3, 2022 at 2:15 PM Miaoqian Lin <linmq006@...il.com> wrote:
>
> of_find_node_by_path() returns remote device nodepointer with
> refcount incremented, we should use of_node_put() on it when done.
> Add missing of_node_put() to avoid refcount leak.
>
> Fixes: 0afacde3df4c ("[POWERPC] spufs: allow isolated mode apps by starting the SPE loader")
> Signed-off-by: Miaoqian Lin <linmq006@...il.com>
Acked-by: Arnd Bergmann <arnd@...db.de>
Powered by blists - more mailing lists