diff options
author | Hou Tao <houtao1@huawei.com> | 2024-11-06 14:35:41 +0800 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2024-11-11 08:18:35 -0800 |
commit | 503cfb103c8d6ca4f23a9abbf36672c9cfe6f745 (patch) | |
tree | 69a0dba6b26976a8f1af526833efd15d219283bb /tools/testing/selftests/bpf/test_maps.c | |
parent | b9e9ed90b10c82a4e9d4d70a2890f06bfcdd3b78 (diff) | |
download | linux-503cfb103c8d6ca4f23a9abbf36672c9cfe6f745.tar.gz linux-503cfb103c8d6ca4f23a9abbf36672c9cfe6f745.tar.bz2 linux-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 <houtao1@huawei.com>
Link: https://lore.kernel.org/r/20241106063542.357743-3-houtao@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/test_maps.c')
-rw-r--r-- | tools/testing/selftests/bpf/test_maps.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/testing/selftests/bpf/test_maps.c b/tools/testing/selftests/bpf/test_maps.c index 905d5981ace1..8b40e9496af1 100644 --- a/tools/testing/selftests/bpf/test_maps.c +++ b/tools/testing/selftests/bpf/test_maps.c @@ -26,10 +26,6 @@ #include "test_maps.h" #include "testing_helpers.h" -#ifndef ENOTSUPP -#define ENOTSUPP 524 -#endif - int skips; static struct bpf_map_create_opts map_opts = { .sz = sizeof(map_opts) }; |