Re: [PATCH net-next 2/6] software node: allow named software node to be created

Andy Shevchenko
2022-07-29T12:08:45Z

On Tue, Jul 19, 2022 at 09:18:00AM +0200, Marek Behún wrote:
> On Mon, 18 Jul 2022 23:48:21 +0300
> Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote:
> > On Mon, Jul 18, 2022 at 10:39:42PM +0200, Marek Behún wrote:
> > > On Mon, 18 Jul 2022 22:24:09 +0300
> > > Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote:

...

> > > 2. even if there was a problem with name collision, I think the place
> > > that needs to be fixed is swnode system. What use are swnodes if
> > > they cannot be used like this?
> >
> > Precisely, that's why I don't want to introduce an API that needs to be fixed.
>
> Aha, so you want to ensure that root swnodes are created with unique
> name?
>
> Can't we just make it so that named software node must have a parent?

That's my proposal, but it might have a downside effect on the existing users
(chtwc_int33fe).

--
With Best Regards,
Andy Shevchenko