aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/bpf/prog_tests
diff options
context:
space:
mode:
authorGrant Seltzer <grantseltzer@gmail.com>2022-04-20 12:12:25 -0400
committerDaniel Borkmann <daniel@iogearbox.net>2022-04-21 16:28:25 +0200
commitdf286716321350d1ca370d5737acf5a10b20ee9e (patch)
tree9c434dec59f4683fbdae6672ae3d0cb35d6fb043 /tools/testing/selftests/bpf/prog_tests
parentlibbpf: Add error returns to two API functions (diff)
downloadwireguard-linux-df286716321350d1ca370d5737acf5a10b20ee9e.tar.xz
wireguard-linux-df286716321350d1ca370d5737acf5a10b20ee9e.zip
libbpf: Update API functions usage to check error
This updates usage of the following API functions within libbpf so their newly added error return is checked: - bpf_program__set_expected_attach_type() - bpf_program__set_type() Signed-off-by: Grant Seltzer <grantseltzer@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20220420161226.86803-2-grantseltzer@gmail.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions