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

Haiyue Wang posted 1 patch 1 year, 9 months ago
include/linux/bpf.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH bpf-next v1] bpf: update the comment for BTF_FIELDS_MAX
Posted by Haiyue Wang 1 year, 9 months ago
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 <haiyue.wang@intel.com>
---
 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
Re: [PATCH bpf-next v1] bpf: update the comment for BTF_FIELDS_MAX
Posted by Yonghong Song 1 year, 9 months ago
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 <haiyue.wang@intel.com>

Acked-by: Yonghong Song <yonghong.song@linux.dev>