projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
def435c
)
powerpc/powermac: Add missing of_node_put() in smp_core99_setup()
author
Liang He
<windhl@126.com>
Mon, 20 Jun 2022 15:05:18 +0000
(23:05 +0800)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Mon, 5 Sep 2022 07:30:24 +0000
(17:30 +1000)
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
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/powermac/smp.c
b/arch/powerpc/platforms/powermac/smp.c
index d9df45741ecefbaaffcf85be7a5a706541532ce0..5b26a9012d2e2be6e3d33635c3508c38b2cb0645 100644
(file)
--- a/
arch/powerpc/platforms/powermac/smp.c
+++ b/
arch/powerpc/platforms/powermac/smp.c
@@
-711,6
+711,7
@@
static void __init smp_core99_setup(int ncpus)
printk(KERN_INFO "Processor timebase sync using"
" platform function\n");
}
+ of_node_put(cpus);
}
#else /* CONFIG_PPC64 */