diff options
| author | Andrii Nakryiko <[email protected]> | 2021-05-13 23:36:42 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2021-05-14 00:23:57 +0000 |
| commit | 9e9b451593b161403aedf15eef8ced62dba65f40 (patch) | |
| tree | 9d572702d99bab55880323e53cdc6a87b30dbafa /tools/testing/selftests/bpf/progs/linked_maps1.c | |
| parent | bpf, arm64: Replace STACK_ALIGN() with round_up() to align stack size (diff) | |
| download | kernel-9e9b451593b161403aedf15eef8ced62dba65f40.tar.gz kernel-9e9b451593b161403aedf15eef8ced62dba65f40.zip | |
selftests/bpf: Validate skeleton gen handles skipped fields
Adjust static_linked selftests to test a mix of global and static variables
and their handling of bpftool's skeleton generation code.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/linked_maps1.c')
| -rw-r--r-- | tools/testing/selftests/bpf/progs/linked_maps1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/progs/linked_maps1.c b/tools/testing/selftests/bpf/progs/linked_maps1.c index 52291515cc72..00bf1ca95986 100644 --- a/tools/testing/selftests/bpf/progs/linked_maps1.c +++ b/tools/testing/selftests/bpf/progs/linked_maps1.c @@ -75,7 +75,7 @@ int BPF_PROG(handler_exit1) val = bpf_map_lookup_elem(&map_weak, &key); if (val) output_weak1 = *val; - + return 0; } |
