Skip to contentSkip to conversation

ARM: add of_node_put()

PATCH New Yangtao Li 1 participant 1 message Nov 20, 2018 Arm (32-bit)

lore
Share & tools
lore

Yangtao Li

author
#0 lore raw

PATCH 1/1 ARM: add of_node_put()

use of_node_put() to release the refcount.

---
 arch/arm/kernel/setup.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/kernel/setup.c +1 -0
index 375b13f7e780..c20421f0078e 100644
@@ -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)
Signature · 1 line
2.17.0