aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/cgroup1_hierarchy.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2024-04-29 12:13:22 +0000
committerAndrii Nakryiko <[email protected]>2024-04-29 23:12:03 +0000
commitcb01621b6d91567ac74c8b95e4db731febdbdec3 (patch)
tree824adabc8b3315962dc97d52a7dd79a93a3255e9 /tools/testing/selftests/bpf/prog_tests/cgroup1_hierarchy.c
parentsamples/bpf: Add valid info for VMLINUX_BTF (diff)
downloadkernel-cb01621b6d91567ac74c8b95e4db731febdbdec3.tar.gz
kernel-cb01621b6d91567ac74c8b95e4db731febdbdec3.zip
bpf: Use struct_size()
Use struct_size() instead of hand writing it. This is less verbose and more robust. Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/cgroup1_hierarchy.c')
0 files changed, 0 insertions, 0 deletions