Skip to content

Commit

Permalink
bpf: update the comment for BTF_FIELDS_MAX
Browse files Browse the repository at this point in the history
The commit d56b63c ("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>
  • Loading branch information
Haiyue Wang authored and Alexei Starovoitov committed Apr 24, 2024
1 parent 82e38a5 commit 95c07d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/bpf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit 95c07d5

Please sign in to comment.