summaryrefslogtreecommitdiff
path: root/include/linux/bpf.h
diff options
context:
space:
mode:
authorHaiyue Wang <haiyue.wang@intel.com>2024-04-24 08:45:07 +0300
committerAlexei Starovoitov <ast@kernel.org>2024-04-25 01:58:26 +0300
commit95c07d58250ca3ed01855c20be568cf04e15382f (patch)
tree8dc6f962a3ed628cc02cfcd2b862a96a38c72c0f /include/linux/bpf.h
parent82e38a505c9868e784ec31e743fd8a9fa5ca1084 (diff)
downloadlinux-95c07d58250ca3ed01855c20be568cf04e15382f.tar.xz
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 <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>
Diffstat (limited to 'include/linux/bpf.h')
-rw-r--r--include/linux/bpf.h2
1 files changed, 1 insertions, 1 deletions
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,
};