diff options
author | 2022-09-16 13:28:00 -0700 | |
---|---|---|
committer | 2022-09-16 17:09:38 -0700 | |
commit | 571f9738bfb3d4b42253c1d0ad26da9fede85f36 (patch) | |
tree | f8e260db16f1b547ac43c2b19427993e2a9679b3 /include/linux/bpf_types.h | |
parent | libbpf: Clean up legacy bpf maps declaration in bpf_helpers (diff) | |
download | wireguard-linux-571f9738bfb3d4b42253c1d0ad26da9fede85f36.tar.xz wireguard-linux-571f9738bfb3d4b42253c1d0ad26da9fede85f36.zip |
bpf/btf: Use btf_type_str() whenever possible
We have btf_type_str(). Use it whenever possible in btf.c, instead of
"btf_kind_str[BTF_INFO_KIND(t->info)]".
Signed-off-by: Peilin Ye <peilin.ye@bytedance.com>
Link: https://lore.kernel.org/r/20220916202800.31421-1-yepeilin.cs@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'include/linux/bpf_types.h')
0 files changed, 0 insertions, 0 deletions