aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaiyue Wang <[email protected]>2024-04-24 13:45:07 +0800
committerAlexei Starovoitov <[email protected]>2024-04-24 15:58:26 -0700
commit95c07d58250ca3ed01855c20be568cf04e15382f (patch)
tree8dc6f962a3ed628cc02cfcd2b862a96a38c72c0f
parent82e38a505c9868e784ec31e743fd8a9fa5ca1084 (diff)
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]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
-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,
};