summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorPaul Chaignon <paul.chaignon@gmail.com>2025-09-17 10:09:26 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2025-09-17 16:15:37 +0200
commit7c60f6e488b7aba224ebe396b04ad54b8e31e168 (patch)
treeb7df7b902892d598749e7b04f4d0641ec20834cb /rust/helpers/build_bug.c
parent6fabca2fc94d33cdf7ec102058983b086293395f (diff)
selftests/bpf: Move macros to bpf_misc.h
Move the sizeof_field and offsetofend macros from individual test files to the common bpf_misc.h to avoid duplication. Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Eduard Zingerman <eddyz87@gmail.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/97a3f3788bd3aec309100bc073a5c77130e371fd.1758094761.git.paul.chaignon@gmail.com
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions