[Skiboot] [PATCH 11/33] devicetree: Add dt_node_is_enabled()

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Jul 6 17:19:07 AEST 2016


On Wed, 2016-07-06 at 16:47 +1000, Michael Neuling wrote:
> Minor nit... Should this just be p->len == 2 rather than > 1 ?
>  Otherwise
> we could match on 'ok_everyone_dont_use_this_really_broken_node'.
> 
> Some braces would be nice too.

That's what Linux does. Some device trees contain "okay"

Cheers,
Ben.



More information about the Skiboot mailing list