Re: [PATCH] powerpc/spufs: Fix refcount leak in spufs_init_isolated_loader

2022-08-02 Thread Michael Ellerman
On Fri, 3 Jun 2022 16:15:42 +0400, Miaoqian Lin 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. > > Applied to powerpc/next. [1/1] powerpc/spufs: Fix r

Re: [PATCH] powerpc/spufs: Fix refcount leak in spufs_init_isolated_loader

2022-06-03 Thread Arnd Bergmann
On Fri, Jun 3, 2022 at 2:15 PM Miaoqian Lin 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 mo

[PATCH] powerpc/spufs: Fix refcount leak in spufs_init_isolated_loader

2022-06-03 Thread Miaoqian Lin
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 L