aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorLiang He <[email protected]>2022-07-15 21:03:30 +0800
committerWill Deacon <[email protected]>2022-07-19 18:40:31 +0100
commit491f10d08fdae10a177edf6af4f43b83b293114b (patch)
tree9f129b3122c594259183f357722b81073316cef6 /lib/mpi/mpi-sub-ui.c
parentaaaee7b55c9e58410abcef6e3e2fd80e4135d02e (diff)
perf: RISC-V: Add of_node_put() when breaking out of for_each_of_cpu_node()
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. Fixes: 4905ec2fb7e6 ("RISC-V: Add sscofpmf extension support") Signed-off-by: Liang He <[email protected]> Reviewed-by: Atish Patra <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions