commit | bc2591d63fc91bd5a9aaff145148a224d892bdb8 | [log] [tgz] |
---|---|---|
author | Yonghong Song <yhs@fb.com> | Fri Feb 26 12:49:22 2021 -0800 |
committer | Alexei Starovoitov <ast@kernel.org> | Fri Feb 26 13:23:52 2021 -0800 |
tree | 0c1470af9b6d2613bd05d40c279f3aa104299d91 | |
parent | efdb22de7dcd3b24b8154b3c3ba496f62afea00c [diff] |
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