diff options
author | Alexei Starovoitov <ast@kernel.org> | 2023-03-10 21:41:18 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-03-10 21:41:18 +0100 |
commit | 32513d40d908b267508d37994753d9bd1600914b (patch) | |
tree | 27b49da6e23b86bd1bf4af9219d9b4dc8450afa2 /tools/testing | |
parent | libbpf: Revert poisoning of strlcpy (diff) | |
download | linux-32513d40d908b267508d37994753d9bd1600914b.tar.xz linux-32513d40d908b267508d37994753d9bd1600914b.zip |
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')
-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"; |