Messages in this thread | | | From | Rob Herring <> | Date | Tue, 10 May 2016 09:23:43 -0500 | Subject | Re: [PATCH 3/3] of: overlay: Pick up label symbols from overlays. |
| |
On Tue, May 10, 2016 at 8:56 AM, Pantelis Antoniou <panto@antoniou-consulting.com> wrote: > Hi Rob, > >> On May 10, 2016, at 00:47 , Rob Herring <robherring2@gmail.com> wrote: >> >> On Mon, May 9, 2016 at 1:11 PM, Pantelis Antoniou >> <pantelis.antoniou@konsulko.com> wrote: >>> Insert overlay symbols to the base tree when applied. >>> This makes it possible to apply an overlay that references a label >>> that a previously inserted overlay had.
[...]
>>> + /* locate the symbols & fixups nodes on resolve */ >>> + for_each_child_of_node(tree, child) { >>> + if (of_node_cmp(child->name, "__symbols__") == 0) >>> + goto found; >> >> Doesn't of_get_child_by_name work here? >> > > No, we’re holding of_mutex.
So. Go look at the function.
Rob
| |