diff options
| author | Toke Høiland-Jørgensen <[email protected]> | 2020-03-02 14:53:48 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-03-03 01:00:41 +0000 |
| commit | 775a2be52da1c55fc810a5d151049f86f0fd5362 (patch) | |
| tree | 7f137e140f276375d6fcf7c238f5e4cdfcbfa758 /tools/testing/selftests/bpf/prog_tests/stacktrace_map.c | |
| parent | bpf: Reliably preserve btf_trace_xxx types (diff) | |
| download | kernel-775a2be52da1c55fc810a5d151049f86f0fd5362.tar.gz kernel-775a2be52da1c55fc810a5d151049f86f0fd5362.zip | |
selftests/bpf: Declare bpf_log_buf variables as static
The cgroup selftests did not declare the bpf_log_buf variable as static, leading
to a linker error with GCC 10 (which defaults to -fno-common). Fix this by
adding the missing static declarations.
Fixes: 257c88559f36 ("selftests/bpf: Convert test_cgroup_attach to prog_tests")
Signed-off-by: Toke Høiland-Jørgensen <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Andrey Ignatov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/stacktrace_map.c')
0 files changed, 0 insertions, 0 deletions
