diff options
| author | Martynas Pumputis <[email protected]> | 2021-07-21 14:09:41 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2021-07-22 23:44:10 +0000 |
| commit | 9907442fcddbdacf55fa22e31f2306ae0d6172d6 (patch) | |
| tree | 5f3ec6503f2214244fd7c6983909e0a3716d3a88 /tools/lib/bpf/libbpf.c | |
| parent | bpf: Remove redundant intiialization of variable stype (diff) | |
| download | kernel-9907442fcddbdacf55fa22e31f2306ae0d6172d6.tar.gz kernel-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 <[email protected]>
Signed-off-by: Martynas Pumputis <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions
