Skip to content
Commit 0d2da4b5 authored by Su Hui's avatar Su Hui Committed by Daniel Borkmann
Browse files

bpf/tests: Use struct_size()



Use struct_size() instead of hand writing it. This is less verbose and
more informative.

Signed-off-by: default avatarSu Hui <suhui@nfschina.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Acked-by: default avatarYonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20230531043251.989312-1-suhui@nfschina.com
parent e38096d9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment