Re: [PATCH] RISC-V: Fix of_node_* refcount

2019-01-07 Thread Andreas Schwab
On Nov 20 2018, Atish Patra wrote: > diff --git a/arch/riscv/kernel/smpboot.c b/arch/riscv/kernel/smpboot.c > index 18cda0e8..fc185eca 100644 > --- a/arch/riscv/kernel/smpboot.c > +++ b/arch/riscv/kernel/smpboot.c > @@ -57,12 +57,15 @@ void __init setup_smp(void) > > while ((dn = of_find_

Re: [PATCH] RISC-V: Fix of_node_* refcount

2018-12-18 Thread Atish Patra
On 11/20/18 3:07 PM, Atish Patra wrote: Fix of_node* refcount at various places by using of_node_put. Signed-off-by: Atish Patra --- arch/riscv/kernel/cacheinfo.c | 11 +++ arch/riscv/kernel/cpu.c| 1 + arch/riscv/kernel/cpufeature.c | 2 ++ arch/riscv/kernel/perf_event.

[PATCH] RISC-V: Fix of_node_* refcount

2018-11-20 Thread Atish Patra
Fix of_node* refcount at various places by using of_node_put. Signed-off-by: Atish Patra --- arch/riscv/kernel/cacheinfo.c | 11 +++ arch/riscv/kernel/cpu.c| 1 + arch/riscv/kernel/cpufeature.c | 2 ++ arch/riscv/kernel/perf_event.c | 1 + arch/riscv/kernel/smpboot.c| 6