Re: powerpc/powermac: fix OF node refcount leak

2017-12-12 Thread Michael Ellerman
On Tue, 2017-01-31 at 17:43:55 UTC, Dmitry Torokhov wrote: > We need to call of_node_put() for device nodes obtained with > of_find_node_by_name(). > > Signed-off-by: Dmitry Torokhov Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/2aaf0a198d7af53a946ad69976d3cc cheers

[PATCH] powerpc/powermac: fix OF node refcount leak

2017-01-31 Thread Dmitry Torokhov
We need to call of_node_put() for device nodes obtained with of_find_node_by_name(). Signed-off-by: Dmitry Torokhov --- Found by visual inspection, not tested... arch/powerpc/platforms/powermac/pic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/powermac/pic.c b/a