Re: [PATCH net-next] netdevice: define and allocate &net_device _properly_

From: Alexander Lobakin
Date: Wed May 08 2024 - 05:14:16 EST


From: Jakub Kicinski <kuba@xxxxxxxxxx>
Date: Tue, 7 May 2024 11:10:35 -0700

> On Tue, 7 May 2024 14:39:37 +0200 Alexander Lobakin wrote:
>> There are several instances of the structure embedded into other
>> structures, but also there's ongoing effort to remove them and we
>> could in the meantime declare &net_device properly.
>
> Is there a reason you're reposting this before that effort is completed?

To speed up the conversion probably :D

> The warnings this adds come from sparse and you think they should be
> ignored?

For now...

>
> TBH since Breno is doing the heavy lifting of changing the embedders
> it'd seem more fair to me if he got to send this at the end. Or at
> least, you know, got a mention or a CC.

I was lazy enough to add tags, sorry. The idea of him sending this at
the end sounds reasonable.

Thanks,
Olek