diff options
| author | Hou Tao <[email protected]> | 2024-11-06 06:35:41 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2024-11-11 16:18:35 +0000 |
| commit | 503cfb103c8d6ca4f23a9abbf36672c9cfe6f745 (patch) | |
| tree | 69a0dba6b26976a8f1af526833efd15d219283bb /tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c | |
| parent | bpf: Call free_htab_elem() after htab_unlock_bucket() (diff) | |
| download | kernel-503cfb103c8d6ca4f23a9abbf36672c9cfe6f745.tar.gz kernel-503cfb103c8d6ca4f23a9abbf36672c9cfe6f745.zip | |
selftests/bpf: Move ENOTSUPP from bpf_util.h
Moving the definition of ENOTSUPP into bpf_util.h to remove the
duplicated definitions in multiple files.
Signed-off-by: Hou Tao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c')
| -rw-r--r-- | tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c b/tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c index 409a06975823..b7d1b52309d0 100644 --- a/tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c +++ b/tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c @@ -16,10 +16,6 @@ #include "tcp_ca_kfunc.skel.h" #include "bpf_cc_cubic.skel.h" -#ifndef ENOTSUPP -#define ENOTSUPP 524 -#endif - static const unsigned int total_bytes = 10 * 1024 * 1024; static int expected_stg = 0xeB9F; |
