[Intel-wired-lan] [RFC net-next 1/1] idpf: Don't hard code napi_struct size

Simon Horman horms at kernel.org
Wed Sep 25 20:33:24 UTC 2024


On Wed, Sep 25, 2024 at 06:00:17PM +0000, Joe Damato wrote:
> The sizeof(struct napi_struct) can change. Don't hardcode the size to
> 400 bytes and instead use "sizeof(struct napi_struct)".
> 
> While fixing this, also move other calculations into compile time
> defines.
> 
> Signed-off-by: Joe Damato <jdamato at fastly.com>

Reviewed-by: Simon Horman <horms at kernel.org>


More information about the Intel-wired-lan mailing list