Skip to content

Commit 32513d4

Browse files
author
Alexei Starovoitov
committed
selftests/bpf: Fix progs/find_vma_fail1.c build error.
The commit 11e456c ("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>
1 parent d6f7ff9 commit 32513d4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tools/testing/selftests/bpf/progs/find_vma_fail1.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/* Copyright (c) 2021 Facebook */
33
#include "vmlinux.h"
44
#include <bpf/bpf_helpers.h>
5+
#define vm_flags vm_start
56

67
char _license[] SEC("license") = "GPL";
78

0 commit comments

Comments
 (0)