diff options
author | Liang He <windhl@126.com> | 2022-07-16 15:43:44 +0800 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-09-05 17:30:30 +1000 |
commit | 2378bf144b841df548161af49bf1ff393dc60d44 (patch) | |
tree | e619b72cebe2a194df606dca584eb5b124b12dc4 /arch/powerpc/include/asm/processor.h | |
parent | 11373c933db20f8b6fd2cad27712e683ac9785f0 (diff) |
powerpc/powermac/udbg_scc: Add missing of_node_put()s in udbg_scc_init()
During the iteration of for_each_child_of_node(), we need to call
of_node_put() for the old references stored in to 'ch_def' and 'ch_a'
as their refcounters have been increased in last iteration.
Signed-off-by: Liang He <windhl@126.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220716074344.540049-1-windhl@126.com
Diffstat (limited to 'arch/powerpc/include/asm/processor.h')
0 files changed, 0 insertions, 0 deletions