lkml.org 
[lkml]   [2016]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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

\
 
 \ /
  Last update: 2016-05-10 16:41    [W:0.513 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site