projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82e38a5
)
bpf: update the comment for BTF_FIELDS_MAX
author
Haiyue Wang
<haiyue.wang@intel.com>
Wed, 24 Apr 2024 05:45:07 +0000
(13:45 +0800)
committer
Alexei 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
patch
|
blob
|
history
diff --git
a/include/linux/bpf.h
b/include/linux/bpf.h
index 64bf0cf3ee95fb830cd29cc7ff4e0cefba8e9917..978200f6d92550495a2ab7678c49ebe72e6fb439 100644
(file)
--- a/
include/linux/bpf.h
+++ b/
include/linux/bpf.h
@@
-184,7
+184,7
@@
struct bpf_map_ops {
};
enum {
- /* Support at most 1
0
fields in a BTF type */
+ /* Support at most 1
1
fields in a BTF type */
BTF_FIELDS_MAX = 11,
};