Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Haiyue Wang and committed by
Alexei Starovoitov
95c07d58 82e38a50

+1 -1
+1 -1
include/linux/bpf.h
··· 184 184 }; 185 185 186 186 enum { 187 - /* Support at most 10 fields in a BTF type */ 187 + /* Support at most 11 fields in a BTF type */ 188 188 BTF_FIELDS_MAX = 11, 189 189 }; 190 190