aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorMartynas Pumputis <m@lambda.lt>2021-07-21 16:09:41 +0200
committerAndrii Nakryiko <andrii@kernel.org>2021-07-22 16:44:10 -0700
commit9907442fcddbdacf55fa22e31f2306ae0d6172d6 (patch)
tree5f3ec6503f2214244fd7c6983909e0a3716d3a88 /tools/lib/bpf/libbpf.c
parentbpf: Remove redundant intiialization of variable stype (diff)
downloadwireguard-linux-9907442fcddbdacf55fa22e31f2306ae0d6172d6.tar.xz
wireguard-linux-9907442fcddbdacf55fa22e31f2306ae0d6172d6.zip
selftests/bpf: Mute expected invalid map creation error msg
Previously, the newly introduced test case in test_map_in_map(), which checks whether the inner map is destroyed after unsuccessful creation of the outer map, logged the following harmless and expected error: libbpf: map 'mim': failed to create: Invalid argument(-22) libbpf: failed to load object './test_map_in_map_invalid.o' To avoid any possible confusion, mute the logging during loading of the prog. Fixes: 08f71a1e39a1 ("selftests/bpf: Check inner map deletion") Reported-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Martynas Pumputis <m@lambda.lt> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20210721140941.563175-1-m@lambda.lt
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions