bpf: correct the comment for BTF kind bitfield
Subsystems (3)
PATCH 1/1 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.
--- include/uapi/linux/btf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/uapi/linux/btf.h +2 -2
@@ -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 */
Signature · 1 line
2.35.1
PATCH v2 1/1 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.
---
v2: update the btf.h under tools directory.
--- include/uapi/linux/btf.h | 4 ++-- tools/include/uapi/linux/btf.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
include/uapi/linux/btf.h +2 -2
@@ -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 */
tools/include/uapi/linux/btf.h +2 -2
@@ -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 */
Signature · 1 line
2.35.1
This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko <[email protected]>:
Hello:
This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko <[email protected]>:
Quoted 8 lines · On Sun, 3 Apr 2022 19:53:26 +0800 you wrote:
The commit
8fd886911a6a("bpf: AddBTF_KIND_FLOATto uapi") has extended the BTF kind bitfield from 4 to 5 bits, correct the comment.Signed-off-by Haiyue Wang <[email protected]>---
v2: update thebtf.hunder tools directory.[...]
Here is the summary with links:
- [v2] bpf: correct the comment for BTF kind bitfield
https://git.kernel.org/bpf/bpf-next/c/66df0fdb5981
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html