Thread (1 message) 1 message, 1 author, 2012-08-15

Re: [RFC:PATCH dtc-1.3.0] dtc: Add --strip-disabled option to dtc.

From: Tabi Timur-B04825 <hidden>
Date: 2012-08-15 13:21:24

Srinivas KANDAGATLA wrote:
  	for_each_child(tree, child) {
+		if (strip_disabled && !is_device_node_avaiable(child))
+			continue;
+
  		flatten_tree(child, emit, etarget, strbuf, vi);
  	}
Since this function is recursive, children of disabled nodes will also be 
removed.  You should document that.

-- 
Timur Tabi
Linux kernel developer at Freescale
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help