aboutsummaryrefslogtreecommitdiffstats
path: root/tools/include/uapi/linux
diff options
context:
space:
mode:
authorHaiyue Wang <haiyue.wang@intel.com>2022-04-03 19:53:26 +0800
committerAndrii Nakryiko <andrii@kernel.org>2022-04-03 17:06:52 -0700
commit66df0fdb5981052f3ad97c9879eda93712bdefc2 (patch)
treee360f07435432f122c7967de35c9a1249dfef06c /tools/include/uapi/linux
parentselftests/bpf: Fix cd_flavor_subdir() of test_progs (diff)
downloadlinux-dev-66df0fdb5981052f3ad97c9879eda93712bdefc2.tar.xz
linux-dev-66df0fdb5981052f3ad97c9879eda93712bdefc2.zip
bpf: Correct the comment for BTF kind bitfield
The commit 8fd886911a6a ("bpf: Add BTF_KIND_FLOAT to uapi") has extended the BTF kind bitfield from 4 to 5 bits, correct the comment. Signed-off-by: Haiyue Wang <haiyue.wang@intel.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20220403115327.205964-1-haiyue.wang@intel.com
Diffstat (limited to 'tools/include/uapi/linux')
-rw-r--r--tools/include/uapi/linux/btf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/include/uapi/linux/btf.h b/tools/include/uapi/linux/btf.h
index b0d8fea1951d..a9162a6c0284 100644
--- a/tools/include/uapi/linux/btf.h
+++ b/tools/include/uapi/linux/btf.h
@@ -33,8 +33,8 @@ struct btf_type {
/* "info" bits arrangement
* bits 0-15: vlen (e.g. # of struct's members)
* bits 16-23: unused
- * bits 24-27: kind (e.g. int, ptr, array...etc)
- * bits 28-30: unused
+ * bits 24-28: kind (e.g. int, ptr, array...etc)
+ * bits 29-30: unused
* bit 31: kind_flag, currently used by
* struct, union and fwd
*/