bpf: update the comment for BTF_FIELDS_MAX
authorHaiyue Wang <haiyue.wang@intel.com>
Wed, 24 Apr 2024 05:45:07 +0000 (13:45 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 24 Apr 2024 22:58:26 +0000 (15:58 -0700)
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>
Link: https://lore.kernel.org/r/20240424054526.8031-1-haiyue.wang@intel.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
include/linux/bpf.h

index 64bf0cf3ee95fb830cd29cc7ff4e0cefba8e9917..978200f6d92550495a2ab7678c49ebe72e6fb439 100644 (file)
@@ -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,
 };