[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0c705b54-daa1-6f36-b6d2-cd003a75198c@gmail.com>
Date: Fri, 21 Aug 2020 15:01:27 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Rob Herring <robh+dt@...nel.org>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Frank Rowand <frowand.list@...il.com>,
Grant Likely <grant.likely@...aro.org>,
Pantelis Antoniou <panto@...oniou-consulting.com>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE"
<devicetree@...r.kernel.org>
Subject: Re: [PATCH] of: Export of_node_ktype for modular use of of_init_node
On 8/21/20 3:00 PM, Rob Herring wrote:
> On Thu, Aug 20, 2020 at 5:31 PM Florian Fainelli <f.fainelli@...il.com> wrote:
>>
>> To permit the use of of_init_node() by kernel modules, we must export
>> of_node_ktype which is directly referenced by kobject_init() called from
>> of_init_node() otherwise modules would be getting linking failures.
>
> You mean of_node_init()?
Yes, I kept inverting the two words.
>
> There's not anything in the kernel using this that's a module. It's a
> low level function that I don't really want to see more users for.
OK, fair enough, the candidate use I had in mind is probably too ugly to
be submitted upstream anyway.
--
Florian
Powered by blists - more mailing lists