Subject: Re: [PATCH net-next v2 09/14] net: macb: change caps helpers signatures

From: Jakub Kicinski <[email-masked]>
Date: Mon, 13 Apr 2026 17:47:16 -0700

On Fri, 10 Apr 2026 21:51:57 +0200 Théo Lebrun wrote:
> For parallel MACB context to start become a reality, many functions will
> soon not have access to `struct macb *bp`. Those will still have access
> to caps through ctx->info->caps.
> 
> Change all caps helpers signatures, from taking `struct macb *bp` to
> taking `u32 caps`.

Subjectively I feel like this is a slight loss of type safety.
Someone may pass the wrong u32 and compiler will not help?