Thread (12 messages) 12 messages, 5 authors, 2024-10-03

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

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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help