Re: [PATCH 0/9] of: fix compatible-child-node lookups

2018-08-22 Thread Johan Hovold
On Wed, Aug 22, 2018 at 09:32:11AM -0500, Rob Herring wrote: > On Wed, Aug 22, 2018 at 5:57 AM Johan Hovold wrote: > > > > Several drivers currently use of_find_compatible_node() to lookup child > > nodes while failing to notice that the of_find_ functions search the > > entire tree depth-first an

Re: [PATCH 0/9] of: fix compatible-child-node lookups

2018-08-22 Thread Rob Herring
On Wed, Aug 22, 2018 at 5:57 AM Johan Hovold wrote: > > Several drivers currently use of_find_compatible_node() to lookup child > nodes while failing to notice that the of_find_ functions search the > entire tree depth-first and therefore can match unrelated (non-child) > nodes. That is not quite