[PATCH] perf: RISC-V: Add of_node_put() when breaking out of for_each_of_cpu_node()

Will Deacon will at kernel.org
Tue Jul 19 12:56:56 PDT 2022


On Fri, 15 Jul 2022 21:03:30 +0800, Liang He wrote:
> In pmu_sbi_setup_irqs(), we should call of_node_put() for the 'cpu'
> when breaking out of for_each_of_cput_node() as its refcount will
> be automatically increased and decreased during the iteration.
> 
> 

Applied to will (for-next/perf), thanks!

[1/1] perf: RISC-V: Add of_node_put() when breaking out of for_each_of_cpu_node()
      https://git.kernel.org/will/c/491f10d08fda

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-riscv mailing list