Re: [PATCH] arm64: spin-table: add missing of_node_put()

2016-04-20 Thread Catalin Marinas
On Wed, Apr 20, 2016 at 10:23:31AM +0900, Masahiro Yamada wrote: > Since of_get_cpu_node() increments refcount, the node should be put. > > Signed-off-by: Masahiro Yamada Queued for 4.6. Thanks. -- Catalin

Re: [PATCH] arm64: spin-table: add missing of_node_put()

2016-04-20 Thread Will Deacon
On Wed, Apr 20, 2016 at 10:23:31AM +0900, Masahiro Yamada wrote: > Since of_get_cpu_node() increments refcount, the node should be put. Urgh, I really hate the dt refcounting stuff. > Signed-off-by: Masahiro Yamada > --- > > arch/arm64/kernel/smp_spin_table.c | 11 ++- > 1 file changed

[PATCH] arm64: spin-table: add missing of_node_put()

2016-04-19 Thread Masahiro Yamada
Since of_get_cpu_node() increments refcount, the node should be put. Signed-off-by: Masahiro Yamada --- arch/arm64/kernel/smp_spin_table.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm64/kernel/smp_spin_table.c b/arch/arm64/kernel/smp_spin_table.c ind