OpenCloudOS-Kernel/tools
Toke Høiland-Jørgensen f970cbcdcd selftests: Make sure all 'skel' variables are declared static
If programs in prog_tests using skeletons declare the 'skel' variable as
global but not static, that will lead to linker errors on the final link of
the prog_tests binary due to duplicate symbols. Fix a few instances of this.

Fixes: b18c1f0aa4 ("bpf: selftest: Adapt sock_fields test to use skel and global variables")
Fixes: 9a856cae22 ("bpf: selftest: Add test_btf_skc_cls_ingress")
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200929123026.46751-1-toke@redhat.com
2020-09-29 11:43:43 -07:00
..
accounting
arch
bootconfig
bpf Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2020-09-23 13:11:11 -07:00
build
cgroup
debugging
edid
firewire
firmware
gpio
hv
iio
include bpf: Add bpf_seq_printf_btf helper 2020-09-28 18:26:58 -07:00
io_uring
kvm/kvm_stat
laptop
leds
lib selftests/bpf: Test BTF writing APIs 2020-09-28 19:17:13 -07:00
memory-model
nfsd
objtool
pci
pcmcia
perf Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2020-09-23 13:11:11 -07:00
power
scripts
spi
testing selftests: Make sure all 'skel' variables are declared static 2020-09-29 11:43:43 -07:00
thermal/tmon
time
usb
virtio
vm
wmi
Makefile