Re: [RFC net-next 1/1] idpf: Don't hard code napi_struct size
From: Simon Horman <horms@kernel.org>
Date: 2024-09-25 20:33:28
Also in:
intel-wired-lan, lkml
From: Simon Horman <horms@kernel.org>
Date: 2024-09-25 20:33:28
Also in:
intel-wired-lan, lkml
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 <redacted>
Reviewed-by: Simon Horman <horms@kernel.org>