aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/str_error.c
diff options
context:
space:
mode:
authorCupertino Miranda <[email protected]>2024-05-07 12:22:20 +0000
committerAndrii Nakryiko <[email protected]>2024-05-07 21:41:00 +0000
commitb2e086cb28aa358f7b5564888304908aff735827 (patch)
treee18c2e0d23aac8b9637d55b8ddf01a1ca28d950e /tools/lib/bpf/str_error.c
parentselftests/bpf: Add CFLAGS per source file and runner (diff)
downloadkernel-b2e086cb28aa358f7b5564888304908aff735827.tar.gz
kernel-b2e086cb28aa358f7b5564888304908aff735827.zip
selftests/bpf: Change functions definitions to support GCC
The test_xdp_noinline.c contains 2 functions that use more then 5 arguments. This patch collapses the 2 last arguments in an array. Also in GCC and ipa_sra optimization increases the number of arguments used in function encap_v4. This pass disables the optimization for that particular file. Signed-off-by: Cupertino Miranda <[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/lib/bpf/str_error.c')
0 files changed, 0 insertions, 0 deletions