summaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorJoe Damato <jdamato@fastly.com>2024-10-04 10:54:07 +0000
committerJakub Kicinski <kuba@kernel.org>2024-10-08 08:14:50 -0700
commit49717ef01ce1b6dbe4cd12bee0fc25e086c555df (patch)
tree425763077116c129244ebc12105217d6cb2dc772 /rust/helpers/task.c
parent489cee4caeba4f70a29b7215cfd18152dcadab7f (diff)
idpf: Don't hard code napi_struct size
The sizeof(struct napi_struct) can change. Don't hardcode the size to 400 bytes and instead use "sizeof(struct napi_struct)". Suggested-by: Alexander Lobakin <aleksander.lobakin@intel.com> Signed-off-by: Joe Damato <jdamato@fastly.com> Acked-by: Alexander Lobakin <aleksander.lobakin@intel.com> Link: https://patch.msgid.link/20241004105407.73585-1-jdamato@fastly.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions