diff options
author | Alexei Starovoitov <ast@kernel.org> | 2023-03-10 23:41:18 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-03-10 23:41:18 +0300 |
commit | 32513d40d908b267508d37994753d9bd1600914b (patch) | |
tree | 27b49da6e23b86bd1bf4af9219d9b4dc8450afa2 /tools/testing/selftests/bpf | |
parent | d6f7ff9dd387861fa30cbc6375d15b586da17d33 (diff) | |
download | linux-32513d40d908b267508d37994753d9bd1600914b.tar.xz |
selftests/bpf: Fix progs/find_vma_fail1.c build error.
The commit 11e456cae91e ("selftests/bpf: Fix compilation errors: Assign a value to a constant")
fixed the issue cleanly in bpf-next.
This is an alternative fix in bpf tree to avoid merge conflict between bpf and bpf-next.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf')
-rw-r--r-- | tools/testing/selftests/bpf/progs/find_vma_fail1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/progs/find_vma_fail1.c b/tools/testing/selftests/bpf/progs/find_vma_fail1.c index b3b326b8e2d1..6dab9cffda13 100644 --- a/tools/testing/selftests/bpf/progs/find_vma_fail1.c +++ b/tools/testing/selftests/bpf/progs/find_vma_fail1.c @@ -2,6 +2,7 @@ /* Copyright (c) 2021 Facebook */ #include "vmlinux.h" #include <bpf/bpf_helpers.h> +#define vm_flags vm_start char _license[] SEC("license") = "GPL"; |