diff options
author | Liang He <windhl@126.com> | 2022-06-21 19:17:01 +0800 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-09-05 17:30:24 +1000 |
commit | 6ec4836fa15a0ff02e3a382ad6b1920c728a8c95 (patch) | |
tree | a4ebdcbfe09f7ad829707686123f7fc5a37a9e51 /arch/powerpc/kernel/module_32.c | |
parent | d208d8c2cde513b94ae3b8b97663656079004555 (diff) |
powerpc/pseries: Add missing of_node_put()s in hotplug-cpu.c
In pseries_cpuhp_cache_use_count() and pseries_cpuhp_detach_nodes(),
we need carefully hold the reference returned by
of_find_next_cache_node() and use it to call of_node_put() to keep
refcount balance.
Signed-off-by: Liang He <windhl@126.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220621111701.4082889-1-windhl@126.com
Diffstat (limited to 'arch/powerpc/kernel/module_32.c')
0 files changed, 0 insertions, 0 deletions