Re: [PATCH net] net: enetc: fix the netc-lib driver build dependency
From: Arnd Bergmann
Date: Wed Jun 04 2025 - 05:31:32 EST
On Wed, Jun 4, 2025, at 11:11, Vladimir Oltean wrote:
> On Wed, Jun 04, 2025 at 09:24:22AM +0200, Arnd Bergmann wrote:
>> On Wed, Jun 4, 2025, at 04:44, Wei Fang wrote:
> Thanks, this seems to be the best proposal thus far. IMO it is also easy
> to maintain and it also fully satisfies the imposed requirements. I checked
> that when FSL_ENETC_CORE goes to m, NXP_NETC_LIB also goes to m, and
> when it remains y, the latter also remains y. Note, FSL_ENETC_CORE only
> goes to m when all its selecters are m. More importantly, when
> NXP_ENETC4=n, NXP_NETC_LIB is also n. The drivers seem to build in all
> cases.
>
> Will you send a patch with this proposal, or should Wei do it with a
> Suggested-by?
I'd prefer Wei to send it as a tested patch with my Suggested-by.
I've also tested this version overnight on my randconfig build
system.
Arnd