Re: [PATCH 05/11] net: core: provide devm_register_netdev()

From: Jakub Kicinski
Date: Thu May 07 2020 - 18:56:54 EST


On Thu, 7 May 2020 19:03:44 +0200 Bartosz Golaszewski wrote:
>> To implement Edwin's suggestion? Makes sense, but I'm no expert, let's
>> also CC Heiner since he was asking about it last time.
>
> Yes, because taking the last bit of priv_flags from net_device seems
> to be more controversial but if net maintainers are fine with that I
> can simply go with the current approach.

From my perspective what Edwin suggests makes sense. Apart from
little use for the bit after probe, it also seems cleaner for devres
to be able to recognize managed objects based on its own state.