diff options
author | 2021-02-26 12:49:22 -0800 | |
---|---|---|
committer | 2021-02-26 13:23:52 -0800 | |
commit | bc2591d63fc91bd5a9aaff145148a224d892bdb8 (patch) | |
tree | 0c1470af9b6d2613bd05d40c279f3aa104299d91 /kernel/bpf/devmap.c | |
parent | bpf: Factor out visit_func_call_insn() in check_cfg() (diff) | |
download | linux-dev-bc2591d63fc91bd5a9aaff145148a224d892bdb8.tar.xz linux-dev-bc2591d63fc91bd5a9aaff145148a224d892bdb8.zip |
bpf: Factor out verbose_invalid_scalar()
Factor out the function verbose_invalid_scalar() to verbose
print if a scalar is not in a tnum range. There is no
functionality change and the function will be used by
later patch which introduced bpf_for_each_map_elem().
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210226204922.3884375-1-yhs@fb.com
Diffstat (limited to 'kernel/bpf/devmap.c')
0 files changed, 0 insertions, 0 deletions