]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powermac: Add missing of_node_put() in smp_core99_setup()
authorLiang He <windhl@126.com>
Mon, 20 Jun 2022 15:05:18 +0000 (23:05 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 5 Sep 2022 07:30:24 +0000 (17:30 +1000)
commit7bd6a5e3fa852ab9ac55c262d51c335a2ae1c7ed
treed60e68f4d3e7d320fedcb361ea74776fac947a4d
parentb827be425a93d87698ddd7c4fd19c23f6ec03cc3
powerpc/powermac: Add missing of_node_put() in smp_core99_setup()

In smp_core99_setup(), add of_node_put() to drop the reference once it's
no longer needed.

Signed-off-by: Liang He <windhl@126.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220620150518.4074910-1-windhl@126.com
arch/powerpc/platforms/powermac/smp.c