diff options
author | Matteo Croce <mcroce@redhat.com> | 2020-05-11 14:32:34 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-05-14 22:37:39 +0300 |
commit | 23ad04669f81f958e9a4121b0266228d2eb3c357 (patch) | |
tree | 2ece36c6de87c9082ed13dc93c0903f6a87d10b5 /block/blk-flush.c | |
parent | 9de5d235b60a7cdfcdd5461e70c5663e713fde87 (diff) | |
download | linux-23ad04669f81f958e9a4121b0266228d2eb3c357.tar.xz |
samples: bpf: Fix build error
GCC 10 is very strict about symbol clash, and lwt_len_hist_user contains
a symbol which clashes with libbpf:
/usr/bin/ld: samples/bpf/lwt_len_hist_user.o:(.bss+0x0): multiple definition of `bpf_log_buf'; samples/bpf/bpf_load.o:(.bss+0x8c0): first defined here
collect2: error: ld returned 1 exit status
bpf_log_buf here seems to be a leftover, so removing it.
Signed-off-by: Matteo Croce <mcroce@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20200511113234.80722-1-mcroce@redhat.com
Diffstat (limited to 'block/blk-flush.c')
0 files changed, 0 insertions, 0 deletions