aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/test_cpp.cpp
diff options
context:
space:
mode:
authorMagnus Karlsson <[email protected]>2019-12-19 12:39:31 +0000
committerAlexei Starovoitov <[email protected]>2019-12-21 00:00:09 +0000
commit1d9cb1f381860b529edec57cf7a08133f40366eb (patch)
tree1aea2b20504a1fddec4bcec2e78bd0d3ed032167 /tools/testing/selftests/bpf/test_cpp.cpp
parentxsk: Add function naming comments and reorder functions (diff)
downloadkernel-1d9cb1f381860b529edec57cf7a08133f40366eb.tar.gz
kernel-1d9cb1f381860b529edec57cf7a08133f40366eb.zip
xsk: Use struct_size() helper
Improve readability and maintainability by using the struct_size() helper when allocating the AF_XDP rings. Signed-off-by: Magnus Karlsson <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/test_cpp.cpp')
0 files changed, 0 insertions, 0 deletions