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
_______________________________________________
devicetree-discuss mailing list
[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to