diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2024-02-02 11:05:29 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-02-02 18:08:59 -0800 |
commit | 1eb986746a67952df86eb2c50a36450ef103d01b (patch) | |
tree | 0e4d601040f137b0bc160f6757cff8577ae15fe4 /tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c | |
parent | e2e70535dd76c6f17bdc9009ffca3d26cfd35ea4 (diff) |
bpf: don't emit warnings intended for global subprogs for static subprogs
When btf_prepare_func_args() was generalized to handle both static and
global subprogs, a few warnings/errors that are meant only for global
subprog cases started to be emitted for static subprogs, where they are
sort of expected and irrelavant.
Stop polutting verifier logs with irrelevant scary-looking messages.
Fixes: e26080d0da87 ("bpf: prepare btf_prepare_func_args() for handling static subprogs")
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20240202190529.2374377-4-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c')
0 files changed, 0 insertions, 0 deletions