* [PATCH] ARM: add of_node_put()
@ 2018-11-20 14:06 Yangtao Li
0 siblings, 0 replies; only message in thread
From: Yangtao Li @ 2018-11-20 14:06 UTC (permalink / raw)
To: linux, julien.thierry, akpm, rppt, mhocko, palmer
Cc: linux-arm-kernel, linux-kernel, Yangtao Li
use of_node_put() to release the refcount.
Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
arch/arm/kernel/setup.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
index 375b13f7e780..c20421f0078e 100644
--- a/arch/arm/kernel/setup.c
+++ b/arch/arm/kernel/setup.c
@@ -949,6 +949,7 @@ static int __init init_machine_late(void)
&system_serial);
if (ret)
system_serial = NULL;
+ of_node_put(root);
}
if (!system_serial)
--
2.17.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-11-20 14:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-20 14:06 [PATCH] ARM: add of_node_put() Yangtao Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).