diff options
| author | Cupertino Miranda <[email protected]> | 2024-05-07 12:22:20 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2024-05-07 21:41:00 +0000 |
| commit | b2e086cb28aa358f7b5564888304908aff735827 (patch) | |
| tree | e18c2e0d23aac8b9637d55b8ddf01a1ca28d950e /tools/lib/bpf/str_error.c | |
| parent | selftests/bpf: Add CFLAGS per source file and runner (diff) | |
| download | kernel-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
