Re: [PATCH] powerpc: icp-hv: fix missing of_node_put in success path

2020-09-09 Thread Michael Ellerman
On Wed, 4 Jul 2018 10:03:27 +0200, Nicholas Mc Guire wrote: > Both of_find_compatible_node() and of_find_node_by_type() will > return a refcounted node on success - thus for the success path > the node must be explicitly released with a of_node_put(). Applied to powerpc/next. [1/1] powerpc/icp-h

[PATCH] powerpc: icp-hv: fix missing of_node_put in success path

2018-07-04 Thread Nicholas Mc Guire
Both of_find_compatible_node() and of_find_node_by_type() will return a refcounted node on success - thus for the success path the node must be explicitly released with a of_node_put(). Signed-off-by: Nicholas Mc Guire Fixes: commit 0b05ac6e2480 ("powerpc/xics: Rewrite XICS driver") --- Problem