2024-04-24 05:42:43

by Wang, Haiyue

[permalink] [raw]
Subject: [PATCH bpf-next v1] bpf: update the comment for BTF_FIELDS_MAX

The commit d56b63cf0c0f ("bpf: add support for bpf_wq user type")
changes the fields support number to 11, just sync the comment.

Signed-off-by: Haiyue Wang <[email protected]>
---
include/linux/bpf.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/bpf.h b/include/linux/bpf.h
index 64bf0cf3ee95..978200f6d925 100644
--- a/include/linux/bpf.h
+++ b/include/linux/bpf.h
@@ -184,7 +184,7 @@ struct bpf_map_ops {
};

enum {
- /* Support at most 10 fields in a BTF type */
+ /* Support at most 11 fields in a BTF type */
BTF_FIELDS_MAX = 11,
};

--
2.43.2



2024-04-24 21:51:20

by Yonghong Song

[permalink] [raw]
Subject: Re: [PATCH bpf-next v1] bpf: update the comment for BTF_FIELDS_MAX


On 4/23/24 10:45 PM, Haiyue Wang wrote:
> The commit d56b63cf0c0f ("bpf: add support for bpf_wq user type")
> changes the fields support number to 11, just sync the comment.
>
> Signed-off-by: Haiyue Wang <[email protected]>

Acked-by: Yonghong Song <[email protected]>


2024-04-24 23:00:45

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH bpf-next v1] bpf: update the comment for BTF_FIELDS_MAX

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <[email protected]>:

On Wed, 24 Apr 2024 13:45:07 +0800 you wrote:
> The commit d56b63cf0c0f ("bpf: add support for bpf_wq user type")
> changes the fields support number to 11, just sync the comment.
>
> Signed-off-by: Haiyue Wang <[email protected]>
> ---
> include/linux/bpf.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- [bpf-next,v1] bpf: update the comment for BTF_FIELDS_MAX
https://git.kernel.org/bpf/bpf-next/c/95c07d58250c

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html