diff options
| author | Martynas Pumputis <m@lambda.lt> | 2021-07-21 17:09:41 +0300 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2021-07-23 02:44:10 +0300 |
| commit | 9907442fcddbdacf55fa22e31f2306ae0d6172d6 (patch) | |
| tree | 5f3ec6503f2214244fd7c6983909e0a3716d3a88 /include | |
| parent | 724f17b7d45d62c71e92471666647a823cb9baa9 (diff) | |
| download | linux-9907442fcddbdacf55fa22e31f2306ae0d6172d6.tar.xz | |
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 'include')
0 files changed, 0 insertions, 0 deletions
