Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../kernel/events/callchain.c:68:9: error: incompatible types in comparison expression (different address spaces): ../kernel/events/callchain.c:68:9: struct callchain_cpus_entries [noderef] __rcu * ../kernel/events/callchain.c:68:9: struct callchain_cpus_entries * ../kernel/events/callchain.c:98:9: error: incompatible types in comparison expression (different address spaces): ../kernel/events/callchain.c:98:9: struct callchain_cpus_entries [noderef] __rcu * ../kernel/events/callchain.c:98:9: struct callchain_cpus_entries * ../kernel/events/callchain.c:163:19: error: incompatible types in comparison expression (different address spaces): ../kernel/events/callchain.c:163:19: struct callchain_cpus_entries [noderef] __rcu * ../kernel/events/callchain.c:163:19: struct callchain_cpus_entries * ../kernel/bpf/verifier.c:3271:1: error: return type defaults to ‘int’ [-Wimplicit-int] 3271 | BTF_ID_LIST_END(magic_kfuncs) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:3271:1: error: function declaration isn’t a prototype [-Werror=strict-prototypes] ../kernel/bpf/verifier.c: In function ‘BTF_ID_LIST_END’: ../kernel/bpf/verifier.c:3274:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3274 | { | ^ ../kernel/bpf/verifier.c:3285:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3285 | { | ^ ../kernel/bpf/verifier.c:3296:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3296 | { | ^ ../kernel/bpf/verifier.c:3316:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3316 | { | ^ ../kernel/bpf/verifier.c:3463:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3463 | { | ^ ../kernel/bpf/verifier.c:3475:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3475 | { | ^ ../kernel/bpf/verifier.c:3487:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3487 | { | ^ ../kernel/bpf/verifier.c:3494:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3494 | { | ^ ../kernel/bpf/verifier.c:3511:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3511 | { | ^ ../kernel/bpf/verifier.c:3525:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3525 | { | ^ ../kernel/bpf/verifier.c:3588:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3588 | { | ^ ../kernel/bpf/verifier.c:3641:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3641 | { | ^ ../kernel/bpf/verifier.c:3654:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3654 | { | ^ ../kernel/bpf/verifier.c:3675:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3675 | { | ^ ../kernel/bpf/verifier.c:3680:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3680 | { | ^ ../kernel/bpf/verifier.c:3695:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3695 | { | ^ ../kernel/bpf/verifier.c:3781:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3781 | { | ^ ../kernel/bpf/verifier.c:3805:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3805 | { | ^ ../kernel/bpf/verifier.c:3816:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3816 | { | ^ ../kernel/bpf/verifier.c:3829:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3829 | { | ^ ../kernel/bpf/verifier.c:3872:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3872 | { | ^ ../kernel/bpf/verifier.c:3880:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3880 | { | ^ ../kernel/bpf/verifier.c:3885:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3885 | { | ^ ../kernel/bpf/verifier.c:3890:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3890 | { | ^ ../kernel/bpf/verifier.c:3895:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3895 | { | ^ ../kernel/bpf/verifier.c:3900:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3900 | { | ^ ../kernel/bpf/verifier.c:3915:1: warning: empty declaration 3915 | struct linked_reg { | ^~~~~~ ../kernel/bpf/verifier.c:3924:1: warning: empty declaration 3924 | struct linked_regs { | ^~~~~~ ../kernel/bpf/verifier.c:3930:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3930 | { | ^ ../kernel/bpf/verifier.c:3945:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3945 | { | ^ ../kernel/bpf/verifier.c:3966:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3966 | { | ^ ../kernel/bpf/verifier.c:3985:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3985 | { | ^ ../kernel/bpf/verifier.c:4027:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4027 | { | ^ ../kernel/bpf/verifier.c:4048:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4048 | { | ^ ../kernel/bpf/verifier.c:4068:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4068 | { | ^ ../kernel/bpf/verifier.c:4084:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4084 | { | ^ ../kernel/bpf/verifier.c:4095:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4095 | { | ^ ../kernel/bpf/verifier.c:4100:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4100 | { | ^ ../kernel/bpf/verifier.c:4108:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4108 | { | ^ ../kernel/bpf/verifier.c:4119:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4119 | { | ^ ../kernel/bpf/verifier.c:4129:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4129 | { | ^ ../kernel/bpf/verifier.c:4139:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4139 | { | ^ ../kernel/bpf/verifier.c:4144:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4144 | { | ^ ../kernel/bpf/verifier.c:4149:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4149 | { | ^ ../kernel/bpf/verifier.c:4154:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4154 | { | ^ ../kernel/bpf/verifier.c:4159:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4159 | { | ^ ../kernel/bpf/verifier.c:4164:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4164 | { | ^ ../kernel/bpf/verifier.c:4169:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4169 | { | ^ ../kernel/bpf/verifier.c:4174:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4174 | { | ^ ../kernel/bpf/verifier.c:4179:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4179 | { | ^ ../kernel/bpf/verifier.c:4184:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4184 | { | ^ ../kernel/bpf/verifier.c:4189:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4189 | { | ^ ../kernel/bpf/verifier.c:4194:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4194 | { | ^ ../kernel/bpf/verifier.c:4199:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4199 | { | ^ ../kernel/bpf/verifier.c:4205:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4205 | { | ^ ../kernel/bpf/verifier.c:4224:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4224 | { | ^ ../kernel/bpf/verifier.c:4246:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4246 | { | ^ ../kernel/bpf/verifier.c:4289:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4289 | { | ^ ../kernel/bpf/verifier.c:4629:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4629 | { | ^ ../kernel/bpf/verifier.c:4675:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4675 | { | ^ ../kernel/bpf/verifier.c:4790:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4790 | { | ^ ../kernel/bpf/verifier.c:4972:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4972 | { | ^ ../kernel/bpf/verifier.c:4981:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4981 | { | ^ ../kernel/bpf/verifier.c:4986:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4986 | { | ^ ../kernel/bpf/verifier.c:5014:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5014 | { | ^ ../kernel/bpf/verifier.c:5020:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5020 | { | ^ ../kernel/bpf/verifier.c:5027:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5027 | { | ^ ../kernel/bpf/verifier.c:5033:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5033 | { | ^ ../kernel/bpf/verifier.c:5042:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5042 | { | ^ ../kernel/bpf/verifier.c:5066:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5066 | { | ^ ../kernel/bpf/verifier.c:5074:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5074 | { | ^ ../kernel/bpf/verifier.c:5088:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5088 | { | ^ ../kernel/bpf/verifier.c:5093:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5093 | { | ^ ../kernel/bpf/verifier.c:5100:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5100 | { | ^ ../kernel/bpf/verifier.c:5130:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5130 | { | ^ ../kernel/bpf/verifier.c:5276:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5276 | { | ^ ../kernel/bpf/verifier.c:5393:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5393 | { | ^ ../kernel/bpf/verifier.c:5433:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5433 | { | ^ ../kernel/bpf/verifier.c:5557:1: warning: empty declaration 5557 | enum bpf_access_src { | ^~~~ ../kernel/bpf/verifier.c:5562:12: error: storage class specified for parameter ‘check_stack_range_initialized’ 5562 | static int check_stack_range_initialized(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5569:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5569 | { | ^ ../kernel/bpf/verifier.c:5588:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5588 | { | ^ ../kernel/bpf/verifier.c:5621:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5621 | { | ^ ../kernel/bpf/verifier.c:5678:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5678 | { | ^ ../kernel/bpf/verifier.c:5700:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5700 | { | ^ ../kernel/bpf/verifier.c:5724:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5724 | { | ^ ../kernel/bpf/verifier.c:5760:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5760 | { | ^ ../kernel/bpf/verifier.c:5815:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5815 | { | ^ ../kernel/bpf/verifier.c:5846:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5846 | { | ^ ../kernel/bpf/verifier.c:5853:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5853 | { | ^ ../kernel/bpf/verifier.c:5927:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5927 | { | ^ ../kernel/bpf/verifier.c:5935:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5935 | { | ^ In file included from ../include/linux/btf.h:10, from ../include/linux/bpf.h:29, from ../include/linux/bpf-cgroup.h:5, from ../kernel/bpf/verifier.c:7: ../kernel/bpf/verifier.c:5942:15: error: storage class specified for parameter ‘rcu_protected_types’ 5942 | BTF_SET_START(rcu_protected_types) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../include/linux/btf_ids.h:237:43: error: parameter ‘rcu_protected_types’ is initialized 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~~~~~~~ ../kernel/bpf/verifier.c:5942:1: note: in expansion of macro ‘BTF_SET_START’ 5942 | BTF_SET_START(rcu_protected_types) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5959:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5959 | { | ^ ../kernel/bpf/verifier.c:5966:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5966 | { | ^ ../kernel/bpf/verifier.c:5979:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5979 | { | ^ ../kernel/bpf/verifier.c:5987:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5987 | { | ^ ../kernel/bpf/verifier.c:6011:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6011 | { | ^ ../kernel/bpf/verifier.c:6028:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6028 | { | ^ ../kernel/bpf/verifier.c:6093:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6093 | { | ^ ../kernel/bpf/verifier.c:6161:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6161 | { | ^ ../kernel/bpf/verifier.c:6202:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6202 | { | ^ ../kernel/bpf/verifier.c:6245:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6245 | { | ^ ../kernel/bpf/verifier.c:6277:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6277 | { | ^ ../kernel/bpf/verifier.c:6290:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6290 | { | ^ ../kernel/bpf/verifier.c:6333:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6333 | { | ^ ../kernel/bpf/verifier.c:6338:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6338 | { | ^ ../kernel/bpf/verifier.c:6345:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6345 | { | ^ ../kernel/bpf/verifier.c:6352:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6352 | { | ^ ../kernel/bpf/verifier.c:6359:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6359 | { | ^ ../kernel/bpf/verifier.c:6367:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6367 | { | ^ ../kernel/bpf/verifier.c:6378:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6378 | { | ^ ../kernel/bpf/verifier.c:6393:13: error: storage class specified for parameter ‘reg2btf_ids’ 6393 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:6393:1: error: parameter ‘reg2btf_ids’ is initialized 6393 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { | ^~~~~~ ../kernel/bpf/verifier.c:6393:47: error: variable-sized object may not be initialized except with an empty initializer 6393 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { | ^ ../kernel/bpf/verifier.c:6395:10: error: array index in non-array initializer 6395 | [PTR_TO_SOCKET] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK], | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6395:10: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6395:27: error: initialization of ‘u32 **’ {aka ‘unsigned int **’} from incompatible pointer type ‘u32 *’ {aka ‘unsigned int *’} [-Wincompatible-pointer-types] 6395 | [PTR_TO_SOCKET] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK], | ^ ../kernel/bpf/verifier.c:6395:27: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6396:10: error: array index in non-array initializer 6396 | [PTR_TO_SOCK_COMMON] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON], | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6396:10: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6396:32: warning: excess elements in scalar initializer 6396 | [PTR_TO_SOCK_COMMON] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON], | ^ ../kernel/bpf/verifier.c:6396:32: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6397:10: error: array index in non-array initializer 6397 | [PTR_TO_TCP_SOCK] = &btf_sock_ids[BTF_SOCK_TYPE_TCP], | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6397:10: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6397:29: warning: excess elements in scalar initializer 6397 | [PTR_TO_TCP_SOCK] = &btf_sock_ids[BTF_SOCK_TYPE_TCP], | ^ ../kernel/bpf/verifier.c:6397:29: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6399:10: error: array index in non-array initializer 6399 | [CONST_PTR_TO_MAP] = btf_bpf_map_id, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6399:10: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6399:30: warning: excess elements in scalar initializer 6399 | [CONST_PTR_TO_MAP] = btf_bpf_map_id, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6399:30: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6403:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6403 | { | ^ ../kernel/bpf/verifier.c:6427:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6427 | { | ^ ../kernel/bpf/verifier.c:6432:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6432 | { | ^ ../kernel/bpf/verifier.c:6439:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6439 | { | ^ ../kernel/bpf/verifier.c:6475:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6475 | { | ^ ../kernel/bpf/verifier.c:6498:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6498 | { | ^ ../kernel/bpf/verifier.c:6551:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6551 | { | ^ ../kernel/bpf/verifier.c:6579:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6579 | { | ^ ../kernel/bpf/verifier.c:6597:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6597 | { | ^ ../kernel/bpf/verifier.c:6757:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6757 | { | ^ ../kernel/bpf/verifier.c:6817:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6817 | { | ^ ../kernel/bpf/verifier.c:6840:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6840 | { | ^ ../kernel/bpf/verifier.c:6858:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6858 | { | ^ ../kernel/bpf/verifier.c:6874:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6874 | { | ^ ../kernel/bpf/verifier.c:6883:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6883 | { | ^ ../kernel/bpf/verifier.c:6912:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6912 | { | ^ ../kernel/bpf/verifier.c:6931:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6931 | { | ^ ../kernel/bpf/verifier.c:6990:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6990 | { | ^ ../kernel/bpf/verifier.c:7005:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7005 | { | ^ ../kernel/bpf/verifier.c:7055:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7055 | { | ^ ../kernel/bpf/verifier.c:7076:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7076 | { | ^ In file included from : ../kernel/bpf/verifier.c:7117:19: warning: empty declaration 7117 | BTF_TYPE_SAFE_RCU(struct task_struct) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7105:36: note: in expansion of macro ‘__PASTE’ 7105 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) | ^~~~~~~ ../kernel/bpf/verifier.c:7117:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ 7117 | BTF_TYPE_SAFE_RCU(struct task_struct) { | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7124:19: warning: empty declaration 7124 | BTF_TYPE_SAFE_RCU(struct cgroup) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7105:36: note: in expansion of macro ‘__PASTE’ 7105 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) | ^~~~~~~ ../kernel/bpf/verifier.c:7124:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ 7124 | BTF_TYPE_SAFE_RCU(struct cgroup) { | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7129:19: warning: empty declaration 7129 | BTF_TYPE_SAFE_RCU(struct css_set) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7105:36: note: in expansion of macro ‘__PASTE’ 7105 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) | ^~~~~~~ ../kernel/bpf/verifier.c:7129:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ 7129 | BTF_TYPE_SAFE_RCU(struct css_set) { | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7133:19: warning: empty declaration 7133 | BTF_TYPE_SAFE_RCU(struct cgroup_subsys_state) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7105:36: note: in expansion of macro ‘__PASTE’ 7105 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) | ^~~~~~~ ../kernel/bpf/verifier.c:7133:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ 7133 | BTF_TYPE_SAFE_RCU(struct cgroup_subsys_state) { | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7138:27: warning: empty declaration 7138 | BTF_TYPE_SAFE_RCU_OR_NULL(struct mm_struct) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7106:44: note: in expansion of macro ‘__PASTE’ 7106 | #define BTF_TYPE_SAFE_RCU_OR_NULL(__type) __PASTE(__type, __safe_rcu_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7138:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU_OR_NULL’ 7138 | BTF_TYPE_SAFE_RCU_OR_NULL(struct mm_struct) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7148:27: warning: empty declaration 7148 | BTF_TYPE_SAFE_RCU_OR_NULL(struct sk_buff) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7106:44: note: in expansion of macro ‘__PASTE’ 7106 | #define BTF_TYPE_SAFE_RCU_OR_NULL(__type) __PASTE(__type, __safe_rcu_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7148:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU_OR_NULL’ 7148 | BTF_TYPE_SAFE_RCU_OR_NULL(struct sk_buff) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7152:27: warning: empty declaration 7152 | BTF_TYPE_SAFE_RCU_OR_NULL(struct request_sock) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7106:44: note: in expansion of macro ‘__PASTE’ 7106 | #define BTF_TYPE_SAFE_RCU_OR_NULL(__type) __PASTE(__type, __safe_rcu_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7152:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU_OR_NULL’ 7152 | BTF_TYPE_SAFE_RCU_OR_NULL(struct request_sock) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7157:23: warning: empty declaration 7157 | BTF_TYPE_SAFE_TRUSTED(struct bpf_iter_meta) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7107:40: note: in expansion of macro ‘__PASTE’ 7107 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) | ^~~~~~~ ../kernel/bpf/verifier.c:7157:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ 7157 | BTF_TYPE_SAFE_TRUSTED(struct bpf_iter_meta) { | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7161:23: warning: empty declaration 7161 | BTF_TYPE_SAFE_TRUSTED(struct bpf_iter__task) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7107:40: note: in expansion of macro ‘__PASTE’ 7107 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) | ^~~~~~~ ../kernel/bpf/verifier.c:7161:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ 7161 | BTF_TYPE_SAFE_TRUSTED(struct bpf_iter__task) { | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7166:23: warning: empty declaration 7166 | BTF_TYPE_SAFE_TRUSTED(struct linux_binprm) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7107:40: note: in expansion of macro ‘__PASTE’ 7107 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) | ^~~~~~~ ../kernel/bpf/verifier.c:7166:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ 7166 | BTF_TYPE_SAFE_TRUSTED(struct linux_binprm) { | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7170:23: warning: empty declaration 7170 | BTF_TYPE_SAFE_TRUSTED(struct file) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7107:40: note: in expansion of macro ‘__PASTE’ 7107 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) | ^~~~~~~ ../kernel/bpf/verifier.c:7170:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ 7170 | BTF_TYPE_SAFE_TRUSTED(struct file) { | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7174:31: warning: empty declaration 7174 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct dentry) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7108:48: note: in expansion of macro ‘__PASTE’ 7108 | #define BTF_TYPE_SAFE_TRUSTED_OR_NULL(__type) __PASTE(__type, __safe_trusted_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7174:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED_OR_NULL’ 7174 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct dentry) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7178:31: warning: empty declaration 7178 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct socket) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7108:48: note: in expansion of macro ‘__PASTE’ 7108 | #define BTF_TYPE_SAFE_TRUSTED_OR_NULL(__type) __PASTE(__type, __safe_trusted_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7178:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED_OR_NULL’ 7178 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct socket) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7182:31: warning: empty declaration 7182 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct vm_area_struct) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7108:48: note: in expansion of macro ‘__PASTE’ 7108 | #define BTF_TYPE_SAFE_TRUSTED_OR_NULL(__type) __PASTE(__type, __safe_trusted_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7182:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED_OR_NULL’ 7182 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct vm_area_struct) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7190:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7190 | { | ^ ../kernel/bpf/verifier.c:7202:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7202 | { | ^ ../kernel/bpf/verifier.c:7213:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7213 | { | ^ ../kernel/bpf/verifier.c:7225:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7225 | { | ^ ../kernel/bpf/verifier.c:7239:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7239 | { | ^ ../kernel/bpf/verifier.c:7392:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7392 | { | ^ ../kernel/bpf/verifier.c:7463:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7463 | { | ^ ../kernel/bpf/verifier.c:7485:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7485 | { | ^ ../kernel/bpf/verifier.c:7543:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7543 | { | ^ ../kernel/bpf/verifier.c:7561:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7561 | { | ^ ../kernel/bpf/verifier.c:7813:12: error: storage class specified for parameter ‘save_aux_ptr_type’ 7813 | static int save_aux_ptr_type(struct bpf_verifier_env *env, enum bpf_reg_type type, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7819:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7819 | { | ^ ../kernel/bpf/verifier.c:7851:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7851 | { | ^ ../kernel/bpf/verifier.c:7879:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7879 | { | ^ ../kernel/bpf/verifier.c:7968:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7968 | { | ^ ../kernel/bpf/verifier.c:7987:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7987 | { | ^ ../kernel/bpf/verifier.c:8005:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8005 | { | ^ ../kernel/bpf/verifier.c:8053:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8053 | { | ^ ../kernel/bpf/verifier.c:8199:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8199 | { | ^ ../kernel/bpf/verifier.c:8297:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8297 | { | ^ ../kernel/bpf/verifier.c:8344:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8344 | { | ^ ../kernel/bpf/verifier.c:8372:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8372 | { | ^ ../kernel/bpf/verifier.c:8397:1: warning: empty declaration 8397 | enum { | ^~~~ ../kernel/bpf/verifier.c:8426:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8426 | { | ^ ../kernel/bpf/verifier.c:8544:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8544 | { | ^ ../kernel/bpf/verifier.c:8591:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8591 | { | ^ ../kernel/bpf/verifier.c:8615:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8615 | { | ^ ../kernel/bpf/verifier.c:8636:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8636 | { | ^ ../kernel/bpf/verifier.c:8656:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8656 | { | ^ ../kernel/bpf/verifier.c:8729:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8729 | { | ^ ../kernel/bpf/verifier.c:8808:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8808 | { | ^ ../kernel/bpf/verifier.c:8815:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8815 | { | ^ ../kernel/bpf/verifier.c:8820:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8820 | { | ^ ../kernel/bpf/verifier.c:8825:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8825 | { | ^ ../kernel/bpf/verifier.c:8830:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8830 | { | ^ ../kernel/bpf/verifier.c:8836:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8836 | { | ^ ../kernel/bpf/verifier.c:8849:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8849 | { | ^ ../kernel/bpf/verifier.c:8939:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8939 | { | ^ ../kernel/bpf/verifier.c:8960:13: error: storage class specified for parameter ‘reset_idmap_scratch’ 8960 | static void reset_idmap_scratch(struct bpf_verifier_env *env); | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8961:13: error: storage class specified for parameter ‘regs_exact’ 8961 | static bool regs_exact(const struct bpf_reg_state *rold, | ^~~~~~~~~~ ../kernel/bpf/verifier.c:8968:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8968 | { | ^ ../kernel/bpf/verifier.c:8981:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8981 | { | ^ ../kernel/bpf/verifier.c:9012:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9012 | { | ^ ../kernel/bpf/verifier.c:9099:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9099 | { | ^ ../kernel/bpf/verifier.c:9153:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9153 | { | ^ ../kernel/bpf/verifier.c:9159:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9159 | { | ^ ../kernel/bpf/verifier.c:9165:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9165 | { | ^ ../kernel/bpf/verifier.c:9170:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9170 | { | ^ ../kernel/bpf/verifier.c:9177:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9177 | { | ^ ../kernel/bpf/verifier.c:9204:1: warning: empty declaration 9204 | struct bpf_reg_types { | ^~~~~~ ../kernel/bpf/verifier.c:9209:35: error: storage class specified for parameter ‘sock_types’ 9209 | static const struct bpf_reg_types sock_types = { | ^~~~~~~~~~ ../kernel/bpf/verifier.c:9209:21: error: parameter ‘sock_types’ is initialized 9209 | static const struct bpf_reg_types sock_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9219:35: error: storage class specified for parameter ‘btf_id_sock_common_types’ 9219 | static const struct bpf_reg_types btf_id_sock_common_types = { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9219:21: error: parameter ‘btf_id_sock_common_types’ is initialized 9219 | static const struct bpf_reg_types btf_id_sock_common_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9232:35: error: storage class specified for parameter ‘mem_types’ 9232 | static const struct bpf_reg_types mem_types = { | ^~~~~~~~~ ../kernel/bpf/verifier.c:9232:21: error: parameter ‘mem_types’ is initialized 9232 | static const struct bpf_reg_types mem_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9246:35: error: storage class specified for parameter ‘spin_lock_types’ 9246 | static const struct bpf_reg_types spin_lock_types = { | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9246:21: error: parameter ‘spin_lock_types’ is initialized 9246 | static const struct bpf_reg_types spin_lock_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9253:35: error: storage class specified for parameter ‘fullsock_types’ 9253 | static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } }; | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9253:21: error: parameter ‘fullsock_types’ is initialized 9253 | static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9254:35: error: storage class specified for parameter ‘scalar_types’ 9254 | static const struct bpf_reg_types scalar_types = { .types = { SCALAR_VALUE } }; | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:9254:21: error: parameter ‘scalar_types’ is initialized 9254 | static const struct bpf_reg_types scalar_types = { .types = { SCALAR_VALUE } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9255:35: error: storage class specified for parameter ‘context_types’ 9255 | static const struct bpf_reg_types context_types = { .types = { PTR_TO_CTX } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9255:21: error: parameter ‘context_types’ is initialized 9255 | static const struct bpf_reg_types context_types = { .types = { PTR_TO_CTX } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9256:35: error: storage class specified for parameter ‘ringbuf_mem_types’ 9256 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } }; | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9256:21: error: parameter ‘ringbuf_mem_types’ is initialized 9256 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9257:35: error: storage class specified for parameter ‘const_map_ptr_types’ 9257 | static const struct bpf_reg_types const_map_ptr_types = { .types = { CONST_PTR_TO_MAP } }; | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9257:21: error: parameter ‘const_map_ptr_types’ is initialized 9257 | static const struct bpf_reg_types const_map_ptr_types = { .types = { CONST_PTR_TO_MAP } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9258:35: error: storage class specified for parameter ‘btf_ptr_types’ 9258 | static const struct bpf_reg_types btf_ptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9258:21: error: parameter ‘btf_ptr_types’ is initialized 9258 | static const struct bpf_reg_types btf_ptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9265:35: error: storage class specified for parameter ‘percpu_btf_ptr_types’ 9265 | static const struct bpf_reg_types percpu_btf_ptr_types = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9265:21: error: parameter ‘percpu_btf_ptr_types’ is initialized 9265 | static const struct bpf_reg_types percpu_btf_ptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9272:35: error: storage class specified for parameter ‘func_ptr_types’ 9272 | static const struct bpf_reg_types func_ptr_types = { .types = { PTR_TO_FUNC } }; | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9272:21: error: parameter ‘func_ptr_types’ is initialized 9272 | static const struct bpf_reg_types func_ptr_types = { .types = { PTR_TO_FUNC } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9273:35: error: storage class specified for parameter ‘stack_ptr_types’ 9273 | static const struct bpf_reg_types stack_ptr_types = { .types = { PTR_TO_STACK } }; | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9273:21: error: parameter ‘stack_ptr_types’ is initialized 9273 | static const struct bpf_reg_types stack_ptr_types = { .types = { PTR_TO_STACK } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9274:35: error: storage class specified for parameter ‘const_str_ptr_types’ 9274 | static const struct bpf_reg_types const_str_ptr_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9274:21: error: parameter ‘const_str_ptr_types’ is initialized 9274 | static const struct bpf_reg_types const_str_ptr_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9275:35: error: storage class specified for parameter ‘timer_types’ 9275 | static const struct bpf_reg_types timer_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:9275:21: error: parameter ‘timer_types’ is initialized 9275 | static const struct bpf_reg_types timer_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9276:35: error: storage class specified for parameter ‘kptr_xchg_dest_types’ 9276 | static const struct bpf_reg_types kptr_xchg_dest_types = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9276:21: error: parameter ‘kptr_xchg_dest_types’ is initialized 9276 | static const struct bpf_reg_types kptr_xchg_dest_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9282:35: error: storage class specified for parameter ‘dynptr_types’ 9282 | static const struct bpf_reg_types dynptr_types = { | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:9282:21: error: parameter ‘dynptr_types’ is initialized 9282 | static const struct bpf_reg_types dynptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9289:36: error: storage class specified for parameter ‘compatible_reg_types’ 9289 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9289:21: error: parameter ‘compatible_reg_types’ is initialized 9289 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9289:79: error: variable-sized object may not be initialized except with an empty initializer 9289 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { | ^ ../kernel/bpf/verifier.c:9290:10: error: array index in non-array initializer 9290 | [ARG_PTR_TO_MAP_KEY] = &mem_types, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9290:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9290:43: error: initialization of ‘const struct bpf_reg_types **’ from incompatible pointer type ‘const struct bpf_reg_types *’ [-Wincompatible-pointer-types] 9290 | [ARG_PTR_TO_MAP_KEY] = &mem_types, | ^ ../kernel/bpf/verifier.c:9290:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9291:10: error: array index in non-array initializer 9291 | [ARG_PTR_TO_MAP_VALUE] = &mem_types, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9291:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9291:43: warning: excess elements in scalar initializer 9291 | [ARG_PTR_TO_MAP_VALUE] = &mem_types, | ^ ../kernel/bpf/verifier.c:9291:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9292:10: error: array index in non-array initializer 9292 | [ARG_CONST_SIZE] = &scalar_types, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9292:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9292:43: warning: excess elements in scalar initializer 9292 | [ARG_CONST_SIZE] = &scalar_types, | ^ ../kernel/bpf/verifier.c:9292:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9293:10: error: array index in non-array initializer 9293 | [ARG_CONST_SIZE_OR_ZERO] = &scalar_types, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9293:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9293:43: warning: excess elements in scalar initializer 9293 | [ARG_CONST_SIZE_OR_ZERO] = &scalar_types, | ^ ../kernel/bpf/verifier.c:9293:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9294:10: error: array index in non-array initializer 9294 | [ARG_CONST_ALLOC_SIZE_OR_ZERO] = &scalar_types, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9294:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9294:43: warning: excess elements in scalar initializer 9294 | [ARG_CONST_ALLOC_SIZE_OR_ZERO] = &scalar_types, | ^ ../kernel/bpf/verifier.c:9294:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9295:10: error: array index in non-array initializer 9295 | [ARG_CONST_MAP_PTR] = &const_map_ptr_types, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9295:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9295:43: warning: excess elements in scalar initializer 9295 | [ARG_CONST_MAP_PTR] = &const_map_ptr_types, | ^ ../kernel/bpf/verifier.c:9295:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9296:10: error: array index in non-array initializer 9296 | [ARG_PTR_TO_CTX] = &context_types, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9296:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9296:43: warning: excess elements in scalar initializer 9296 | [ARG_PTR_TO_CTX] = &context_types, | ^ ../kernel/bpf/verifier.c:9296:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9297:10: error: array index in non-array initializer 9297 | [ARG_PTR_TO_SOCK_COMMON] = &sock_types, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9297:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9297:43: warning: excess elements in scalar initializer 9297 | [ARG_PTR_TO_SOCK_COMMON] = &sock_types, | ^ ../kernel/bpf/verifier.c:9297:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9299:10: error: array index in non-array initializer 9299 | [ARG_PTR_TO_BTF_ID_SOCK_COMMON] = &btf_id_sock_common_types, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9299:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9299:43: warning: excess elements in scalar initializer 9299 | [ARG_PTR_TO_BTF_ID_SOCK_COMMON] = &btf_id_sock_common_types, | ^ ../kernel/bpf/verifier.c:9299:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9301:10: error: array index in non-array initializer 9301 | [ARG_PTR_TO_SOCKET] = &fullsock_types, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9301:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9301:43: warning: excess elements in scalar initializer 9301 | [ARG_PTR_TO_SOCKET] = &fullsock_types, | ^ ../kernel/bpf/verifier.c:9301:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9302:10: error: array index in non-array initializer 9302 | [ARG_PTR_TO_BTF_ID] = &btf_ptr_types, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9302:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9302:43: warning: excess elements in scalar initializer 9302 | [ARG_PTR_TO_BTF_ID] = &btf_ptr_types, | ^ ../kernel/bpf/verifier.c:9302:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9303:10: error: array index in non-array initializer 9303 | [ARG_PTR_TO_SPIN_LOCK] = &spin_lock_types, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9303:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9303:43: warning: excess elements in scalar initializer 9303 | [ARG_PTR_TO_SPIN_LOCK] = &spin_lock_types, | ^ ../kernel/bpf/verifier.c:9303:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9304:10: error: array index in non-array initializer 9304 | [ARG_PTR_TO_MEM] = &mem_types, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9304:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9304:43: warning: excess elements in scalar initializer 9304 | [ARG_PTR_TO_MEM] = &mem_types, | ^ ../kernel/bpf/verifier.c:9304:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9305:10: error: array index in non-array initializer 9305 | [ARG_PTR_TO_RINGBUF_MEM] = &ringbuf_mem_types, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9305:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9305:43: warning: excess elements in scalar initializer 9305 | [ARG_PTR_TO_RINGBUF_MEM] = &ringbuf_mem_types, | ^ ../kernel/bpf/verifier.c:9305:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9306:10: error: array index in non-array initializer 9306 | [ARG_PTR_TO_PERCPU_BTF_ID] = &percpu_btf_ptr_types, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9306:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9306:43: warning: excess elements in scalar initializer 9306 | [ARG_PTR_TO_PERCPU_BTF_ID] = &percpu_btf_ptr_types, | ^ ../kernel/bpf/verifier.c:9306:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9307:10: error: array index in non-array initializer 9307 | [ARG_PTR_TO_FUNC] = &func_ptr_types, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9307:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9307:43: warning: excess elements in scalar initializer 9307 | [ARG_PTR_TO_FUNC] = &func_ptr_types, | ^ ../kernel/bpf/verifier.c:9307:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9308:10: error: array index in non-array initializer 9308 | [ARG_PTR_TO_STACK] = &stack_ptr_types, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9308:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9308:43: warning: excess elements in scalar initializer 9308 | [ARG_PTR_TO_STACK] = &stack_ptr_types, | ^ ../kernel/bpf/verifier.c:9308:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9309:10: error: array index in non-array initializer 9309 | [ARG_PTR_TO_CONST_STR] = &const_str_ptr_types, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9309:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9309:43: warning: excess elements in scalar initializer 9309 | [ARG_PTR_TO_CONST_STR] = &const_str_ptr_types, | ^ ../kernel/bpf/verifier.c:9309:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9310:10: error: array index in non-array initializer 9310 | [ARG_PTR_TO_TIMER] = &timer_types, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9310:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9310:43: warning: excess elements in scalar initializer 9310 | [ARG_PTR_TO_TIMER] = &timer_types, | ^ ../kernel/bpf/verifier.c:9310:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9311:10: error: array index in non-array initializer 9311 | [ARG_KPTR_XCHG_DEST] = &kptr_xchg_dest_types, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9311:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9311:43: warning: excess elements in scalar initializer 9311 | [ARG_KPTR_XCHG_DEST] = &kptr_xchg_dest_types, | ^ ../kernel/bpf/verifier.c:9311:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9312:10: error: array index in non-array initializer 9312 | [ARG_PTR_TO_DYNPTR] = &dynptr_types, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9312:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9312:43: warning: excess elements in scalar initializer 9312 | [ARG_PTR_TO_DYNPTR] = &dynptr_types, | ^ ../kernel/bpf/verifier.c:9312:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9319:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9319 | { | ^ ../kernel/bpf/verifier.c:9464:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9464 | { | ^ ../kernel/bpf/verifier.c:9482:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9482 | { | ^ ../kernel/bpf/verifier.c:9553:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9553 | { | ^ ../kernel/bpf/verifier.c:9573:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9573 | { | ^ ../kernel/bpf/verifier.c:9586:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9586 | { | ^ ../kernel/bpf/verifier.c:9600:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9600 | { | ^ ../kernel/bpf/verifier.c:9618:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9618 | { | ^ ../kernel/bpf/verifier.c:9669:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9669 | { | ^ ../kernel/bpf/verifier.c:9725:13: error: storage class specified for parameter ‘can_elide_value_nullness’ 9725 | static bool can_elide_value_nullness(enum bpf_map_type type); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9731:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9731 | { | ^ ../kernel/bpf/verifier.c:9998:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9998 | { | ^ ../kernel/bpf/verifier.c:10036:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10036 | { | ^ ../kernel/bpf/verifier.c:10043:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10043 | { | ^ ../kernel/bpf/verifier.c:10293:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10293 | { | ^ ../kernel/bpf/verifier.c:10315:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10315 | { | ^ ../kernel/bpf/verifier.c:10330:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10330 | { | ^ ../kernel/bpf/verifier.c:10348:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10348 | { | ^ ../kernel/bpf/verifier.c:10367:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10367 | { | ^ ../kernel/bpf/verifier.c:10380:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10380 | { | ^ ../kernel/bpf/verifier.c:10390:1: warning: empty declaration 10390 | enum { | ^~~~ ../kernel/bpf/verifier.c:10396:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10396 | { | ^ ../kernel/bpf/verifier.c:10417:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10417 | { | ^ ../kernel/bpf/verifier.c:10437:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10437 | { | ^ ../kernel/bpf/verifier.c:10456:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10456 | { | ^ ../kernel/bpf/verifier.c:10468:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10468 | { | ^ ../kernel/bpf/verifier.c:10478:15: error: storage class specified for parameter ‘set_callee_state_fn’ 10478 | typedef int (*set_callee_state_fn)(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10483:12: error: storage class specified for parameter ‘set_callee_state’ 10483 | static int set_callee_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10488:29: error: expected declaration specifiers or ‘...’ before ‘set_callee_state_fn’ 10488 | set_callee_state_fn set_callee_state_cb, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10538:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10538 | { | ^ ../kernel/bpf/verifier.c:10638:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10638 | { | ^ ../kernel/bpf/verifier.c:10666:31: error: expected declaration specifiers or ‘...’ before ‘set_callee_state_fn’ 10666 | set_callee_state_fn set_callee_state_cb) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10735:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10735 | { | ^ ../kernel/bpf/verifier.c:10817:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10817 | { | ^ ../kernel/bpf/verifier.c:10844:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10844 | { | ^ ../kernel/bpf/verifier.c:10859:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10859 | { | ^ ../kernel/bpf/verifier.c:10885:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10885 | { | ^ ../kernel/bpf/verifier.c:10907:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10907 | { | ^ ../kernel/bpf/verifier.c:10937:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10937 | { | ^ ../kernel/bpf/verifier.c:10965:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10965 | { | ^ ../kernel/bpf/verifier.c:10988:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10988 | { | ^ ../kernel/bpf/verifier.c:11020:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11020 | { | ^ ../kernel/bpf/verifier.c:11046:13: error: storage class specified for parameter ‘is_rbtree_lock_required_kfunc’ 11046 | static bool is_rbtree_lock_required_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11053:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11053 | { | ^ ../kernel/bpf/verifier.c:11073:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11073 | { | ^ ../kernel/bpf/verifier.c:11081:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11081 | { | ^ ../kernel/bpf/verifier.c:11174:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11174 | { | ^ ../kernel/bpf/verifier.c:11211:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11211 | { | ^ ../kernel/bpf/verifier.c:11257:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11257 | { | ^ ../kernel/bpf/verifier.c:11292:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11292 | { | ^ ../kernel/bpf/verifier.c:11319:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11319 | { | ^ ../kernel/bpf/verifier.c:11353:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11353 | { | ^ ../kernel/bpf/verifier.c:11390:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11390 | { | ^ ../kernel/bpf/verifier.c:11411:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11411 | { | ^ ../kernel/bpf/verifier.c:11416:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11416 | { | ^ ../kernel/bpf/verifier.c:11428:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11428 | { | ^ ../kernel/bpf/verifier.c:11450:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11450 | { | ^ ../kernel/bpf/verifier.c:11462:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11462 | { | ^ ../kernel/bpf/verifier.c:11475:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11475 | { | ^ ../kernel/bpf/verifier.c:11484:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11484 | { | ^ ../kernel/bpf/verifier.c:12004:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12004 | { | ^ ../kernel/bpf/verifier.c:12019:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12019 | { | ^ ../kernel/bpf/verifier.c:12024:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12024 | { | ^ ../kernel/bpf/verifier.c:12029:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12029 | { | ^ ../kernel/bpf/verifier.c:12034:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12034 | { | ^ ../kernel/bpf/verifier.c:12039:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12039 | { | ^ ../kernel/bpf/verifier.c:12044:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12044 | { | ^ ../kernel/bpf/verifier.c:12049:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12049 | { | ^ ../kernel/bpf/verifier.c:12054:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12054 | { | ^ ../kernel/bpf/verifier.c:12061:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12061 | { | ^ ../kernel/bpf/verifier.c:12074:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12074 | { | ^ ../kernel/bpf/verifier.c:12085:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12085 | { | ^ ../kernel/bpf/verifier.c:12090:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12090 | { | ^ ../kernel/bpf/verifier.c:12095:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12095 | { | ^ ../kernel/bpf/verifier.c:12100:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12100 | { | ^ ../kernel/bpf/verifier.c:12105:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12105 | { | ^ ../kernel/bpf/verifier.c:12110:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12110 | { | ^ ../kernel/bpf/verifier.c:12115:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12115 | { | ^ ../kernel/bpf/verifier.c:12120:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12120 | { | ^ ../kernel/bpf/verifier.c:12125:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12125 | { | ^ ../kernel/bpf/verifier.c:12130:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12130 | { | ^ ../kernel/bpf/verifier.c:12135:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12135 | { | ^ ../kernel/bpf/verifier.c:12140:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12140 | { | ^ ../kernel/bpf/verifier.c:12147:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12147 | { | ^ ../kernel/bpf/verifier.c:12163:1: warning: empty declaration 12163 | enum { | ^~~~ ../kernel/bpf/verifier.c:12174:13: error: storage class specified for parameter ‘kf_arg_btf_ids’ 12174 | BTF_ID_LIST(kf_arg_btf_ids) | ^~~~~~~~~~~~~~ ../include/linux/btf_ids.h:230:53: note: in definition of macro ‘BTF_ID_LIST’ 230 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; | ^~~~ ../kernel/bpf/verifier.c:12186:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12186 | { | ^ ../kernel/bpf/verifier.c:12202:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12202 | { | ^ ../kernel/bpf/verifier.c:12207:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12207 | { | ^ ../kernel/bpf/verifier.c:12212:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12212 | { | ^ ../kernel/bpf/verifier.c:12217:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12217 | { | ^ ../kernel/bpf/verifier.c:12222:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12222 | { | ^ ../kernel/bpf/verifier.c:12227:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12227 | { | ^ ../kernel/bpf/verifier.c:12232:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12232 | { | ^ ../kernel/bpf/verifier.c:12237:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12237 | { | ^ ../kernel/bpf/verifier.c:12242:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12242 | { | ^ ../kernel/bpf/verifier.c:12247:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12247 | { | ^ ../kernel/bpf/verifier.c:12253:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12253 | { | ^ ../kernel/bpf/verifier.c:12267:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12267 | { | ^ ../kernel/bpf/verifier.c:12303:1: warning: empty declaration 12303 | enum kfunc_ptr_arg_type { | ^~~~ ../kernel/bpf/verifier.c:12326:1: warning: empty declaration 12326 | enum special_kfunc_type { | ^~~~ ../kernel/bpf/verifier.c:12380:13: error: storage class specified for parameter ‘special_kfunc_list’ 12380 | BTF_ID_LIST(special_kfunc_list) | ^~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:230:53: note: in definition of macro ‘BTF_ID_LIST’ 230 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; | ^~~~ ../kernel/bpf/verifier.c:12454:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12454 | { | ^ ../kernel/bpf/verifier.c:12460:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12460 | { | ^ ../kernel/bpf/verifier.c:12470:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12470 | { | ^ ../kernel/bpf/verifier.c:12475:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12475 | { | ^ ../kernel/bpf/verifier.c:12480:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12480 | { | ^ ../kernel/bpf/verifier.c:12485:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12485 | { | ^ ../kernel/bpf/verifier.c:12490:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12490 | { | ^ ../kernel/bpf/verifier.c:12500:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12500 | { | ^ ../kernel/bpf/verifier.c:12599:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12599 | { | ^ ../kernel/bpf/verifier.c:12667:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12667 | { | ^ ../kernel/bpf/verifier.c:12720:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12720 | { | ^ ../kernel/bpf/verifier.c:12741:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12741 | { | ^ ../kernel/bpf/verifier.c:12817:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12817 | { | ^ ../kernel/bpf/verifier.c:12846:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12846 | { | ^ ../kernel/bpf/verifier.c:12856:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12856 | { | ^ ../kernel/bpf/verifier.c:12866:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12866 | { | ^ ../kernel/bpf/verifier.c:12873:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12873 | { | ^ ../kernel/bpf/verifier.c:12879:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12879 | { | ^ ../kernel/bpf/verifier.c:12887:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12887 | { | ^ ../kernel/bpf/verifier.c:12893:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12893 | { | ^ ../kernel/bpf/verifier.c:12898:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12898 | { | ^ ../kernel/bpf/verifier.c:12904:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12904 | { | ^ ../kernel/bpf/verifier.c:12910:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12910 | { | ^ ../kernel/bpf/verifier.c:12915:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12915 | { | ^ ../kernel/bpf/verifier.c:12921:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12921 | { | ^ ../kernel/bpf/verifier.c:12928:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12928 | { | ^ ../kernel/bpf/verifier.c:12953:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12953 | { | ^ ../kernel/bpf/verifier.c:12985:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12985 | { | ^ ../kernel/bpf/verifier.c:13033:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13033 | { | ^ ../kernel/bpf/verifier.c:13041:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13041 | { | ^ ../kernel/bpf/verifier.c:13053:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13053 | { | ^ ../kernel/bpf/verifier.c:13114:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13114 | { | ^ ../kernel/bpf/verifier.c:13123:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13123 | { | ^ ../kernel/bpf/verifier.c:13136:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13136 | { | ^ ../kernel/bpf/verifier.c:13153:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13153 | { | ^ ../kernel/bpf/verifier.c:13696:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13696 | { | ^ ../kernel/bpf/verifier.c:13761:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13761 | { | ^ ../kernel/bpf/verifier.c:13933:12: error: storage class specified for parameter ‘check_return_code’ 13933 | static int check_return_code(struct bpf_verifier_env *env, int regno, const char *reg_name); | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:13937:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13937 | { | ^ ../kernel/bpf/verifier.c:14327:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14327 | { | ^ ../kernel/bpf/verifier.c:14359:1: warning: empty declaration 14359 | enum { | ^~~~ ../kernel/bpf/verifier.c:14369:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14369 | { | ^ ../kernel/bpf/verifier.c:14400:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14400 | { | ^ ../kernel/bpf/verifier.c:14408:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14408 | { | ^ ../kernel/bpf/verifier.c:14425:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14425 | { | ^ ../kernel/bpf/verifier.c:14435:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14435 | { | ^ ../kernel/bpf/verifier.c:14439:1: warning: empty declaration 14439 | struct bpf_sanitize_info { | ^~~~~~ ../kernel/bpf/verifier.c:14447:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14447 | { | ^ ../kernel/bpf/verifier.c:14471:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14471 | { | ^ ../kernel/bpf/verifier.c:14561:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14561 | { | ^ ../kernel/bpf/verifier.c:14577:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14577 | { | ^ ../kernel/bpf/verifier.c:14626:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14626 | { | ^ ../kernel/bpf/verifier.c:14648:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14648 | { | ^ ../kernel/bpf/verifier.c:14686:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14686 | { | ^ ../kernel/bpf/verifier.c:14927:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14927 | { | ^ ../kernel/bpf/verifier.c:14958:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14958 | { | ^ ../kernel/bpf/verifier.c:14989:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14989 | { | ^ ../kernel/bpf/verifier.c:15021:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15021 | { | ^ ../kernel/bpf/verifier.c:15053:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15053 | { | ^ ../kernel/bpf/verifier.c:15081:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15081 | { | ^ ../kernel/bpf/verifier.c:15109:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15109 | { | ^ ../kernel/bpf/verifier.c:15140:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15140 | { | ^ ../kernel/bpf/verifier.c:15172:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15172 | { | ^ ../kernel/bpf/verifier.c:15203:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15203 | { | ^ ../kernel/bpf/verifier.c:15235:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15235 | { | ^ ../kernel/bpf/verifier.c:15263:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15263 | { | ^ ../kernel/bpf/verifier.c:15293:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15293 | { | ^ ../kernel/bpf/verifier.c:15311:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15311 | { | ^ ../kernel/bpf/verifier.c:15329:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15329 | { | ^ ../kernel/bpf/verifier.c:15359:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15359 | { | ^ ../kernel/bpf/verifier.c:15374:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15374 | { | ^ ../kernel/bpf/verifier.c:15406:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15406 | { | ^ ../kernel/bpf/verifier.c:15440:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15440 | { | ^ ../kernel/bpf/verifier.c:15463:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15463 | { | ^ ../kernel/bpf/verifier.c:15490:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15490 | { | ^ ../kernel/bpf/verifier.c:15537:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15537 | { | ^ ../kernel/bpf/verifier.c:15639:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15639 | { | ^ ../kernel/bpf/verifier.c:15773:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15773 | { | ^ ../kernel/bpf/verifier.c:16019:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16019 | { | ^ ../kernel/bpf/verifier.c:16099:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16099 | { | ^ ../kernel/bpf/verifier.c:16230:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16230 | { | ^ ../kernel/bpf/verifier.c:16253:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16253 | { | ^ ../kernel/bpf/verifier.c:16299:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16299 | { | ^ ../kernel/bpf/verifier.c:16343:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16343 | { | ^ ../kernel/bpf/verifier.c:16367:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16367 | { | ^ ../kernel/bpf/verifier.c:16547:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16547 | { | ^ ../kernel/bpf/verifier.c:16577:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16577 | { | ^ ../kernel/bpf/verifier.c:16626:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16626 | { | ^ ../kernel/bpf/verifier.c:16649:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16649 | { | ^ ../kernel/bpf/verifier.c:16751:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16751 | { | ^ ../kernel/bpf/verifier.c:16773:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16773 | { | ^ ../kernel/bpf/verifier.c:16799:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16799 | { | ^ ../kernel/bpf/verifier.c:16844:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16844 | { | ^ ../kernel/bpf/verifier.c:17099:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17099 | { | ^ ../kernel/bpf/verifier.c:17195:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17195 | { | ^ ../kernel/bpf/verifier.c:17222:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17222 | { | ^ ../kernel/bpf/verifier.c:17292:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17292 | { | ^ ../kernel/bpf/verifier.c:17491:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17491 | { | ^ ../kernel/bpf/verifier.c:17499:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17499 | { | ^ ../kernel/bpf/verifier.c:17513:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17513 | { | ^ ../kernel/bpf/verifier.c:17555:1: warning: empty declaration 17555 | enum { | ^~~~ ../kernel/bpf/verifier.c:17563:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17563 | { | ^ ../kernel/bpf/verifier.c:17568:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17568 | { | ^ ../kernel/bpf/verifier.c:17573:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17573 | { | ^ ../kernel/bpf/verifier.c:17578:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17578 | { | ^ ../kernel/bpf/verifier.c:17583:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17583 | { | ^ ../kernel/bpf/verifier.c:17588:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17588 | { | ^ ../kernel/bpf/verifier.c:17592:1: warning: empty declaration 17592 | enum { | ^~~~ ../kernel/bpf/verifier.c:17603:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17603 | { | ^ ../kernel/bpf/verifier.c:17653:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17653 | { | ^ ../kernel/bpf/verifier.c:17683:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17683 | { | ^ ../kernel/bpf/verifier.c:17694:1: warning: empty declaration 17694 | struct call_summary { | ^~~~~~ ../kernel/bpf/verifier.c:17705:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17705 | { | ^ ../kernel/bpf/verifier.c:17821:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17821 | { | ^ ../kernel/bpf/verifier.c:17906:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17906 | { | ^ ../kernel/bpf/verifier.c:17934:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17934 | { | ^ ../kernel/bpf/verifier.c:17955:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17955 | { | ^ ../kernel/bpf/verifier.c:18077:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18077 | { | ^ ../kernel/bpf/verifier.c:18168:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18168 | { | ^ ../kernel/bpf/verifier.c:18214:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18214 | { | ^ ../kernel/bpf/verifier.c:18237:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18237 | { | ^ ../kernel/bpf/verifier.c:18339:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18339 | { | ^ ../kernel/bpf/verifier.c:18412:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18412 | { | ^ ../kernel/bpf/verifier.c:18430:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18430 | { | ^ ../kernel/bpf/verifier.c:18558:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18558 | { | ^ ../kernel/bpf/verifier.c:18627:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18627 | { | ^ ../kernel/bpf/verifier.c:18655:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18655 | { | ^ ../kernel/bpf/verifier.c:18682:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18682 | { | ^ ../kernel/bpf/verifier.c:18704:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18704 | { | ^ ../kernel/bpf/verifier.c:18737:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18737 | { | ^ ../kernel/bpf/verifier.c:18747:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18747 | { | ^ ../kernel/bpf/verifier.c:18771:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18771 | { | ^ ../kernel/bpf/verifier.c:18814:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18814 | { | ^ ../kernel/bpf/verifier.c:18838:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18838 | { | ^ ../kernel/bpf/verifier.c:18844:1: warning: empty declaration 18844 | enum exact_level { | ^~~~ ../kernel/bpf/verifier.c:18854:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18854 | { | ^ ../kernel/bpf/verifier.c:18976:29: error: storage class specified for parameter ‘unbound_reg’ 18976 | static struct bpf_reg_state unbound_reg; | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:18979:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18979 | { | ^ ../include/linux/compiler.h:166:45: error: storage class specified for parameter ‘__UNIQUE_ID___addressable_unbound_reg_init2523’ 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../include/linux/compiler.h:166:29: note: in expansion of macro ‘__PASTE’ 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^~~~~~~~ ../include/linux/compiler.h:166:37: note: in expansion of macro ‘__PASTE’ 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ../include/linux/compiler.h:286:9: note: in expansion of macro ‘__UNIQUE_ID’ 286 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~~~~~~~~~ ../include/linux/compiler.h:289:9: note: in expansion of macro ‘___ADDRESSABLE’ 289 | ___ADDRESSABLE(sym, __section(".discard.addressable")) | ^~~~~~~~~~~~~~ ../include/linux/init.h:250:9: note: in expansion of macro ‘__ADDRESSABLE’ 250 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:255:9: note: in expansion of macro ‘__define_initcall_stub’ 255 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ 268 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ 307 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18983:1: note: in expansion of macro ‘late_initcall’ 18983 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18983:1: error: parameter ‘__UNIQUE_ID___addressable_unbound_reg_init2523’ is initialized ../kernel/bpf/verifier.c:18983:1: warning: ‘used’ attribute ignored [-Wattributes] ../include/linux/compiler.h:166:45: error: section attribute not allowed for ‘__UNIQUE_ID___addressable_unbound_reg_init2523’ 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../include/linux/compiler.h:166:29: note: in expansion of macro ‘__PASTE’ 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^~~~~~~~ ../include/linux/compiler.h:166:37: note: in expansion of macro ‘__PASTE’ 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ../include/linux/compiler.h:286:9: note: in expansion of macro ‘__UNIQUE_ID’ 286 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~~~~~~~~~ ../include/linux/compiler.h:289:9: note: in expansion of macro ‘___ADDRESSABLE’ 289 | ___ADDRESSABLE(sym, __section(".discard.addressable")) | ^~~~~~~~~~~~~~ ../include/linux/init.h:250:9: note: in expansion of macro ‘__ADDRESSABLE’ 250 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:255:9: note: in expansion of macro ‘__define_initcall_stub’ 255 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ 268 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ 307 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18983:1: note: in expansion of macro ‘late_initcall’ 18983 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ In file included from ../include/uapi/linux/filter.h:9, from ../include/linux/bpf.h:8: ../kernel/bpf/verifier.c:18983:15: error: ‘unbound_reg_init’ undeclared (first use in this function); did you mean ‘unbound_reg’? 18983 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~~~~ ../include/linux/compiler.h:286:72: note: in definition of macro ‘___ADDRESSABLE’ 286 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~ ../include/linux/init.h:250:9: note: in expansion of macro ‘__ADDRESSABLE’ 250 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:255:9: note: in expansion of macro ‘__define_initcall_stub’ 255 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ 268 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ 307 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18983:1: note: in expansion of macro ‘late_initcall’ 18983 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18983:15: note: each undeclared identifier is reported only once for each function it appears in 18983 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~~~~ ../include/linux/compiler.h:286:72: note: in definition of macro ‘___ADDRESSABLE’ 286 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~ ../include/linux/init.h:250:9: note: in expansion of macro ‘__ADDRESSABLE’ 250 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:255:9: note: in expansion of macro ‘__define_initcall_stub’ 255 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ 268 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ 307 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18983:1: note: in expansion of macro ‘late_initcall’ 18983 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ In file included from ../include/linux/printk.h:6, from ../include/asm-generic/bug.h:22, from ../arch/x86/include/asm/bug.h:108, from ../include/linux/bug.h:5, from ../include/linux/alloc_tag.h:8, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:11: ../include/linux/init.h:256:9: error: expected declaration specifiers before ‘asm’ 256 | asm(".section \"" __sec "\", \"a\" \n" \ | ^~~ ../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ 268 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ 307 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18983:1: note: in expansion of macro ‘late_initcall’ 18983 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ In file included from ../include/linux/init.h:5: ../include/linux/build_bug.h:78:41: error: expected declaration specifiers before ‘_Static_assert’ 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ ../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ ../include/linux/init.h:260:9: note: in expansion of macro ‘static_assert’ 260 | static_assert(__same_type(initcall_t, &fn)); | ^~~~~~~~~~~~~ ../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ 268 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ 307 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18983:1: note: in expansion of macro ‘late_initcall’ 18983 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18983:32: error: expected declaration specifiers before ‘;’ token 18983 | late_initcall(unbound_reg_init); | ^ ../kernel/bpf/verifier.c:18987:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18987 | { | ^ ../kernel/bpf/verifier.c:19002:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19002 | { | ^ ../kernel/bpf/verifier.c:19015:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19015 | { | ^ ../kernel/bpf/verifier.c:19139:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19139 | { | ^ ../kernel/bpf/verifier.c:19212:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19212 | { | ^ ../kernel/bpf/verifier.c:19232:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19232 | { | ^ ../kernel/bpf/verifier.c:19241:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19241 | { | ^ ../kernel/bpf/verifier.c:19282:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19282 | { | ^ ../kernel/bpf/verifier.c:19343:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19343 | { | ^ ../kernel/bpf/verifier.c:19373:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19373 | { | ^ ../kernel/bpf/verifier.c:19390:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19390 | { | ^ ../kernel/bpf/verifier.c:19453:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19453 | { | ^ ../kernel/bpf/verifier.c:19477:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19477 | { | ^ ../kernel/bpf/verifier.c:19833:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19833 | { | ^ ../kernel/bpf/verifier.c:19861:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19861 | { | ^ ../kernel/bpf/verifier.c:19867:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19867 | { | ^ ../kernel/bpf/verifier.c:19878:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19878 | { | ^ ../kernel/bpf/verifier.c:19884:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19884 | { | ^ ../kernel/bpf/verifier.c:19930:1: warning: empty declaration 19930 | enum { | ^~~~ ../kernel/bpf/verifier.c:19937:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19937 | { | ^ ../kernel/bpf/verifier.c:19981:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19981 | { | ^ ../kernel/bpf/verifier.c:20140:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20140 | { | ^ ../kernel/bpf/verifier.c:20313:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20313 | { | ^ ../kernel/bpf/verifier.c:20349:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20349 | { | ^ ../kernel/bpf/verifier.c:20387:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20387 | { | ^ ../kernel/bpf/verifier.c:20469:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20469 | { | ^ ../kernel/bpf/verifier.c:20502:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20502 | { | ^ ../kernel/bpf/verifier.c:20516:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20516 | { | ^ ../kernel/bpf/verifier.c:20525:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20525 | { | ^ ../kernel/bpf/verifier.c:20639:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20639 | { | ^ ../kernel/bpf/verifier.c:20677:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20677 | { | ^ ../kernel/bpf/verifier.c:20698:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20698 | { | ^ ../kernel/bpf/verifier.c:20841:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20841 | { | ^ ../kernel/bpf/verifier.c:20848:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20848 | { | ^ ../kernel/bpf/verifier.c:20854:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20854 | { | ^ ../kernel/bpf/verifier.c:20874:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20874 | { | ^ ../kernel/bpf/verifier.c:20902:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20902 | { | ^ ../kernel/bpf/verifier.c:20916:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20916 | { | ^ ../kernel/bpf/verifier.c:20931:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20931 | { | ^ ../kernel/bpf/verifier.c:20965:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20965 | { | ^ ../kernel/bpf/verifier.c:21000:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21000 | { | ^ ../kernel/bpf/verifier.c:21056:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21056 | { | ^ ../kernel/bpf/verifier.c:21119:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21119 | { | ^ ../kernel/bpf/verifier.c:21157:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21157 | { | ^ ../kernel/bpf/verifier.c:21173:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21173 | { | ^ ../kernel/bpf/verifier.c:21187:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21187 | { | ^ ../kernel/bpf/verifier.c:21213:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21213 | { | ^ ../kernel/bpf/verifier.c:21236:30: error: storage class specified for parameter ‘NOP’ 21236 | static const struct bpf_insn NOP = BPF_JMP_IMM(BPF_JA, 0, 0, 0); | ^~~ ../kernel/bpf/verifier.c:21236:21: error: parameter ‘NOP’ is initialized 21236 | static const struct bpf_insn NOP = BPF_JMP_IMM(BPF_JA, 0, 0, 0); | ^~~~~~~~ ../kernel/bpf/verifier.c:21237:30: error: storage class specified for parameter ‘MAY_GOTO_0’ 21237 | static const struct bpf_insn MAY_GOTO_0 = BPF_RAW_INSN(BPF_JMP | BPF_JCOND, 0, 0, 0, 0); | ^~~~~~~~~~ ../kernel/bpf/verifier.c:21237:21: error: parameter ‘MAY_GOTO_0’ is initialized 21237 | static const struct bpf_insn MAY_GOTO_0 = BPF_RAW_INSN(BPF_JMP | BPF_JCOND, 0, 0, 0, 0); | ^~~~~~~~ ../kernel/bpf/verifier.c:21240:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21240 | { | ^ ../kernel/bpf/verifier.c:21266:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21266 | { | ^ ../kernel/bpf/verifier.c:21371:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21371 | { | ^ ../kernel/bpf/verifier.c:21671:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21671 | { | ^ ../kernel/bpf/verifier.c:21937:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21937 | { | ^ ../kernel/bpf/verifier.c:21989:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21989 | { | ^ ../kernel/bpf/verifier.c:22050:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22050 | { | ^ ../kernel/bpf/verifier.c:22063:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22063 | { | ^ ../kernel/bpf/verifier.c:22175:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22175 | { | ^ ../kernel/bpf/verifier.c:22204:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22204 | { | ^ ../kernel/bpf/verifier.c:23127:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23127 | { | ^ ../kernel/bpf/verifier.c:23199:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23199 | { | ^ ../kernel/bpf/verifier.c:23215:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23215 | { | ^ ../kernel/bpf/verifier.c:23263:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23263 | { | ^ ../kernel/bpf/verifier.c:23294:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23294 | { | ^ ../kernel/bpf/verifier.c:23337:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23337 | { | ^ ../kernel/bpf/verifier.c:23486:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23486 | { | ^ ../kernel/bpf/verifier.c:23536:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23536 | { | ^ ../kernel/bpf/verifier.c:23548:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23548 | { | ^ ../kernel/bpf/verifier.c:23573:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23573 | { | ^ ../kernel/bpf/verifier.c:23581:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23581 | { | ^ ../kernel/bpf/verifier.c:23692:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23692 | { | ^ ../kernel/bpf/verifier.c:23703:15: error: storage class specified for parameter ‘btf_non_sleepable_error_inject’ 23703 | BTF_SET_START(btf_non_sleepable_error_inject) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../include/linux/btf_ids.h:237:43: error: parameter ‘btf_non_sleepable_error_inject’ is initialized 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~~~~~~~ ../kernel/bpf/verifier.c:23703:1: note: in expansion of macro ‘BTF_SET_START’ 23703 | BTF_SET_START(btf_non_sleepable_error_inject) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23717:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23717 | { | ^ ../kernel/bpf/verifier.c:23726:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23726 | { | ^ ../kernel/bpf/verifier.c:24052:15: error: storage class specified for parameter ‘btf_id_deny’ 24052 | BTF_SET_START(btf_id_deny) | ^~~~~~~~~~~ ../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../include/linux/btf_ids.h:237:43: error: parameter ‘btf_id_deny’ is initialized 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~~~~~~~ ../kernel/bpf/verifier.c:24052:1: note: in expansion of macro ‘BTF_SET_START’ 24052 | BTF_SET_START(btf_id_deny) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24076:15: error: storage class specified for parameter ‘noreturn_deny’ 24076 | BTF_SET_START(noreturn_deny) | ^~~~~~~~~~~~~ ../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../include/linux/btf_ids.h:237:43: error: parameter ‘noreturn_deny’ is initialized 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~~~~~~~ ../kernel/bpf/verifier.c:24076:1: note: in expansion of macro ‘BTF_SET_START’ 24076 | BTF_SET_START(noreturn_deny) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24100:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24100 | { | ^ ../kernel/bpf/verifier.c:24118:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24118 | { | ^ ../kernel/bpf/verifier.c:24208:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24208 | { | ^ ../kernel/bpf/verifier.c:24224:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24224 | { | ^ ../kernel/bpf/verifier.c:24251:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24251 | { | ^ ../kernel/bpf/verifier.c:24286:1: warning: empty declaration 24286 | struct insn_live_regs { | ^~~~~~ ../kernel/bpf/verifier.c:24300:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24300 | { | ^ ../kernel/bpf/verifier.c:24435:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24435 | { | ^ ../kernel/bpf/verifier.c:24529:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24529 | { | ^ ../kernel/bpf/verifier.c:24702:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24702 | { | ^ ../kernel/bpf/verifier.c:3271:1: error: type of ‘magic_kfuncs’ defaults to ‘int’ [-Wimplicit-int] 3271 | BTF_ID_LIST_END(magic_kfuncs) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24076:15: error: declaration for parameter ‘noreturn_deny’ but no such parameter 24076 | BTF_SET_START(noreturn_deny) | ^~~~~~~~~~~~~ ../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../kernel/bpf/verifier.c:24052:15: error: declaration for parameter ‘btf_id_deny’ but no such parameter 24052 | BTF_SET_START(btf_id_deny) | ^~~~~~~~~~~ ../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../kernel/bpf/verifier.c:23703:15: error: declaration for parameter ‘btf_non_sleepable_error_inject’ but no such parameter 23703 | BTF_SET_START(btf_non_sleepable_error_inject) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../kernel/bpf/verifier.c:21237:30: error: declaration for parameter ‘MAY_GOTO_0’ but no such parameter 21237 | static const struct bpf_insn MAY_GOTO_0 = BPF_RAW_INSN(BPF_JMP | BPF_JCOND, 0, 0, 0, 0); | ^~~~~~~~~~ ../kernel/bpf/verifier.c:21236:30: error: declaration for parameter ‘NOP’ but no such parameter 21236 | static const struct bpf_insn NOP = BPF_JMP_IMM(BPF_JA, 0, 0, 0); | ^~~ ../include/linux/compiler.h:166:45: error: declaration for parameter ‘__UNIQUE_ID___addressable_unbound_reg_init2523’ but no such parameter 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../include/linux/compiler.h:166:29: note: in expansion of macro ‘__PASTE’ 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^~~~~~~~ ../include/linux/compiler.h:166:37: note: in expansion of macro ‘__PASTE’ 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ../include/linux/compiler.h:286:9: note: in expansion of macro ‘__UNIQUE_ID’ 286 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~~~~~~~~~ ../include/linux/compiler.h:289:9: note: in expansion of macro ‘___ADDRESSABLE’ 289 | ___ADDRESSABLE(sym, __section(".discard.addressable")) | ^~~~~~~~~~~~~~ ../include/linux/init.h:250:9: note: in expansion of macro ‘__ADDRESSABLE’ 250 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:255:9: note: in expansion of macro ‘__define_initcall_stub’ 255 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ 268 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ 307 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18983:1: note: in expansion of macro ‘late_initcall’ 18983 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18976:29: error: declaration for parameter ‘unbound_reg’ but no such parameter 18976 | static struct bpf_reg_state unbound_reg; | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:13933:12: error: declaration for parameter ‘check_return_code’ but no such parameter 13933 | static int check_return_code(struct bpf_verifier_env *env, int regno, const char *reg_name); | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12380:13: error: declaration for parameter ‘special_kfunc_list’ but no such parameter 12380 | BTF_ID_LIST(special_kfunc_list) | ^~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:230:53: note: in definition of macro ‘BTF_ID_LIST’ 230 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; | ^~~~ ../kernel/bpf/verifier.c:12174:13: error: declaration for parameter ‘kf_arg_btf_ids’ but no such parameter 12174 | BTF_ID_LIST(kf_arg_btf_ids) | ^~~~~~~~~~~~~~ ../include/linux/btf_ids.h:230:53: note: in definition of macro ‘BTF_ID_LIST’ 230 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; | ^~~~ ../kernel/bpf/verifier.c:11046:13: error: declaration for parameter ‘is_rbtree_lock_required_kfunc’ but no such parameter 11046 | static bool is_rbtree_lock_required_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10483:12: error: declaration for parameter ‘set_callee_state’ but no such parameter 10483 | static int set_callee_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10478:15: error: declaration for parameter ‘set_callee_state_fn’ but no such parameter 10478 | typedef int (*set_callee_state_fn)(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9725:13: error: declaration for parameter ‘can_elide_value_nullness’ but no such parameter 9725 | static bool can_elide_value_nullness(enum bpf_map_type type); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9289:36: error: declaration for parameter ‘compatible_reg_types’ but no such parameter 9289 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9282:35: error: declaration for parameter ‘dynptr_types’ but no such parameter 9282 | static const struct bpf_reg_types dynptr_types = { | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:9276:35: error: declaration for parameter ‘kptr_xchg_dest_types’ but no such parameter 9276 | static const struct bpf_reg_types kptr_xchg_dest_types = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9275:35: error: declaration for parameter ‘timer_types’ but no such parameter 9275 | static const struct bpf_reg_types timer_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:9274:35: error: declaration for parameter ‘const_str_ptr_types’ but no such parameter 9274 | static const struct bpf_reg_types const_str_ptr_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9273:35: error: declaration for parameter ‘stack_ptr_types’ but no such parameter 9273 | static const struct bpf_reg_types stack_ptr_types = { .types = { PTR_TO_STACK } }; | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9272:35: error: declaration for parameter ‘func_ptr_types’ but no such parameter 9272 | static const struct bpf_reg_types func_ptr_types = { .types = { PTR_TO_FUNC } }; | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9265:35: error: declaration for parameter ‘percpu_btf_ptr_types’ but no such parameter 9265 | static const struct bpf_reg_types percpu_btf_ptr_types = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9258:35: error: declaration for parameter ‘btf_ptr_types’ but no such parameter 9258 | static const struct bpf_reg_types btf_ptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9257:35: error: declaration for parameter ‘const_map_ptr_types’ but no such parameter 9257 | static const struct bpf_reg_types const_map_ptr_types = { .types = { CONST_PTR_TO_MAP } }; | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9256:35: error: declaration for parameter ‘ringbuf_mem_types’ but no such parameter 9256 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } }; | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9255:35: error: declaration for parameter ‘context_types’ but no such parameter 9255 | static const struct bpf_reg_types context_types = { .types = { PTR_TO_CTX } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9254:35: error: declaration for parameter ‘scalar_types’ but no such parameter 9254 | static const struct bpf_reg_types scalar_types = { .types = { SCALAR_VALUE } }; | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:9253:35: error: declaration for parameter ‘fullsock_types’ but no such parameter 9253 | static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } }; | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9246:35: error: declaration for parameter ‘spin_lock_types’ but no such parameter 9246 | static const struct bpf_reg_types spin_lock_types = { | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9232:35: error: declaration for parameter ‘mem_types’ but no such parameter 9232 | static const struct bpf_reg_types mem_types = { | ^~~~~~~~~ ../kernel/bpf/verifier.c:9219:35: error: declaration for parameter ‘btf_id_sock_common_types’ but no such parameter 9219 | static const struct bpf_reg_types btf_id_sock_common_types = { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9209:35: error: declaration for parameter ‘sock_types’ but no such parameter 9209 | static const struct bpf_reg_types sock_types = { | ^~~~~~~~~~ ../kernel/bpf/verifier.c:8961:13: error: declaration for parameter ‘regs_exact’ but no such parameter 8961 | static bool regs_exact(const struct bpf_reg_state *rold, | ^~~~~~~~~~ ../kernel/bpf/verifier.c:8960:13: error: declaration for parameter ‘reset_idmap_scratch’ but no such parameter 8960 | static void reset_idmap_scratch(struct bpf_verifier_env *env); | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7813:12: error: declaration for parameter ‘save_aux_ptr_type’ but no such parameter 7813 | static int save_aux_ptr_type(struct bpf_verifier_env *env, enum bpf_reg_type type, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6393:13: error: declaration for parameter ‘reg2btf_ids’ but no such parameter 6393 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:5942:15: error: declaration for parameter ‘rcu_protected_types’ but no such parameter 5942 | BTF_SET_START(rcu_protected_types) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../kernel/bpf/verifier.c:5562:12: error: declaration for parameter ‘check_stack_range_initialized’ but no such parameter 5562 | static int check_stack_range_initialized(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24987: error: expected ‘{’ at end of input ../kernel/bpf/verifier.c: At top level: ../kernel/bpf/verifier.c:206:12: warning: ‘release_reference_nomark’ declared ‘static’ but never defined [-Wunused-function] 206 | static int release_reference_nomark(struct bpf_verifier_state *state, int ref_obj_id); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:207:12: warning: ‘release_reference’ used but never defined 207 | static int release_reference(struct bpf_verifier_env *env, int ref_obj_id); | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:208:13: warning: ‘invalidate_non_owning_refs’ declared ‘static’ but never defined [-Wunused-function] 208 | static void invalidate_non_owning_refs(struct bpf_verifier_env *env); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:209:13: warning: ‘in_rbtree_lock_required_cb’ declared ‘static’ but never defined [-Wunused-function] 209 | static bool in_rbtree_lock_required_cb(struct bpf_verifier_env *env); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:210:12: warning: ‘ref_set_non_owning’ declared ‘static’ but never defined [-Wunused-function] 210 | static int ref_set_non_owning(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:212:13: warning: ‘is_trusted_reg’ used but never defined 212 | static bool is_trusted_reg(const struct bpf_reg_state *reg); | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:510:13: warning: ‘is_sync_callback_calling_kfunc’ used but never defined 510 | static bool is_sync_callback_calling_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:511:13: warning: ‘is_async_callback_calling_kfunc’ used but never defined 511 | static bool is_async_callback_calling_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:512:13: warning: ‘is_callback_calling_kfunc’ declared ‘static’ but never defined [-Wunused-function] 512 | static bool is_callback_calling_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:513:13: warning: ‘is_bpf_throw_kfunc’ declared ‘static’ but never defined [-Wunused-function] 513 | static bool is_bpf_throw_kfunc(struct bpf_insn *insn); | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:515:13: warning: ‘is_bpf_wq_set_callback_impl_kfunc’ used but never defined 515 | static bool is_bpf_wq_set_callback_impl_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:516:13: warning: ‘is_task_work_add_kfunc’ used but never defined 516 | static bool is_task_work_add_kfunc(u32 func_id); | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1029:13: warning: ‘in_rcu_cs’ used but never defined 1029 | static bool in_rcu_cs(struct bpf_verifier_env *env); | ^~~~~~~~~ ../kernel/bpf/verifier.c:1031:13: warning: ‘is_kfunc_rcu_protected’ used but never defined 1031 | static bool is_kfunc_rcu_protected(struct bpf_kfunc_call_arg_meta *meta); | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1938:12: warning: ‘propagate_backedges’ used but never defined 1938 | static int propagate_backedges(struct bpf_verifier_env *env, struct bpf_scc_visit *visit); | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:3127:12: warning: ‘specialize_kfunc’ declared ‘static’ but never defined [-Wunused-function] 3127 | static int specialize_kfunc(struct bpf_verifier_env *env, struct bpf_kfunc_desc *desc, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘BTF_ID_LIST_END’: ../kernel/bpf/verifier.c:3271:1: note: the ABI of passing struct with a flexible array member has changed in GCC 4.4 3271 | BTF_ID_LIST_END(magic_kfuncs) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24987: error: control reaches end of non-void function [-Werror=return-type] ../kernel/bpf/verifier.c: At top level: ../kernel/bpf/verifier.c:3250:20: warning: ‘find_kfunc_desc_btf’ defined but not used [-Wunused-function] 3250 | static struct btf *find_kfunc_desc_btf(struct bpf_verifier_env *env, s16 offset) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:3033:12: warning: ‘bpf_find_exception_callback_insn_off’ defined but not used [-Wunused-function] 3033 | static int bpf_find_exception_callback_insn_off(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:3010:12: warning: ‘add_subprog’ defined but not used [-Wunused-function] 3010 | static int add_subprog(struct bpf_verifier_env *env, int off) | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:2924:35: warning: ‘push_async_cb’ defined but not used [-Wunused-function] 2924 | static struct bpf_verifier_state *push_async_cb(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2858:12: warning: ‘mark_btf_ld_reg’ defined but not used [-Wunused-function] 2858 | static int mark_btf_ld_reg(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2819:12: warning: ‘__mark_reg_s32_range’ defined but not used [-Wunused-function] 2819 | static int __mark_reg_s32_range(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2760:13: warning: ‘__reg_assign_32_into_64’ defined but not used [-Wunused-function] 2760 | static void __reg_assign_32_into_64(struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2336:13: warning: ‘__mark_reg32_unbounded’ defined but not used [-Wunused-function] 2336 | static void __mark_reg32_unbounded(struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2328:13: warning: ‘__mark_reg64_unbounded’ defined but not used [-Wunused-function] 2328 | static void __mark_reg64_unbounded(struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2301:13: warning: ‘reg_is_init_pkt_pointer’ defined but not used [-Wunused-function] 2301 | static bool reg_is_init_pkt_pointer(const struct bpf_reg_state *reg, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2293:13: warning: ‘reg_is_dynptr_slice_pkt’ defined but not used [-Wunused-function] 2293 | static bool reg_is_dynptr_slice_pkt(const struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2287:13: warning: ‘reg_is_pkt_pointer_any’ defined but not used [-Wunused-function] 2287 | static bool reg_is_pkt_pointer_any(const struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2272:13: warning: ‘mark_reg_graph_node’ defined but not used [-Wunused-function] 2272 | static void mark_reg_graph_node(struct bpf_reg_state *regs, u32 regno, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2243:13: warning: ‘mark_ptr_not_null_reg’ defined but not used [-Wunused-function] 2243 | static void mark_ptr_not_null_reg(struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2205:13: warning: ‘__mark_reg_const_zero’ defined but not used [-Wunused-function] 2205 | static void __mark_reg_const_zero(const struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2188:13: warning: ‘__mark_reg32_known’ defined but not used [-Wunused-function] 2188 | static void __mark_reg32_known(struct bpf_reg_state *reg, u64 imm) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2156:18: warning: ‘caller_saved’ defined but not used [-Wunused-const-variable=] 2156 | static const int caller_saved[CALLER_SAVED_REGS] = { | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:2113:35: warning: ‘push_stack’ defined but not used [-Wunused-function] 2113 | static struct bpf_verifier_state *push_stack(struct bpf_verifier_env *env, | ^~~~~~~~~~ ../kernel/bpf/verifier.c:2101:13: warning: ‘error_recoverable_with_nospec’ defined but not used [-Wunused-function] 2101 | static bool error_recoverable_with_nospec(int err) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2072:12: warning: ‘pop_stack’ defined but not used [-Wunused-function] 2072 | static int pop_stack(struct bpf_verifier_env *env, int *prev_insn_idx, | ^~~~~~~~~ ../kernel/bpf/verifier.c:2044:12: warning: ‘update_branch_counts’ defined but not used [-Wunused-function] 2044 | static int update_branch_counts(struct bpf_verifier_env *env, struct bpf_verifier_state *st) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2032:13: warning: ‘free_backedges’ defined but not used [-Wunused-function] 2032 | static void free_backedges(struct bpf_scc_visit *visit) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1986:12: warning: ‘add_scc_backedge’ defined but not used [-Wunused-function] 1986 | static int add_scc_backedge(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1919:12: warning: ‘maybe_enter_scc’ defined but not used [-Wunused-function] 1919 | static int maybe_enter_scc(struct bpf_verifier_env *env, struct bpf_verifier_state *st) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1798:13: warning: ‘same_callsites’ defined but not used [-Wunused-function] 1798 | static bool same_callsites(struct bpf_verifier_state *a, struct bpf_verifier_state *b) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1790:26: warning: ‘explored_state’ defined but not used [-Wunused-function] 1790 | static struct list_head *explored_state(struct bpf_verifier_env *env, int idx) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1639:36: warning: ‘find_lock_state’ defined but not used [-Wunused-function] 1639 | static struct bpf_reference_state *find_lock_state(struct bpf_verifier_state *state, enum ref_state_type type, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1593:12: warning: ‘release_lock_state’ defined but not used [-Wunused-function] 1593 | static int release_lock_state(struct bpf_verifier_state *state, int type, int id, void *ptr) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1582:13: warning: ‘find_reference_state’ defined but not used [-Wunused-function] 1582 | static bool find_reference_state(struct bpf_verifier_state *state, int ptr_id) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1529:12: warning: ‘acquire_lock_state’ defined but not used [-Wunused-function] 1529 | static int acquire_lock_state(struct bpf_verifier_env *env, int insn_idx, enum ref_state_type type, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1474:12: warning: ‘grow_stack_state’ defined but not used [-Wunused-function] 1474 | static int grow_stack_state(struct bpf_verifier_env *env, struct bpf_func_state *state, int size) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1365:13: warning: ‘scrub_spilled_slot’ defined but not used [-Wunused-function] 1365 | static void scrub_spilled_slot(u8 *stype) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1356:13: warning: ‘mark_stack_slot_misc’ defined but not used [-Wunused-function] 1356 | static void mark_stack_slot_misc(struct bpf_verifier_env *env, u8 *stype) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1341:13: warning: ‘is_spilled_scalar_reg64’ defined but not used [-Wunused-function] 1341 | static bool is_spilled_scalar_reg64(const struct bpf_stack_state *stack) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1335:13: warning: ‘is_spilled_scalar_reg’ defined but not used [-Wunused-function] 1335 | static bool is_spilled_scalar_reg(const struct bpf_stack_state *stack) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1330:13: warning: ‘is_spilled_reg’ defined but not used [-Wunused-function] 1330 | static bool is_spilled_reg(const struct bpf_stack_state *stack) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1307:13: warning: ‘is_stack_slot_special’ defined but not used [-Wunused-function] 1307 | static bool is_stack_slot_special(const struct bpf_stack_state *stack) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1278:12: warning: ‘is_irq_flag_reg_valid_init’ defined but not used [-Wunused-function] 1278 | static int is_irq_flag_reg_valid_init(struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1254:13: warning: ‘is_irq_flag_reg_valid_uninit’ defined but not used [-Wunused-function] 1254 | static bool is_irq_flag_reg_valid_uninit(struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1202:12: warning: ‘unmark_stack_slot_irq_flag’ defined but not used [-Wunused-function] 1202 | static int unmark_stack_slot_irq_flag(struct bpf_verifier_env *env, struct bpf_reg_state *reg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1168:12: warning: ‘mark_stack_slot_irq_flag’ defined but not used [-Wunused-function] 1168 | static int mark_stack_slot_irq_flag(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1133:12: warning: ‘is_iter_reg_valid_init’ defined but not used [-Wunused-function] 1133 | static int is_iter_reg_valid_init(struct bpf_verifier_env *env, struct bpf_reg_state *reg, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1106:13: warning: ‘is_iter_reg_valid_uninit’ defined but not used [-Wunused-function] 1106 | static bool is_iter_reg_valid_uninit(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1077:12: warning: ‘unmark_stack_slots_iter’ defined but not used [-Wunused-function] 1077 | static int unmark_stack_slots_iter(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1033:12: warning: ‘mark_stack_slots_iter’ defined but not used [-Wunused-function] 1033 | static int mark_stack_slots_iter(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1005:13: warning: ‘is_dynptr_type_expected’ defined but not used [-Wunused-function] 1005 | static bool is_dynptr_type_expected(struct bpf_verifier_env *env, struct bpf_reg_state *reg, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:976:13: warning: ‘is_dynptr_reg_valid_init’ defined but not used [-Wunused-function] 976 | static bool is_dynptr_reg_valid_init(struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:948:13: warning: ‘is_dynptr_reg_valid_uninit’ defined but not used [-Wunused-function] 948 | static bool is_dynptr_reg_valid_uninit(struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:828:12: warning: ‘unmark_stack_slots_dynptr’ defined but not used [-Wunused-function] 828 | static int unmark_stack_slots_dynptr(struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:753:12: warning: ‘mark_stack_slots_dynptr’ defined but not used [-Wunused-function] 753 | static int mark_stack_slots_dynptr(struct bpf_verifier_env *env, struct bpf_reg_state *reg, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:743:13: warning: ‘mark_dynptr_cb_reg’ defined but not used [-Wunused-function] 743 | static void mark_dynptr_cb_reg(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:700:27: warning: ‘get_dynptr_type_flag’ defined but not used [-Wunused-function] 700 | static enum bpf_type_flag get_dynptr_type_flag(enum bpf_dynptr_type type) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:604:13: warning: ‘is_atomic_load_insn’ defined but not used [-Wunused-function] 604 | static bool is_atomic_load_insn(const struct bpf_insn *insn) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:597:13: warning: ‘is_cmpxchg_insn’ defined but not used [-Wunused-function] 597 | static bool is_cmpxchg_insn(const struct bpf_insn *insn) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:582:13: warning: ‘helper_multiple_ref_obj_use’ defined but not used [-Wunused-function] 582 | static bool helper_multiple_ref_obj_use(enum bpf_func_id func_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:574:13: warning: ‘is_storage_get_function’ defined but not used [-Wunused-function] 574 | static bool is_storage_get_function(enum bpf_func_id func_id) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:569:13: warning: ‘is_may_goto_insn_at’ defined but not used [-Wunused-function] 569 | static bool is_may_goto_insn_at(struct bpf_verifier_env *env, int insn_idx) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:549:13: warning: ‘is_async_cb_sleepable’ defined but not used [-Wunused-function] 549 | static bool is_async_cb_sleepable(struct bpf_verifier_env *env, struct bpf_insn *insn) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:543:13: warning: ‘is_async_callback_calling_insn’ defined but not used [-Wunused-function] 543 | static bool is_async_callback_calling_insn(struct bpf_insn *insn) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:537:13: warning: ‘is_sync_callback_calling_insn’ defined but not used [-Wunused-function] 537 | static bool is_sync_callback_calling_insn(struct bpf_insn *insn) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:531:13: warning: ‘is_callback_calling_function’ defined but not used [-Wunused-function] 531 | static bool is_callback_calling_function(enum bpf_func_id func_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:468:13: warning: ‘type_is_rdonly_mem’ defined but not used [-Wunused-function] 468 | static bool type_is_rdonly_mem(u32 type) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:463:13: warning: ‘reg_may_point_to_spin_lock’ defined but not used [-Wunused-function] 463 | static bool reg_may_point_to_spin_lock(const struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:458:13: warning: ‘subprog_is_exc_cb’ defined but not used [-Wunused-function] 458 | static bool subprog_is_exc_cb(struct bpf_verifier_env *env, int subprog) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:449:13: warning: ‘mark_subprog_exc_cb’ defined but not used [-Wunused-function] 449 | static void mark_subprog_exc_cb(struct bpf_verifier_env *env, int subprog) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:438:20: warning: ‘subprog_name’ defined but not used [-Wunused-function] 438 | static const char *subprog_name(const struct bpf_verifier_env *env, int subprog) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:431:13: warning: ‘subprog_is_global’ defined but not used [-Wunused-function] 431 | static bool subprog_is_global(const struct bpf_verifier_env *env, int subprog) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:397:13: warning: ‘reg_not_null’ defined but not used [-Wunused-function] 397 | static bool reg_not_null(const struct bpf_reg_state *reg) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:376:13: warning: ‘verbose_invalid_scalar’ defined but not used [-Wunused-function] 376 | static void verbose_invalid_scalar(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:263:13: warning: ‘bpf_pseudo_call’ defined but not used [-Wunused-function] 263 | static bool bpf_pseudo_call(const struct bpf_insn *insn) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:249:13: warning: ‘bpf_map_key_store’ defined but not used [-Wunused-function] 249 | static void bpf_map_key_store(struct bpf_insn_aux_data *aux, u64 state) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:244:12: warning: ‘bpf_map_key_immediate’ defined but not used [-Wunused-function] 244 | static u64 bpf_map_key_immediate(const struct bpf_insn_aux_data *aux) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:239:13: warning: ‘bpf_map_key_unseen’ defined but not used [-Wunused-function] 239 | static bool bpf_map_key_unseen(const struct bpf_insn_aux_data *aux) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:224:13: warning: ‘bpf_map_ptr_store’ defined but not used [-Wunused-function] 224 | static void bpf_map_ptr_store(struct bpf_insn_aux_data *aux, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:214:13: warning: ‘bpf_map_ptr_poisoned’ defined but not used [-Wunused-function] 214 | static bool bpf_map_ptr_poisoned(const struct bpf_insn_aux_data *aux) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:54:13: warning: ‘bpf_global_percpu_ma_set’ defined but not used [-Wunused-variable] 54 | static bool bpf_global_percpu_ma_set; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:36:46: warning: ‘bpf_verifier_ops’ defined but not used [-Wunused-const-variable=] 36 | static const struct bpf_verifier_ops * const bpf_verifier_ops[] = { | ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[5]: *** [../scripts/Makefile.build:287: kernel/bpf/verifier.o] Error 1 make[5]: *** Waiting for unfinished jobs.... ../kernel/bpf/map_iter.c:198:17: warning: symbol 'bpf_map_sum_elem_count' was not declared. Should it be static? ../kernel/events/ring_buffer.c:22:47: warning: incorrect type in argument 2 (different base types) ../kernel/events/ring_buffer.c:22:47: expected int i ../kernel/events/ring_buffer.c:22:47: got restricted __poll_t ../kernel/events/ring_buffer.c:174:14: error: incompatible types in comparison expression (different address spaces): ../kernel/events/ring_buffer.c:174:14: struct perf_buffer [noderef] __rcu * ../kernel/events/ring_buffer.c:174:14: struct perf_buffer * ../kernel/events/ring_buffer.c:174:14: error: incompatible types in comparison expression (different address spaces): ../kernel/events/ring_buffer.c:174:14: struct perf_buffer [noderef] __rcu * ../kernel/events/ring_buffer.c:174:14: struct perf_buffer * ../kernel/events/ring_buffer.c:174:14: error: incompatible types in comparison expression (different address spaces): ../kernel/events/ring_buffer.c:174:14: struct perf_buffer [noderef] __rcu * ../kernel/events/ring_buffer.c:174:14: struct perf_buffer * ../kernel/bpf/bpf_iter.c:783:17: warning: symbol 'bpf_iter_num_new' was not declared. Should it be static? ../kernel/bpf/bpf_iter.c:814:17: warning: symbol 'bpf_iter_num_next' was not declared. Should it be static? ../kernel/bpf/bpf_iter.c:833:18: warning: symbol 'bpf_iter_num_destroy' was not declared. Should it be static? ../kernel/bpf/stream.c: In function ‘bpf_stream_vprintk’: ../kernel/bpf/stream.c:383:9: warning: function ‘bpf_stream_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 383 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt__str, data.bin_args); | ^~~ ../kernel/bpf/task_iter.c:818:17: warning: symbol 'bpf_iter_task_vma_new' was not declared. Should it be static? ../kernel/bpf/task_iter.c:862:35: warning: symbol 'bpf_iter_task_vma_next' was not declared. Should it be static? ../kernel/bpf/task_iter.c:871:18: warning: symbol 'bpf_iter_task_vma_destroy' was not declared. Should it be static? ../kernel/bpf/task_iter.c:896:17: warning: symbol 'bpf_iter_css_task_new' was not declared. Should it be static? ../kernel/bpf/task_iter.c:921:32: warning: symbol 'bpf_iter_css_task_next' was not declared. Should it be static? ../kernel/bpf/task_iter.c:930:18: warning: symbol 'bpf_iter_css_task_destroy' was not declared. Should it be static? ../kernel/bpf/task_iter.c:965:17: warning: symbol 'bpf_iter_task_new' was not declared. Should it be static? ../kernel/bpf/task_iter.c:997:32: warning: symbol 'bpf_iter_task_next' was not declared. Should it be static? ../kernel/bpf/task_iter.c:1026:18: warning: symbol 'bpf_iter_task_destroy' was not declared. Should it be static? ../kernel/bpf/cgroup_iter.c:310:17: warning: symbol 'bpf_iter_css_new' was not declared. Should it be static? ../kernel/bpf/cgroup_iter.c:334:40: warning: symbol 'bpf_iter_css_next' was not declared. Should it be static? ../kernel/bpf/cgroup_iter.c:355:18: warning: symbol 'bpf_iter_css_destroy' was not declared. Should it be static? ../kernel/bpf/rqspinlock.c:101:39: warning: incorrect type in initializer (different address spaces) ../kernel/bpf/rqspinlock.c:101:39: expected void const [noderef] __percpu *__vpp_verify ../kernel/bpf/rqspinlock.c:101:39: got struct rqspinlock_held * ../kernel/bpf/rqspinlock.c:122:39: warning: incorrect type in initializer (different address spaces) ../kernel/bpf/rqspinlock.c:122:39: expected void const [noderef] __percpu *__vpp_verify ../kernel/bpf/rqspinlock.c:122:39: got struct rqspinlock_held * ../kernel/bpf/rqspinlock.c:135:51: warning: incorrect type in initializer (different address spaces) ../kernel/bpf/rqspinlock.c:135:51: expected void const [noderef] __percpu *__vpp_verify ../kernel/bpf/rqspinlock.c:135:51: got struct rqspinlock_held * ../kernel/bpf/rqspinlock.c:668:39: warning: incorrect type in initializer (different address spaces) ../kernel/bpf/rqspinlock.c:668:39: expected void const [noderef] __percpu *__vpp_verify ../kernel/bpf/rqspinlock.c:668:39: got struct rqspinlock_held * ../kernel/bpf/rqspinlock.c:687:17: warning: symbol 'bpf_res_spin_lock' was not declared. Should it be static? ../kernel/bpf/rqspinlock.c:704:18: warning: symbol 'bpf_res_spin_unlock' was not declared. Should it be static? ../kernel/bpf/rqspinlock.c:710:17: warning: symbol 'bpf_res_spin_lock_irqsave' was not declared. Should it be static? ../kernel/bpf/rqspinlock.c:729:18: warning: symbol 'bpf_res_spin_unlock_irqrestore' was not declared. Should it be static? ../kernel/bpf/stream.c:358:17: warning: symbol 'bpf_stream_vprintk' was not declared. Should it be static? ../kernel/bpf/local_storage.c:91:47: warning: context imbalance in 'cgroup_storage_lookup' - unexpected unlock ../kernel/bpf/arena.c:583:18: warning: symbol 'bpf_arena_alloc_pages' was not declared. Should it be static? ../kernel/bpf/arena.c:595:18: warning: symbol 'bpf_arena_free_pages' was not declared. Should it be static? ../kernel/bpf/arena.c:605:17: warning: symbol 'bpf_arena_reserve_pages' was not declared. Should it be static? ../kernel/bpf/cpumask.c:53:32: warning: symbol 'bpf_cpumask_create' was not declared. Should it be static? ../kernel/bpf/cpumask.c:83:32: warning: symbol 'bpf_cpumask_acquire' was not declared. Should it be static? ../kernel/bpf/cpumask.c:97:18: warning: symbol 'bpf_cpumask_release' was not declared. Should it be static? ../kernel/bpf/cpumask.c:105:18: warning: symbol 'bpf_cpumask_release_dtor' was not declared. Should it be static? ../kernel/bpf/cpumask.c:121:17: warning: symbol 'bpf_cpumask_first' was not declared. Should it be static? ../kernel/bpf/cpumask.c:137:17: warning: symbol 'bpf_cpumask_first_zero' was not declared. Should it be static? ../kernel/bpf/cpumask.c:154:17: warning: symbol 'bpf_cpumask_first_and' was not declared. Should it be static? ../kernel/bpf/cpumask.c:165:18: warning: symbol 'bpf_cpumask_set_cpu' was not declared. Should it be static? ../kernel/bpf/cpumask.c:178:18: warning: symbol 'bpf_cpumask_clear_cpu' was not declared. Should it be static? ../kernel/bpf/cpumask.c:195:18: warning: symbol 'bpf_cpumask_test_cpu' was not declared. Should it be static? ../kernel/bpf/cpumask.c:212:18: warning: symbol 'bpf_cpumask_test_and_set_cpu' was not declared. Should it be static? ../kernel/bpf/cpumask.c:230:18: warning: symbol 'bpf_cpumask_test_and_clear_cpu' was not declared. Should it be static? ../kernel/bpf/cpumask.c:242:18: warning: symbol 'bpf_cpumask_setall' was not declared. Should it be static? ../kernel/bpf/cpumask.c:251:18: warning: symbol 'bpf_cpumask_clear' was not declared. Should it be static? ../kernel/bpf/cpumask.c:268:18: warning: symbol 'bpf_cpumask_and' was not declared. Should it be static? ../kernel/bpf/cpumask.c:283:18: warning: symbol 'bpf_cpumask_or' was not declared. Should it be static? ../kernel/bpf/cpumask.c:298:18: warning: symbol 'bpf_cpumask_xor' was not declared. Should it be static? ../kernel/bpf/cpumask.c:316:18: warning: symbol 'bpf_cpumask_equal' was not declared. Should it be static? ../kernel/bpf/cpumask.c:332:18: warning: symbol 'bpf_cpumask_intersects' was not declared. Should it be static? ../kernel/bpf/cpumask.c:348:18: warning: symbol 'bpf_cpumask_subset' was not declared. Should it be static? ../kernel/bpf/cpumask.c:363:18: warning: symbol 'bpf_cpumask_empty' was not declared. Should it be static? ../kernel/bpf/cpumask.c:378:18: warning: symbol 'bpf_cpumask_full' was not declared. Should it be static? ../kernel/bpf/cpumask.c:390:18: warning: symbol 'bpf_cpumask_copy' was not declared. Should it be static? ../kernel/bpf/cpumask.c:405:17: warning: symbol 'bpf_cpumask_any_distribute' was not declared. Should it be static? ../kernel/bpf/cpumask.c:423:17: warning: symbol 'bpf_cpumask_any_and_distribute' was not declared. Should it be static? ../kernel/bpf/cpumask.c:438:17: warning: symbol 'bpf_cpumask_weight' was not declared. Should it be static? ../kernel/bpf/cpumask.c:457:17: warning: symbol 'bpf_cpumask_populate' was not declared. Should it be static? ../kernel/bpf/kmem_cache_iter.c:24:17: warning: symbol 'bpf_iter_kmem_cache_new' was not declared. Should it be static? ../kernel/bpf/kmem_cache_iter.c:35:31: warning: symbol 'bpf_iter_kmem_cache_next' was not declared. Should it be static? ../kernel/bpf/kmem_cache_iter.c:80:18: warning: symbol 'bpf_iter_kmem_cache_destroy' was not declared. Should it be static? ../kernel/bpf/dmabuf_iter.c:119:17: warning: symbol 'bpf_iter_dmabuf_new' was not declared. Should it be static? ../kernel/bpf/dmabuf_iter.c:130:28: warning: symbol 'bpf_iter_dmabuf_next' was not declared. Should it be static? ../kernel/bpf/dmabuf_iter.c:142:18: warning: symbol 'bpf_iter_dmabuf_destroy' was not declared. Should it be static? ../kernel/bpf/stackmap.c:508:9: warning: context imbalance in '__bpf_get_stack' - different lock contexts for basic block ../kernel/bpf/crypto.c:145:35: warning: symbol 'bpf_crypto_ctx_create' was not declared. Should it be static? ../kernel/bpf/crypto.c:242:35: warning: symbol 'bpf_crypto_ctx_acquire' was not declared. Should it be static? ../kernel/bpf/crypto.c:258:18: warning: symbol 'bpf_crypto_ctx_release' was not declared. Should it be static? ../kernel/bpf/crypto.c:313:17: warning: symbol 'bpf_crypto_decrypt' was not declared. Should it be static? ../kernel/bpf/crypto.c:334:17: warning: symbol 'bpf_crypto_encrypt' was not declared. Should it be static? ../kernel/events/uprobes.c:2161:17: error: incompatible types in comparison expression (different address spaces): ../kernel/events/uprobes.c:2161:17: struct return_instance [noderef] __rcu * ../kernel/events/uprobes.c:2161:17: struct return_instance * ../kernel/events/uprobes.c:2240:17: error: incompatible types in comparison expression (different address spaces): ../kernel/events/uprobes.c:2240:17: struct return_instance [noderef] __rcu * ../kernel/events/uprobes.c:2240:17: struct return_instance * ../kernel/events/uprobes.c:2304:9: error: incompatible types in comparison expression (different address spaces): ../kernel/events/uprobes.c:2304:9: struct return_instance [noderef] __rcu * ../kernel/events/uprobes.c:2304:9: struct return_instance * ../kernel/events/uprobes.c:2668:25: error: incompatible types in comparison expression (different address spaces): ../kernel/events/uprobes.c:2668:25: struct return_instance [noderef] __rcu * ../kernel/events/uprobes.c:2668:25: struct return_instance * ../kernel/events/uprobes.c:574:17: warning: context imbalance in 'uprobe_write' - unexpected unlock ../kernel/events/uprobes.c:760:17: warning: context imbalance in 'hprobe_finalize' - unexpected unlock ../kernel/events/uprobes.c:832:25: warning: context imbalance in 'hprobe_expire' - unexpected unlock ../kernel/events/uprobes.c: note: in included file (through ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/xarray.h, ../include/linux/list_lru.h, ../include/linux/fs.h, ...): ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../kernel/bpf/helpers.c: In function ‘____bpf_snprintf’: ../kernel/bpf/helpers.c:1066:9: warning: function ‘____bpf_snprintf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1066 | err = bstr_printf(str, str_size, fmt, data.bin_args); | ^~~ ../kernel/bpf/bpf_struct_ops.c:582:27: warning: symbol 'bpf_struct_ops_link_lops' was not declared. Should it be static? ../kernel/bpf/helpers.c:1200:21: warning: incorrect type in assignment (different address spaces) ../kernel/bpf/helpers.c:1200:21: expected unsigned long long ( *[usertype] callback_fn )( ... ) ../kernel/bpf/helpers.c:1200:21: got void [noderef] __rcu * ../kernel/bpf/helpers.c:1961:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1962:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1963:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1964:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1965:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1966:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1967:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1968:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1969:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1970:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1973:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2233:18: warning: symbol 'bpf_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2247:18: warning: symbol 'bpf_percpu_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2278:18: warning: symbol 'bpf_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2286:18: warning: symbol 'bpf_percpu_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2292:18: warning: symbol 'bpf_refcount_acquire_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2337:17: warning: symbol 'bpf_list_push_front_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2347:17: warning: symbol 'bpf_list_push_back_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2380:34: warning: symbol 'bpf_list_pop_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2385:34: warning: symbol 'bpf_list_pop_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2390:34: warning: symbol 'bpf_list_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2400:34: warning: symbol 'bpf_list_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2410:32: warning: symbol 'bpf_rbtree_remove' was not declared. Should it be static? ../kernel/bpf/helpers.c:2466:17: warning: symbol 'bpf_rbtree_add_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2476:32: warning: symbol 'bpf_rbtree_first' was not declared. Should it be static? ../kernel/bpf/helpers.c:2483:32: warning: symbol 'bpf_rbtree_root' was not declared. Should it be static? ../kernel/bpf/helpers.c:2490:32: warning: symbol 'bpf_rbtree_left' was not declared. Should it be static? ../kernel/bpf/helpers.c:2500:32: warning: symbol 'bpf_rbtree_right' was not declared. Should it be static? ../kernel/bpf/helpers.c:2516:32: warning: symbol 'bpf_task_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2527:18: warning: symbol 'bpf_task_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2532:18: warning: symbol 'bpf_task_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2545:27: warning: symbol 'bpf_cgroup_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2557:18: warning: symbol 'bpf_cgroup_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2562:18: warning: symbol 'bpf_cgroup_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2575:27: warning: symbol 'bpf_cgroup_ancestor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2595:27: warning: symbol 'bpf_cgroup_from_id' was not declared. Should it be static? ../kernel/bpf/helpers.c:2615:18: warning: symbol 'bpf_task_under_cgroup' was not declared. Should it be static? ../kernel/bpf/helpers.c:2658:27: warning: symbol 'bpf_task_get_cgroup1' was not declared. Should it be static? ../kernel/bpf/helpers.c:2675:32: warning: symbol 'bpf_task_from_pid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2694:32: warning: symbol 'bpf_task_from_vpid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2735:18: warning: symbol 'bpf_dynptr_slice' was not declared. Should it be static? ../kernel/bpf/helpers.c:2858:17: warning: symbol 'bpf_dynptr_adjust' was not declared. Should it be static? ../kernel/bpf/helpers.c:2877:18: warning: symbol 'bpf_dynptr_is_null' was not declared. Should it be static? ../kernel/bpf/helpers.c:2884:18: warning: symbol 'bpf_dynptr_is_rdonly' was not declared. Should it be static? ../kernel/bpf/helpers.c:2894:17: warning: symbol 'bpf_dynptr_size' was not declared. Should it be static? ../kernel/bpf/helpers.c:2904:17: warning: symbol 'bpf_dynptr_clone' was not declared. Should it be static? ../kernel/bpf/helpers.c:2931:17: warning: symbol 'bpf_dynptr_copy' was not declared. Should it be static? ../kernel/bpf/helpers.c:2986:17: warning: symbol 'bpf_dynptr_memset' was not declared. Should it be static? ../kernel/bpf/helpers.c:3021:18: warning: symbol 'bpf_cast_to_kern_ctx' was not declared. Should it be static? ../kernel/bpf/helpers.c:3026:18: warning: symbol 'bpf_rdonly_cast' was not declared. Should it be static? ../kernel/bpf/helpers.c:3031:18: warning: symbol 'bpf_rcu_read_lock' was not declared. Should it be static? ../kernel/bpf/helpers.c:3036:18: warning: symbol 'bpf_rcu_read_unlock' was not declared. Should it be static? ../kernel/bpf/helpers.c:3072:18: warning: symbol 'bpf_throw' was not declared. Should it be static? ../kernel/bpf/helpers.c:3091:17: warning: symbol 'bpf_wq_init' was not declared. Should it be static? ../kernel/bpf/helpers.c:3105:17: warning: symbol 'bpf_wq_start' was not declared. Should it be static? ../kernel/bpf/helpers.c:3122:17: warning: symbol 'bpf_wq_set_callback_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:3136:18: warning: symbol 'bpf_preempt_disable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3141:18: warning: symbol 'bpf_preempt_enable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3200:1: warning: symbol 'bpf_iter_bits_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:3261:17: warning: symbol 'bpf_iter_bits_next' was not declared. Should it be static? ../kernel/bpf/helpers.c:3287:18: warning: symbol 'bpf_iter_bits_destroy' was not declared. Should it be static? ../kernel/bpf/helpers.c:3311:17: warning: symbol 'bpf_copy_from_user_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3356:17: warning: symbol 'bpf_copy_from_user_task_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3386:18: warning: symbol 'bpf_local_irq_save' was not declared. Should it be static? ../kernel/bpf/helpers.c:3391:18: warning: symbol 'bpf_local_irq_restore' was not declared. Should it be static? ../kernel/bpf/helpers.c:3396:18: warning: symbol '__bpf_trap' was not declared. Should it be static? ../kernel/bpf/helpers.c:3451:17: warning: symbol 'bpf_strcmp' was not declared. Should it be static? ../kernel/bpf/helpers.c:3469:17: warning: symbol 'bpf_strcasecmp' was not declared. Should it be static? ../kernel/bpf/helpers.c:3490:17: warning: symbol 'bpf_strnchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3527:17: warning: symbol 'bpf_strchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3544:17: warning: symbol 'bpf_strchrnul' was not declared. Should it be static? ../kernel/bpf/helpers.c:3576:17: warning: symbol 'bpf_strrchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3609:17: warning: symbol 'bpf_strnlen' was not declared. Should it be static? ../kernel/bpf/helpers.c:3639:17: warning: symbol 'bpf_strlen' was not declared. Should it be static? ../kernel/bpf/helpers.c:3657:17: warning: symbol 'bpf_strspn' was not declared. Should it be static? ../kernel/bpf/helpers.c:3701:17: warning: symbol 'bpf_strcspn' was not declared. Should it be static? ../kernel/bpf/helpers.c:3792:17: warning: symbol 'bpf_strstr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3811:17: warning: symbol 'bpf_strcasestr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3830:17: warning: symbol 'bpf_strnstr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3851:17: warning: symbol 'bpf_strncasestr' was not declared. Should it be static? ../kernel/bpf/helpers.c:4286:17: warning: symbol 'bpf_task_work_schedule_signal' was not declared. Should it be static? ../kernel/bpf/helpers.c:4303:17: warning: symbol 'bpf_task_work_schedule_resume' was not declared. Should it be static? ../kernel/bpf/helpers.c:4334:17: warning: symbol 'bpf_dynptr_from_file' was not declared. Should it be static? ../kernel/bpf/helpers.c:4344:17: warning: symbol 'bpf_dynptr_file_discard' was not declared. Should it be static? ../kernel/bpf/helpers.c:3031:18: warning: context imbalance in 'bpf_rcu_read_lock' - wrong count at exit ../kernel/bpf/helpers.c: note: in included file (through ../include/linux/workqueue.h, ../include/linux/bpf.h): ../include/linux/rcupdate.h:897:25: warning: context imbalance in 'bpf_rcu_read_unlock' - unexpected unlock ../kernel/bpf/hashtab.c: note: in included file (through ../include/linux/workqueue.h, ../include/linux/bpf.h): ../include/linux/rcupdate.h:897:25: warning: context imbalance in 'bpf_hash_map_seq_find_next' - unexpected unlock ../include/linux/rcupdate.h:897:25: warning: context imbalance in 'bpf_hash_map_seq_stop' - unexpected unlock ../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar make[4]: *** [../scripts/Makefile.build:556: kernel/bpf] Error 2 make[4]: *** Waiting for unfinished jobs.... ../kernel/events/core.c:1485:15: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:1485:15: struct perf_event_context [noderef] __rcu * ../kernel/events/core.c:1485:15: struct perf_event_context * ../kernel/events/core.c:1498:28: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:1498:28: struct perf_event_context [noderef] __rcu * ../kernel/events/core.c:1498:28: struct perf_event_context * ../kernel/events/core.c:3671:20: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:3671:20: struct perf_event_context [noderef] __rcu * ../kernel/events/core.c:3671:20: struct perf_event_context * ../kernel/events/core.c:3675:18: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:3675:18: struct perf_event_context [noderef] __rcu * ../kernel/events/core.c:3675:18: struct perf_event_context * ../kernel/events/core.c:3676:23: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:3676:23: struct perf_event_context [noderef] __rcu * ../kernel/events/core.c:3676:23: struct perf_event_context * ../kernel/events/core.c:3729:25: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:3729:25: struct perf_event_context [noderef] __rcu * ../kernel/events/core.c:3729:25: struct perf_event_context * ../kernel/events/core.c:3730:25: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:3730:25: struct perf_event_context [noderef] __rcu * ../kernel/events/core.c:3730:25: struct perf_event_context * ../kernel/events/core.c:4113:15: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:4113:15: struct perf_event_context [noderef] __rcu * ../kernel/events/core.c:4113:15: struct perf_event_context * ../kernel/events/core.c:4521:15: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:4521:15: struct perf_event_context [noderef] __rcu * ../kernel/events/core.c:4521:15: struct perf_event_context * ../kernel/events/core.c:5009:25: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:5009:25: struct perf_event_context [noderef] __rcu * ../kernel/events/core.c:5009:25: struct perf_event_context * ../kernel/events/core.c:6639:9: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:6639:9: struct perf_buffer [noderef] __rcu * ../kernel/events/core.c:6639:9: struct perf_buffer * ../kernel/events/core.c:6154:24: warning: incorrect type in assignment (different base types) ../kernel/events/core.c:6390:22: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:6390:22: struct perf_buffer [noderef] __rcu * ../kernel/events/core.c:6390:22: struct perf_buffer * ../kernel/events/core.c:6514:14: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:6514:14: struct perf_buffer [noderef] __rcu * ../kernel/events/core.c:6514:14: struct perf_buffer * ../kernel/events/core.c:6547:14: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:6547:14: struct perf_buffer [noderef] __rcu * ../kernel/events/core.c:6547:14: struct perf_buffer * ../kernel/events/core.c:6660:14: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:6660:14: struct perf_buffer [noderef] __rcu * ../kernel/events/core.c:6660:14: struct perf_buffer * ../kernel/events/core.c:6676:14: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:6676:14: struct perf_buffer [noderef] __rcu * ../kernel/events/core.c:6676:14: struct perf_buffer * ../kernel/events/core.c:8645:15: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:8645:15: struct perf_event_context [noderef] __rcu * ../kernel/events/core.c:8645:15: struct perf_event_context * ../kernel/events/core.c:8733:13: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:8733:13: struct perf_buffer [noderef] __rcu * ../kernel/events/core.c:8733:13: struct perf_buffer * ../kernel/events/core.c:8837:61: warning: incorrect type in argument 2 (different address spaces) ../kernel/events/core.c:8837:61: expected struct task_struct *p ../kernel/events/core.c:8837:61: got struct task_struct [noderef] __rcu *real_parent ../kernel/events/core.c:8839:61: warning: incorrect type in argument 2 (different address spaces) ../kernel/events/core.c:8839:61: expected struct task_struct *p ../kernel/events/core.c:8839:61: got struct task_struct [noderef] __rcu *real_parent ../kernel/events/core.c:9575:15: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:9575:15: struct perf_event_context [noderef] __rcu * ../kernel/events/core.c:9575:15: struct perf_event_context * ../kernel/events/core.c:10710:9: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:10710:9: struct swevent_hlist [noderef] __rcu * ../kernel/events/core.c:10710:9: struct swevent_hlist * ../kernel/events/core.c:10749:17: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:10749:17: struct swevent_hlist [noderef] __rcu * ../kernel/events/core.c:10749:17: struct swevent_hlist * ../kernel/events/core.c:11024:23: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:11024:23: struct perf_event_context [noderef] __rcu * ../kernel/events/core.c:11024:23: struct perf_event_context * ../kernel/events/core.c:12091:1: warning: symbol 'dev_attr_nr_addr_filters' was not declared. Should it be static? ../kernel/events/core.c:14117:9: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:14117:9: struct perf_event_context [noderef] __rcu * ../kernel/events/core.c:14117:9: struct perf_event_context * ../kernel/events/core.c:14634:17: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:14634:17: struct swevent_hlist [noderef] __rcu * ../kernel/events/core.c:14634:17: struct swevent_hlist * ../kernel/events/core.c:183:9: warning: context imbalance in 'perf_ctx_lock' - wrong count at exit ../kernel/events/core.c:199:9: warning: context imbalance in 'perf_ctx_unlock' - unexpected unlock ../kernel/events/core.c: note: in included file (through ../include/linux/rculist.h, ../include/linux/dcache.h, ../include/linux/fs.h): ../include/linux/rcupdate.h:895:9: warning: context imbalance in 'perf_lock_task_context' - different lock contexts for basic block ../kernel/events/core.c:1532:17: warning: context imbalance in 'perf_pin_task_context' - unexpected unlock ../kernel/events/core.c:3011:9: warning: context imbalance in '__perf_install_in_context' - wrong count at exit ../kernel/events/core.c:4983:17: warning: context imbalance in 'find_get_context' - unexpected unlock ../kernel/events/core.c: note: in included file: ../kernel/events/internal.h:211:1: warning: incorrect type in argument 2 (different address spaces) ../kernel/events/core.c:10563:17: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:10563:17: struct swevent_hlist [noderef] __rcu * ../kernel/events/core.c:10563:17: struct swevent_hlist * ../kernel/events/core.c:10583:17: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:10583:17: struct swevent_hlist [noderef] __rcu * ../kernel/events/core.c:10583:17: struct swevent_hlist * ../kernel/events/core.c:10699:16: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:10699:16: struct swevent_hlist [noderef] __rcu * ../kernel/events/core.c:10699:16: struct swevent_hlist * ../kernel/events/core.c:10699:16: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:10699:16: struct swevent_hlist [noderef] __rcu * ../kernel/events/core.c:10699:16: struct swevent_hlist * ../kernel/events/core.c:10699:16: error: incompatible types in comparison expression (different address spaces): ../kernel/events/core.c:10699:16: struct swevent_hlist [noderef] __rcu * ../kernel/events/core.c:10699:16: struct swevent_hlist * make[3]: *** [../scripts/Makefile.build:556: kernel] Error 2 make[2]: *** [/home/nipa/bpf-next/wt-0/Makefile:2010: .] Error 2 make[1]: *** [/home/nipa/bpf-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../kernel/bpf/verifier.c:3271:1: error: return type defaults to ‘int’ [-Wimplicit-int] 3271 | BTF_ID_LIST_END(magic_kfuncs) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:3271:1: error: function declaration isn’t a prototype [-Werror=strict-prototypes] ../kernel/bpf/verifier.c: In function ‘BTF_ID_LIST_END’: ../kernel/bpf/verifier.c:3274:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3274 | { | ^ ../kernel/bpf/verifier.c:3285:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3285 | { | ^ ../kernel/bpf/verifier.c:3296:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3296 | { | ^ ../kernel/bpf/verifier.c:3316:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3316 | { | ^ ../kernel/bpf/verifier.c:3463:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3463 | { | ^ ../kernel/bpf/verifier.c:3475:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3475 | { | ^ ../kernel/bpf/verifier.c:3487:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3487 | { | ^ ../kernel/bpf/verifier.c:3494:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3494 | { | ^ ../kernel/bpf/verifier.c:3511:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3511 | { | ^ ../kernel/bpf/verifier.c:3525:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3525 | { | ^ ../kernel/bpf/verifier.c:3588:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3588 | { | ^ ../kernel/bpf/verifier.c:3641:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3641 | { | ^ ../kernel/bpf/verifier.c:3654:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3654 | { | ^ ../kernel/bpf/verifier.c:3675:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3675 | { | ^ ../kernel/bpf/verifier.c:3680:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3680 | { | ^ ../kernel/bpf/verifier.c:3695:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3695 | { | ^ ../kernel/bpf/verifier.c:3781:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3781 | { | ^ ../kernel/bpf/verifier.c:3805:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3805 | { | ^ ../kernel/bpf/verifier.c:3816:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3816 | { | ^ ../kernel/bpf/verifier.c:3829:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3829 | { | ^ ../kernel/bpf/verifier.c:3872:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3872 | { | ^ ../kernel/bpf/verifier.c:3880:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3880 | { | ^ ../kernel/bpf/verifier.c:3885:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3885 | { | ^ ../kernel/bpf/verifier.c:3890:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3890 | { | ^ ../kernel/bpf/verifier.c:3895:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3895 | { | ^ ../kernel/bpf/verifier.c:3900:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3900 | { | ^ ../kernel/bpf/verifier.c:3915:1: warning: empty declaration 3915 | struct linked_reg { | ^~~~~~ ../kernel/bpf/verifier.c:3924:1: warning: empty declaration 3924 | struct linked_regs { | ^~~~~~ ../kernel/bpf/verifier.c:3930:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3930 | { | ^ ../kernel/bpf/verifier.c:3945:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3945 | { | ^ ../kernel/bpf/verifier.c:3966:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3966 | { | ^ ../kernel/bpf/verifier.c:3985:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3985 | { | ^ ../kernel/bpf/verifier.c:4027:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4027 | { | ^ ../kernel/bpf/verifier.c:4048:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4048 | { | ^ ../kernel/bpf/verifier.c:4068:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4068 | { | ^ ../kernel/bpf/verifier.c:4084:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4084 | { | ^ ../kernel/bpf/verifier.c:4095:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4095 | { | ^ ../kernel/bpf/verifier.c:4100:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4100 | { | ^ ../kernel/bpf/verifier.c:4108:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4108 | { | ^ ../kernel/bpf/verifier.c:4119:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4119 | { | ^ ../kernel/bpf/verifier.c:4129:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4129 | { | ^ ../kernel/bpf/verifier.c:4139:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4139 | { | ^ ../kernel/bpf/verifier.c:4144:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4144 | { | ^ ../kernel/bpf/verifier.c:4149:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4149 | { | ^ ../kernel/bpf/verifier.c:4154:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4154 | { | ^ ../kernel/bpf/verifier.c:4159:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4159 | { | ^ ../kernel/bpf/verifier.c:4164:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4164 | { | ^ ../kernel/bpf/verifier.c:4169:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4169 | { | ^ ../kernel/bpf/verifier.c:4174:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4174 | { | ^ ../kernel/bpf/verifier.c:4179:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4179 | { | ^ ../kernel/bpf/verifier.c:4184:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4184 | { | ^ ../kernel/bpf/verifier.c:4189:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4189 | { | ^ ../kernel/bpf/verifier.c:4194:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4194 | { | ^ ../kernel/bpf/verifier.c:4199:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4199 | { | ^ ../kernel/bpf/verifier.c:4205:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4205 | { | ^ ../kernel/bpf/verifier.c:4224:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4224 | { | ^ ../kernel/bpf/verifier.c:4246:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4246 | { | ^ ../kernel/bpf/verifier.c:4289:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4289 | { | ^ ../kernel/bpf/verifier.c:4629:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4629 | { | ^ ../kernel/bpf/verifier.c:4675:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4675 | { | ^ ../kernel/bpf/verifier.c:4790:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4790 | { | ^ ../kernel/bpf/verifier.c:4972:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4972 | { | ^ ../kernel/bpf/verifier.c:4981:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4981 | { | ^ ../kernel/bpf/verifier.c:4986:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4986 | { | ^ ../kernel/bpf/verifier.c:5014:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5014 | { | ^ ../kernel/bpf/verifier.c:5020:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5020 | { | ^ ../kernel/bpf/verifier.c:5027:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5027 | { | ^ ../kernel/bpf/verifier.c:5033:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5033 | { | ^ ../kernel/bpf/verifier.c:5042:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5042 | { | ^ ../kernel/bpf/verifier.c:5066:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5066 | { | ^ ../kernel/bpf/verifier.c:5074:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5074 | { | ^ ../kernel/bpf/verifier.c:5088:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5088 | { | ^ ../kernel/bpf/verifier.c:5093:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5093 | { | ^ ../kernel/bpf/verifier.c:5100:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5100 | { | ^ ../kernel/bpf/verifier.c:5130:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5130 | { | ^ ../kernel/bpf/verifier.c:5276:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5276 | { | ^ ../kernel/bpf/verifier.c:5393:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5393 | { | ^ ../kernel/bpf/verifier.c:5433:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5433 | { | ^ ../kernel/bpf/verifier.c:5557:1: warning: empty declaration 5557 | enum bpf_access_src { | ^~~~ ../kernel/bpf/verifier.c:5562:12: error: storage class specified for parameter ‘check_stack_range_initialized’ 5562 | static int check_stack_range_initialized(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5569:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5569 | { | ^ ../kernel/bpf/verifier.c:5588:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5588 | { | ^ ../kernel/bpf/verifier.c:5621:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5621 | { | ^ ../kernel/bpf/verifier.c:5678:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5678 | { | ^ ../kernel/bpf/verifier.c:5700:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5700 | { | ^ ../kernel/bpf/verifier.c:5724:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5724 | { | ^ ../kernel/bpf/verifier.c:5760:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5760 | { | ^ ../kernel/bpf/verifier.c:5815:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5815 | { | ^ ../kernel/bpf/verifier.c:5846:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5846 | { | ^ ../kernel/bpf/verifier.c:5853:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5853 | { | ^ ../kernel/bpf/verifier.c:5927:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5927 | { | ^ ../kernel/bpf/verifier.c:5935:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5935 | { | ^ In file included from ../include/linux/btf.h:10, from ../include/linux/bpf.h:29, from ../include/linux/bpf-cgroup.h:5, from ../kernel/bpf/verifier.c:7: ../kernel/bpf/verifier.c:5942:15: error: storage class specified for parameter ‘rcu_protected_types’ 5942 | BTF_SET_START(rcu_protected_types) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../include/linux/btf_ids.h:237:43: error: parameter ‘rcu_protected_types’ is initialized 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~~~~~~~ ../kernel/bpf/verifier.c:5942:1: note: in expansion of macro ‘BTF_SET_START’ 5942 | BTF_SET_START(rcu_protected_types) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5959:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5959 | { | ^ ../kernel/bpf/verifier.c:5966:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5966 | { | ^ ../kernel/bpf/verifier.c:5979:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5979 | { | ^ ../kernel/bpf/verifier.c:5987:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5987 | { | ^ ../kernel/bpf/verifier.c:6011:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6011 | { | ^ ../kernel/bpf/verifier.c:6028:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6028 | { | ^ ../kernel/bpf/verifier.c:6093:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6093 | { | ^ ../kernel/bpf/verifier.c:6161:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6161 | { | ^ ../kernel/bpf/verifier.c:6202:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6202 | { | ^ ../kernel/bpf/verifier.c:6245:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6245 | { | ^ ../kernel/bpf/verifier.c:6277:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6277 | { | ^ ../kernel/bpf/verifier.c:6290:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6290 | { | ^ ../kernel/bpf/verifier.c:6333:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6333 | { | ^ ../kernel/bpf/verifier.c:6338:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6338 | { | ^ ../kernel/bpf/verifier.c:6345:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6345 | { | ^ ../kernel/bpf/verifier.c:6352:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6352 | { | ^ ../kernel/bpf/verifier.c:6359:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6359 | { | ^ ../kernel/bpf/verifier.c:6367:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6367 | { | ^ ../kernel/bpf/verifier.c:6378:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6378 | { | ^ ../kernel/bpf/verifier.c:6393:13: error: storage class specified for parameter ‘reg2btf_ids’ 6393 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:6393:1: error: parameter ‘reg2btf_ids’ is initialized 6393 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { | ^~~~~~ ../kernel/bpf/verifier.c:6393:47: error: variable-sized object may not be initialized except with an empty initializer 6393 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { | ^ ../kernel/bpf/verifier.c:6395:10: error: array index in non-array initializer 6395 | [PTR_TO_SOCKET] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK], | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6395:10: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6395:27: error: initialization of ‘u32 **’ {aka ‘unsigned int **’} from incompatible pointer type ‘u32 *’ {aka ‘unsigned int *’} [-Wincompatible-pointer-types] 6395 | [PTR_TO_SOCKET] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK], | ^ ../kernel/bpf/verifier.c:6395:27: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6396:10: error: array index in non-array initializer 6396 | [PTR_TO_SOCK_COMMON] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON], | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6396:10: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6396:32: warning: excess elements in scalar initializer 6396 | [PTR_TO_SOCK_COMMON] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON], | ^ ../kernel/bpf/verifier.c:6396:32: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6397:10: error: array index in non-array initializer 6397 | [PTR_TO_TCP_SOCK] = &btf_sock_ids[BTF_SOCK_TYPE_TCP], | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6397:10: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6397:29: warning: excess elements in scalar initializer 6397 | [PTR_TO_TCP_SOCK] = &btf_sock_ids[BTF_SOCK_TYPE_TCP], | ^ ../kernel/bpf/verifier.c:6397:29: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6399:10: error: array index in non-array initializer 6399 | [CONST_PTR_TO_MAP] = btf_bpf_map_id, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6399:10: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6399:30: warning: excess elements in scalar initializer 6399 | [CONST_PTR_TO_MAP] = btf_bpf_map_id, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6399:30: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6403:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6403 | { | ^ ../kernel/bpf/verifier.c:6427:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6427 | { | ^ ../kernel/bpf/verifier.c:6432:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6432 | { | ^ ../kernel/bpf/verifier.c:6439:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6439 | { | ^ ../kernel/bpf/verifier.c:6475:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6475 | { | ^ ../kernel/bpf/verifier.c:6498:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6498 | { | ^ ../kernel/bpf/verifier.c:6551:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6551 | { | ^ ../kernel/bpf/verifier.c:6579:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6579 | { | ^ ../kernel/bpf/verifier.c:6597:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6597 | { | ^ ../kernel/bpf/verifier.c:6757:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6757 | { | ^ ../kernel/bpf/verifier.c:6817:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6817 | { | ^ ../kernel/bpf/verifier.c:6840:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6840 | { | ^ ../kernel/bpf/verifier.c:6858:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6858 | { | ^ ../kernel/bpf/verifier.c:6874:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6874 | { | ^ ../kernel/bpf/verifier.c:6883:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6883 | { | ^ ../kernel/bpf/verifier.c:6912:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6912 | { | ^ ../kernel/bpf/verifier.c:6931:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6931 | { | ^ ../kernel/bpf/verifier.c:6990:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6990 | { | ^ ../kernel/bpf/verifier.c:7005:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7005 | { | ^ ../kernel/bpf/verifier.c:7055:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7055 | { | ^ ../kernel/bpf/verifier.c:7076:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7076 | { | ^ In file included from : ../kernel/bpf/verifier.c:7117:19: warning: empty declaration 7117 | BTF_TYPE_SAFE_RCU(struct task_struct) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7105:36: note: in expansion of macro ‘__PASTE’ 7105 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) | ^~~~~~~ ../kernel/bpf/verifier.c:7117:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ 7117 | BTF_TYPE_SAFE_RCU(struct task_struct) { | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7124:19: warning: empty declaration 7124 | BTF_TYPE_SAFE_RCU(struct cgroup) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7105:36: note: in expansion of macro ‘__PASTE’ 7105 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) | ^~~~~~~ ../kernel/bpf/verifier.c:7124:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ 7124 | BTF_TYPE_SAFE_RCU(struct cgroup) { | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7129:19: warning: empty declaration 7129 | BTF_TYPE_SAFE_RCU(struct css_set) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7105:36: note: in expansion of macro ‘__PASTE’ 7105 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) | ^~~~~~~ ../kernel/bpf/verifier.c:7129:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ 7129 | BTF_TYPE_SAFE_RCU(struct css_set) { | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7133:19: warning: empty declaration 7133 | BTF_TYPE_SAFE_RCU(struct cgroup_subsys_state) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7105:36: note: in expansion of macro ‘__PASTE’ 7105 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) | ^~~~~~~ ../kernel/bpf/verifier.c:7133:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ 7133 | BTF_TYPE_SAFE_RCU(struct cgroup_subsys_state) { | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7138:27: warning: empty declaration 7138 | BTF_TYPE_SAFE_RCU_OR_NULL(struct mm_struct) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7106:44: note: in expansion of macro ‘__PASTE’ 7106 | #define BTF_TYPE_SAFE_RCU_OR_NULL(__type) __PASTE(__type, __safe_rcu_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7138:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU_OR_NULL’ 7138 | BTF_TYPE_SAFE_RCU_OR_NULL(struct mm_struct) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7148:27: warning: empty declaration 7148 | BTF_TYPE_SAFE_RCU_OR_NULL(struct sk_buff) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7106:44: note: in expansion of macro ‘__PASTE’ 7106 | #define BTF_TYPE_SAFE_RCU_OR_NULL(__type) __PASTE(__type, __safe_rcu_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7148:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU_OR_NULL’ 7148 | BTF_TYPE_SAFE_RCU_OR_NULL(struct sk_buff) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7152:27: warning: empty declaration 7152 | BTF_TYPE_SAFE_RCU_OR_NULL(struct request_sock) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7106:44: note: in expansion of macro ‘__PASTE’ 7106 | #define BTF_TYPE_SAFE_RCU_OR_NULL(__type) __PASTE(__type, __safe_rcu_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7152:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU_OR_NULL’ 7152 | BTF_TYPE_SAFE_RCU_OR_NULL(struct request_sock) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7157:23: warning: empty declaration 7157 | BTF_TYPE_SAFE_TRUSTED(struct bpf_iter_meta) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7107:40: note: in expansion of macro ‘__PASTE’ 7107 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) | ^~~~~~~ ../kernel/bpf/verifier.c:7157:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ 7157 | BTF_TYPE_SAFE_TRUSTED(struct bpf_iter_meta) { | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7161:23: warning: empty declaration 7161 | BTF_TYPE_SAFE_TRUSTED(struct bpf_iter__task) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7107:40: note: in expansion of macro ‘__PASTE’ 7107 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) | ^~~~~~~ ../kernel/bpf/verifier.c:7161:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ 7161 | BTF_TYPE_SAFE_TRUSTED(struct bpf_iter__task) { | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7166:23: warning: empty declaration 7166 | BTF_TYPE_SAFE_TRUSTED(struct linux_binprm) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7107:40: note: in expansion of macro ‘__PASTE’ 7107 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) | ^~~~~~~ ../kernel/bpf/verifier.c:7166:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ 7166 | BTF_TYPE_SAFE_TRUSTED(struct linux_binprm) { | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7170:23: warning: empty declaration 7170 | BTF_TYPE_SAFE_TRUSTED(struct file) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7107:40: note: in expansion of macro ‘__PASTE’ 7107 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) | ^~~~~~~ ../kernel/bpf/verifier.c:7170:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ 7170 | BTF_TYPE_SAFE_TRUSTED(struct file) { | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7174:31: warning: empty declaration 7174 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct dentry) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7108:48: note: in expansion of macro ‘__PASTE’ 7108 | #define BTF_TYPE_SAFE_TRUSTED_OR_NULL(__type) __PASTE(__type, __safe_trusted_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7174:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED_OR_NULL’ 7174 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct dentry) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7178:31: warning: empty declaration 7178 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct socket) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7108:48: note: in expansion of macro ‘__PASTE’ 7108 | #define BTF_TYPE_SAFE_TRUSTED_OR_NULL(__type) __PASTE(__type, __safe_trusted_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7178:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED_OR_NULL’ 7178 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct socket) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7182:31: warning: empty declaration 7182 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct vm_area_struct) { | ^~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../kernel/bpf/verifier.c:7108:48: note: in expansion of macro ‘__PASTE’ 7108 | #define BTF_TYPE_SAFE_TRUSTED_OR_NULL(__type) __PASTE(__type, __safe_trusted_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7182:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED_OR_NULL’ 7182 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct vm_area_struct) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7190:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7190 | { | ^ ../kernel/bpf/verifier.c:7202:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7202 | { | ^ ../kernel/bpf/verifier.c:7213:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7213 | { | ^ ../kernel/bpf/verifier.c:7225:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7225 | { | ^ ../kernel/bpf/verifier.c:7239:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7239 | { | ^ ../kernel/bpf/verifier.c:7392:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7392 | { | ^ ../kernel/bpf/verifier.c:7463:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7463 | { | ^ ../kernel/bpf/verifier.c:7485:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7485 | { | ^ ../kernel/bpf/verifier.c:7543:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7543 | { | ^ ../kernel/bpf/verifier.c:7561:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7561 | { | ^ ../kernel/bpf/verifier.c:7813:12: error: storage class specified for parameter ‘save_aux_ptr_type’ 7813 | static int save_aux_ptr_type(struct bpf_verifier_env *env, enum bpf_reg_type type, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7819:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7819 | { | ^ ../kernel/bpf/verifier.c:7851:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7851 | { | ^ ../kernel/bpf/verifier.c:7879:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7879 | { | ^ ../kernel/bpf/verifier.c:7968:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7968 | { | ^ ../kernel/bpf/verifier.c:7987:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7987 | { | ^ ../kernel/bpf/verifier.c:8005:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8005 | { | ^ ../kernel/bpf/verifier.c:8053:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8053 | { | ^ ../kernel/bpf/verifier.c:8199:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8199 | { | ^ ../kernel/bpf/verifier.c:8297:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8297 | { | ^ ../kernel/bpf/verifier.c:8344:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8344 | { | ^ ../kernel/bpf/verifier.c:8372:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8372 | { | ^ ../kernel/bpf/verifier.c:8397:1: warning: empty declaration 8397 | enum { | ^~~~ ../kernel/bpf/verifier.c:8426:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8426 | { | ^ ../kernel/bpf/verifier.c:8544:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8544 | { | ^ ../kernel/bpf/verifier.c:8591:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8591 | { | ^ ../kernel/bpf/verifier.c:8615:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8615 | { | ^ ../kernel/bpf/verifier.c:8636:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8636 | { | ^ ../kernel/bpf/verifier.c:8656:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8656 | { | ^ ../kernel/bpf/verifier.c:8729:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8729 | { | ^ ../kernel/bpf/verifier.c:8808:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8808 | { | ^ ../kernel/bpf/verifier.c:8815:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8815 | { | ^ ../kernel/bpf/verifier.c:8820:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8820 | { | ^ ../kernel/bpf/verifier.c:8825:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8825 | { | ^ ../kernel/bpf/verifier.c:8830:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8830 | { | ^ ../kernel/bpf/verifier.c:8836:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8836 | { | ^ ../kernel/bpf/verifier.c:8849:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8849 | { | ^ ../kernel/bpf/verifier.c:8939:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8939 | { | ^ ../kernel/bpf/verifier.c:8960:13: error: storage class specified for parameter ‘reset_idmap_scratch’ 8960 | static void reset_idmap_scratch(struct bpf_verifier_env *env); | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8961:13: error: storage class specified for parameter ‘regs_exact’ 8961 | static bool regs_exact(const struct bpf_reg_state *rold, | ^~~~~~~~~~ ../kernel/bpf/verifier.c:8968:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8968 | { | ^ ../kernel/bpf/verifier.c:8981:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8981 | { | ^ ../kernel/bpf/verifier.c:9012:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9012 | { | ^ ../kernel/bpf/verifier.c:9099:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9099 | { | ^ ../kernel/bpf/verifier.c:9153:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9153 | { | ^ ../kernel/bpf/verifier.c:9159:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9159 | { | ^ ../kernel/bpf/verifier.c:9165:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9165 | { | ^ ../kernel/bpf/verifier.c:9170:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9170 | { | ^ ../kernel/bpf/verifier.c:9177:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9177 | { | ^ ../kernel/bpf/verifier.c:9204:1: warning: empty declaration 9204 | struct bpf_reg_types { | ^~~~~~ ../kernel/bpf/verifier.c:9209:35: error: storage class specified for parameter ‘sock_types’ 9209 | static const struct bpf_reg_types sock_types = { | ^~~~~~~~~~ ../kernel/bpf/verifier.c:9209:21: error: parameter ‘sock_types’ is initialized 9209 | static const struct bpf_reg_types sock_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9219:35: error: storage class specified for parameter ‘btf_id_sock_common_types’ 9219 | static const struct bpf_reg_types btf_id_sock_common_types = { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9219:21: error: parameter ‘btf_id_sock_common_types’ is initialized 9219 | static const struct bpf_reg_types btf_id_sock_common_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9232:35: error: storage class specified for parameter ‘mem_types’ 9232 | static const struct bpf_reg_types mem_types = { | ^~~~~~~~~ ../kernel/bpf/verifier.c:9232:21: error: parameter ‘mem_types’ is initialized 9232 | static const struct bpf_reg_types mem_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9246:35: error: storage class specified for parameter ‘spin_lock_types’ 9246 | static const struct bpf_reg_types spin_lock_types = { | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9246:21: error: parameter ‘spin_lock_types’ is initialized 9246 | static const struct bpf_reg_types spin_lock_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9253:35: error: storage class specified for parameter ‘fullsock_types’ 9253 | static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } }; | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9253:21: error: parameter ‘fullsock_types’ is initialized 9253 | static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9254:35: error: storage class specified for parameter ‘scalar_types’ 9254 | static const struct bpf_reg_types scalar_types = { .types = { SCALAR_VALUE } }; | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:9254:21: error: parameter ‘scalar_types’ is initialized 9254 | static const struct bpf_reg_types scalar_types = { .types = { SCALAR_VALUE } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9255:35: error: storage class specified for parameter ‘context_types’ 9255 | static const struct bpf_reg_types context_types = { .types = { PTR_TO_CTX } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9255:21: error: parameter ‘context_types’ is initialized 9255 | static const struct bpf_reg_types context_types = { .types = { PTR_TO_CTX } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9256:35: error: storage class specified for parameter ‘ringbuf_mem_types’ 9256 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } }; | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9256:21: error: parameter ‘ringbuf_mem_types’ is initialized 9256 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9257:35: error: storage class specified for parameter ‘const_map_ptr_types’ 9257 | static const struct bpf_reg_types const_map_ptr_types = { .types = { CONST_PTR_TO_MAP } }; | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9257:21: error: parameter ‘const_map_ptr_types’ is initialized 9257 | static const struct bpf_reg_types const_map_ptr_types = { .types = { CONST_PTR_TO_MAP } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9258:35: error: storage class specified for parameter ‘btf_ptr_types’ 9258 | static const struct bpf_reg_types btf_ptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9258:21: error: parameter ‘btf_ptr_types’ is initialized 9258 | static const struct bpf_reg_types btf_ptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9265:35: error: storage class specified for parameter ‘percpu_btf_ptr_types’ 9265 | static const struct bpf_reg_types percpu_btf_ptr_types = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9265:21: error: parameter ‘percpu_btf_ptr_types’ is initialized 9265 | static const struct bpf_reg_types percpu_btf_ptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9272:35: error: storage class specified for parameter ‘func_ptr_types’ 9272 | static const struct bpf_reg_types func_ptr_types = { .types = { PTR_TO_FUNC } }; | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9272:21: error: parameter ‘func_ptr_types’ is initialized 9272 | static const struct bpf_reg_types func_ptr_types = { .types = { PTR_TO_FUNC } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9273:35: error: storage class specified for parameter ‘stack_ptr_types’ 9273 | static const struct bpf_reg_types stack_ptr_types = { .types = { PTR_TO_STACK } }; | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9273:21: error: parameter ‘stack_ptr_types’ is initialized 9273 | static const struct bpf_reg_types stack_ptr_types = { .types = { PTR_TO_STACK } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9274:35: error: storage class specified for parameter ‘const_str_ptr_types’ 9274 | static const struct bpf_reg_types const_str_ptr_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9274:21: error: parameter ‘const_str_ptr_types’ is initialized 9274 | static const struct bpf_reg_types const_str_ptr_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9275:35: error: storage class specified for parameter ‘timer_types’ 9275 | static const struct bpf_reg_types timer_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:9275:21: error: parameter ‘timer_types’ is initialized 9275 | static const struct bpf_reg_types timer_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9276:35: error: storage class specified for parameter ‘kptr_xchg_dest_types’ 9276 | static const struct bpf_reg_types kptr_xchg_dest_types = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9276:21: error: parameter ‘kptr_xchg_dest_types’ is initialized 9276 | static const struct bpf_reg_types kptr_xchg_dest_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9282:35: error: storage class specified for parameter ‘dynptr_types’ 9282 | static const struct bpf_reg_types dynptr_types = { | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:9282:21: error: parameter ‘dynptr_types’ is initialized 9282 | static const struct bpf_reg_types dynptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9289:36: error: storage class specified for parameter ‘compatible_reg_types’ 9289 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9289:21: error: parameter ‘compatible_reg_types’ is initialized 9289 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9289:79: error: variable-sized object may not be initialized except with an empty initializer 9289 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { | ^ ../kernel/bpf/verifier.c:9290:10: error: array index in non-array initializer 9290 | [ARG_PTR_TO_MAP_KEY] = &mem_types, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9290:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9290:43: error: initialization of ‘const struct bpf_reg_types **’ from incompatible pointer type ‘const struct bpf_reg_types *’ [-Wincompatible-pointer-types] 9290 | [ARG_PTR_TO_MAP_KEY] = &mem_types, | ^ ../kernel/bpf/verifier.c:9290:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9291:10: error: array index in non-array initializer 9291 | [ARG_PTR_TO_MAP_VALUE] = &mem_types, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9291:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9291:43: warning: excess elements in scalar initializer 9291 | [ARG_PTR_TO_MAP_VALUE] = &mem_types, | ^ ../kernel/bpf/verifier.c:9291:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9292:10: error: array index in non-array initializer 9292 | [ARG_CONST_SIZE] = &scalar_types, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9292:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9292:43: warning: excess elements in scalar initializer 9292 | [ARG_CONST_SIZE] = &scalar_types, | ^ ../kernel/bpf/verifier.c:9292:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9293:10: error: array index in non-array initializer 9293 | [ARG_CONST_SIZE_OR_ZERO] = &scalar_types, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9293:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9293:43: warning: excess elements in scalar initializer 9293 | [ARG_CONST_SIZE_OR_ZERO] = &scalar_types, | ^ ../kernel/bpf/verifier.c:9293:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9294:10: error: array index in non-array initializer 9294 | [ARG_CONST_ALLOC_SIZE_OR_ZERO] = &scalar_types, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9294:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9294:43: warning: excess elements in scalar initializer 9294 | [ARG_CONST_ALLOC_SIZE_OR_ZERO] = &scalar_types, | ^ ../kernel/bpf/verifier.c:9294:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9295:10: error: array index in non-array initializer 9295 | [ARG_CONST_MAP_PTR] = &const_map_ptr_types, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9295:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9295:43: warning: excess elements in scalar initializer 9295 | [ARG_CONST_MAP_PTR] = &const_map_ptr_types, | ^ ../kernel/bpf/verifier.c:9295:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9296:10: error: array index in non-array initializer 9296 | [ARG_PTR_TO_CTX] = &context_types, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9296:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9296:43: warning: excess elements in scalar initializer 9296 | [ARG_PTR_TO_CTX] = &context_types, | ^ ../kernel/bpf/verifier.c:9296:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9297:10: error: array index in non-array initializer 9297 | [ARG_PTR_TO_SOCK_COMMON] = &sock_types, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9297:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9297:43: warning: excess elements in scalar initializer 9297 | [ARG_PTR_TO_SOCK_COMMON] = &sock_types, | ^ ../kernel/bpf/verifier.c:9297:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9299:10: error: array index in non-array initializer 9299 | [ARG_PTR_TO_BTF_ID_SOCK_COMMON] = &btf_id_sock_common_types, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9299:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9299:43: warning: excess elements in scalar initializer 9299 | [ARG_PTR_TO_BTF_ID_SOCK_COMMON] = &btf_id_sock_common_types, | ^ ../kernel/bpf/verifier.c:9299:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9301:10: error: array index in non-array initializer 9301 | [ARG_PTR_TO_SOCKET] = &fullsock_types, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9301:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9301:43: warning: excess elements in scalar initializer 9301 | [ARG_PTR_TO_SOCKET] = &fullsock_types, | ^ ../kernel/bpf/verifier.c:9301:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9302:10: error: array index in non-array initializer 9302 | [ARG_PTR_TO_BTF_ID] = &btf_ptr_types, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9302:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9302:43: warning: excess elements in scalar initializer 9302 | [ARG_PTR_TO_BTF_ID] = &btf_ptr_types, | ^ ../kernel/bpf/verifier.c:9302:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9303:10: error: array index in non-array initializer 9303 | [ARG_PTR_TO_SPIN_LOCK] = &spin_lock_types, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9303:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9303:43: warning: excess elements in scalar initializer 9303 | [ARG_PTR_TO_SPIN_LOCK] = &spin_lock_types, | ^ ../kernel/bpf/verifier.c:9303:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9304:10: error: array index in non-array initializer 9304 | [ARG_PTR_TO_MEM] = &mem_types, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9304:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9304:43: warning: excess elements in scalar initializer 9304 | [ARG_PTR_TO_MEM] = &mem_types, | ^ ../kernel/bpf/verifier.c:9304:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9305:10: error: array index in non-array initializer 9305 | [ARG_PTR_TO_RINGBUF_MEM] = &ringbuf_mem_types, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9305:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9305:43: warning: excess elements in scalar initializer 9305 | [ARG_PTR_TO_RINGBUF_MEM] = &ringbuf_mem_types, | ^ ../kernel/bpf/verifier.c:9305:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9306:10: error: array index in non-array initializer 9306 | [ARG_PTR_TO_PERCPU_BTF_ID] = &percpu_btf_ptr_types, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9306:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9306:43: warning: excess elements in scalar initializer 9306 | [ARG_PTR_TO_PERCPU_BTF_ID] = &percpu_btf_ptr_types, | ^ ../kernel/bpf/verifier.c:9306:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9307:10: error: array index in non-array initializer 9307 | [ARG_PTR_TO_FUNC] = &func_ptr_types, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9307:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9307:43: warning: excess elements in scalar initializer 9307 | [ARG_PTR_TO_FUNC] = &func_ptr_types, | ^ ../kernel/bpf/verifier.c:9307:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9308:10: error: array index in non-array initializer 9308 | [ARG_PTR_TO_STACK] = &stack_ptr_types, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9308:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9308:43: warning: excess elements in scalar initializer 9308 | [ARG_PTR_TO_STACK] = &stack_ptr_types, | ^ ../kernel/bpf/verifier.c:9308:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9309:10: error: array index in non-array initializer 9309 | [ARG_PTR_TO_CONST_STR] = &const_str_ptr_types, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9309:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9309:43: warning: excess elements in scalar initializer 9309 | [ARG_PTR_TO_CONST_STR] = &const_str_ptr_types, | ^ ../kernel/bpf/verifier.c:9309:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9310:10: error: array index in non-array initializer 9310 | [ARG_PTR_TO_TIMER] = &timer_types, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9310:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9310:43: warning: excess elements in scalar initializer 9310 | [ARG_PTR_TO_TIMER] = &timer_types, | ^ ../kernel/bpf/verifier.c:9310:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9311:10: error: array index in non-array initializer 9311 | [ARG_KPTR_XCHG_DEST] = &kptr_xchg_dest_types, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9311:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9311:43: warning: excess elements in scalar initializer 9311 | [ARG_KPTR_XCHG_DEST] = &kptr_xchg_dest_types, | ^ ../kernel/bpf/verifier.c:9311:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9312:10: error: array index in non-array initializer 9312 | [ARG_PTR_TO_DYNPTR] = &dynptr_types, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9312:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9312:43: warning: excess elements in scalar initializer 9312 | [ARG_PTR_TO_DYNPTR] = &dynptr_types, | ^ ../kernel/bpf/verifier.c:9312:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9319:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9319 | { | ^ ../kernel/bpf/verifier.c:9464:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9464 | { | ^ ../kernel/bpf/verifier.c:9482:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9482 | { | ^ ../kernel/bpf/verifier.c:9553:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9553 | { | ^ ../kernel/bpf/verifier.c:9573:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9573 | { | ^ ../kernel/bpf/verifier.c:9586:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9586 | { | ^ ../kernel/bpf/verifier.c:9600:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9600 | { | ^ ../kernel/bpf/verifier.c:9618:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9618 | { | ^ ../kernel/bpf/verifier.c:9669:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9669 | { | ^ ../kernel/bpf/verifier.c:9725:13: error: storage class specified for parameter ‘can_elide_value_nullness’ 9725 | static bool can_elide_value_nullness(enum bpf_map_type type); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9731:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9731 | { | ^ ../kernel/bpf/verifier.c:9998:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9998 | { | ^ ../kernel/bpf/verifier.c:10036:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10036 | { | ^ ../kernel/bpf/verifier.c:10043:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10043 | { | ^ ../kernel/bpf/verifier.c:10293:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10293 | { | ^ ../kernel/bpf/verifier.c:10315:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10315 | { | ^ ../kernel/bpf/verifier.c:10330:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10330 | { | ^ ../kernel/bpf/verifier.c:10348:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10348 | { | ^ ../kernel/bpf/verifier.c:10367:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10367 | { | ^ ../kernel/bpf/verifier.c:10380:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10380 | { | ^ ../kernel/bpf/verifier.c:10390:1: warning: empty declaration 10390 | enum { | ^~~~ ../kernel/bpf/verifier.c:10396:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10396 | { | ^ ../kernel/bpf/verifier.c:10417:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10417 | { | ^ ../kernel/bpf/verifier.c:10437:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10437 | { | ^ ../kernel/bpf/verifier.c:10456:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10456 | { | ^ ../kernel/bpf/verifier.c:10468:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10468 | { | ^ ../kernel/bpf/verifier.c:10478:15: error: storage class specified for parameter ‘set_callee_state_fn’ 10478 | typedef int (*set_callee_state_fn)(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10483:12: error: storage class specified for parameter ‘set_callee_state’ 10483 | static int set_callee_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10488:29: error: expected declaration specifiers or ‘...’ before ‘set_callee_state_fn’ 10488 | set_callee_state_fn set_callee_state_cb, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10538:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10538 | { | ^ ../kernel/bpf/verifier.c:10638:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10638 | { | ^ ../kernel/bpf/verifier.c:10666:31: error: expected declaration specifiers or ‘...’ before ‘set_callee_state_fn’ 10666 | set_callee_state_fn set_callee_state_cb) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10735:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10735 | { | ^ ../kernel/bpf/verifier.c:10817:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10817 | { | ^ ../kernel/bpf/verifier.c:10844:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10844 | { | ^ ../kernel/bpf/verifier.c:10859:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10859 | { | ^ ../kernel/bpf/verifier.c:10885:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10885 | { | ^ ../kernel/bpf/verifier.c:10907:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10907 | { | ^ ../kernel/bpf/verifier.c:10937:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10937 | { | ^ ../kernel/bpf/verifier.c:10965:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10965 | { | ^ ../kernel/bpf/verifier.c:10988:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10988 | { | ^ ../kernel/bpf/verifier.c:11020:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11020 | { | ^ ../kernel/bpf/verifier.c:11046:13: error: storage class specified for parameter ‘is_rbtree_lock_required_kfunc’ 11046 | static bool is_rbtree_lock_required_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11053:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11053 | { | ^ ../kernel/bpf/verifier.c:11073:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11073 | { | ^ ../kernel/bpf/verifier.c:11081:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11081 | { | ^ ../kernel/bpf/verifier.c:11174:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11174 | { | ^ ../kernel/bpf/verifier.c:11211:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11211 | { | ^ ../kernel/bpf/verifier.c:11257:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11257 | { | ^ ../kernel/bpf/verifier.c:11292:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11292 | { | ^ ../kernel/bpf/verifier.c:11319:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11319 | { | ^ ../kernel/bpf/verifier.c:11353:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11353 | { | ^ ../kernel/bpf/verifier.c:11390:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11390 | { | ^ ../kernel/bpf/verifier.c:11411:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11411 | { | ^ ../kernel/bpf/verifier.c:11416:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11416 | { | ^ ../kernel/bpf/verifier.c:11428:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11428 | { | ^ ../kernel/bpf/verifier.c:11450:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11450 | { | ^ ../kernel/bpf/verifier.c:11462:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11462 | { | ^ ../kernel/bpf/verifier.c:11475:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11475 | { | ^ ../kernel/bpf/verifier.c:11484:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11484 | { | ^ ../kernel/bpf/verifier.c:12004:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12004 | { | ^ ../kernel/bpf/verifier.c:12019:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12019 | { | ^ ../kernel/bpf/verifier.c:12024:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12024 | { | ^ ../kernel/bpf/verifier.c:12029:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12029 | { | ^ ../kernel/bpf/verifier.c:12034:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12034 | { | ^ ../kernel/bpf/verifier.c:12039:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12039 | { | ^ ../kernel/bpf/verifier.c:12044:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12044 | { | ^ ../kernel/bpf/verifier.c:12049:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12049 | { | ^ ../kernel/bpf/verifier.c:12054:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12054 | { | ^ ../kernel/bpf/verifier.c:12061:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12061 | { | ^ ../kernel/bpf/verifier.c:12074:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12074 | { | ^ ../kernel/bpf/verifier.c:12085:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12085 | { | ^ ../kernel/bpf/verifier.c:12090:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12090 | { | ^ ../kernel/bpf/verifier.c:12095:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12095 | { | ^ ../kernel/bpf/verifier.c:12100:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12100 | { | ^ ../kernel/bpf/verifier.c:12105:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12105 | { | ^ ../kernel/bpf/verifier.c:12110:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12110 | { | ^ ../kernel/bpf/verifier.c:12115:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12115 | { | ^ ../kernel/bpf/verifier.c:12120:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12120 | { | ^ ../kernel/bpf/verifier.c:12125:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12125 | { | ^ ../kernel/bpf/verifier.c:12130:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12130 | { | ^ ../kernel/bpf/verifier.c:12135:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12135 | { | ^ ../kernel/bpf/verifier.c:12139:13: error: storage class specified for parameter ‘is_kfunc_arg_prog_aux’ 12139 | static bool is_kfunc_arg_prog_aux(const struct btf *btf, const struct btf_param *arg); | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12142:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12142 | { | ^ ../kernel/bpf/verifier.c:12150:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12150 | { | ^ ../kernel/bpf/verifier.c:12166:1: warning: empty declaration 12166 | enum { | ^~~~ ../kernel/bpf/verifier.c:12178:13: error: storage class specified for parameter ‘kf_arg_btf_ids’ 12178 | BTF_ID_LIST(kf_arg_btf_ids) | ^~~~~~~~~~~~~~ ../include/linux/btf_ids.h:230:53: note: in definition of macro ‘BTF_ID_LIST’ 230 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; | ^~~~ ../kernel/bpf/verifier.c:12191:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12191 | { | ^ ../kernel/bpf/verifier.c:12207:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12207 | { | ^ ../kernel/bpf/verifier.c:12212:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12212 | { | ^ ../kernel/bpf/verifier.c:12217:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12217 | { | ^ ../kernel/bpf/verifier.c:12222:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12222 | { | ^ ../kernel/bpf/verifier.c:12227:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12227 | { | ^ ../kernel/bpf/verifier.c:12232:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12232 | { | ^ ../kernel/bpf/verifier.c:12237:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12237 | { | ^ ../kernel/bpf/verifier.c:12242:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12242 | { | ^ ../kernel/bpf/verifier.c:12247:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12247 | { | ^ ../kernel/bpf/verifier.c:12252:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12252 | { | ^ ../kernel/bpf/verifier.c:12258:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12258 | { | ^ ../kernel/bpf/verifier.c:12269:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12269 | { | ^ ../kernel/bpf/verifier.c:12277:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12277 | { | ^ ../kernel/bpf/verifier.c:12313:1: warning: empty declaration 12313 | enum kfunc_ptr_arg_type { | ^~~~ ../kernel/bpf/verifier.c:12336:1: warning: empty declaration 12336 | enum special_kfunc_type { | ^~~~ ../kernel/bpf/verifier.c:12390:13: error: storage class specified for parameter ‘special_kfunc_list’ 12390 | BTF_ID_LIST(special_kfunc_list) | ^~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:230:53: note: in definition of macro ‘BTF_ID_LIST’ 230 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; | ^~~~ ../kernel/bpf/verifier.c:12464:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12464 | { | ^ ../kernel/bpf/verifier.c:12470:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12470 | { | ^ ../kernel/bpf/verifier.c:12480:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12480 | { | ^ ../kernel/bpf/verifier.c:12485:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12485 | { | ^ ../kernel/bpf/verifier.c:12490:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12490 | { | ^ ../kernel/bpf/verifier.c:12495:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12495 | { | ^ ../kernel/bpf/verifier.c:12500:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12500 | { | ^ ../kernel/bpf/verifier.c:12510:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12510 | { | ^ ../kernel/bpf/verifier.c:12609:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12609 | { | ^ ../kernel/bpf/verifier.c:12677:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12677 | { | ^ ../kernel/bpf/verifier.c:12730:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12730 | { | ^ ../kernel/bpf/verifier.c:12751:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12751 | { | ^ ../kernel/bpf/verifier.c:12827:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12827 | { | ^ ../kernel/bpf/verifier.c:12856:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12856 | { | ^ ../kernel/bpf/verifier.c:12866:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12866 | { | ^ ../kernel/bpf/verifier.c:12876:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12876 | { | ^ ../kernel/bpf/verifier.c:12883:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12883 | { | ^ ../kernel/bpf/verifier.c:12889:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12889 | { | ^ ../kernel/bpf/verifier.c:12897:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12897 | { | ^ ../kernel/bpf/verifier.c:12903:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12903 | { | ^ ../kernel/bpf/verifier.c:12908:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12908 | { | ^ ../kernel/bpf/verifier.c:12914:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12914 | { | ^ ../kernel/bpf/verifier.c:12920:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12920 | { | ^ ../kernel/bpf/verifier.c:12925:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12925 | { | ^ ../kernel/bpf/verifier.c:12931:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12931 | { | ^ ../kernel/bpf/verifier.c:12938:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12938 | { | ^ ../kernel/bpf/verifier.c:12963:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12963 | { | ^ ../kernel/bpf/verifier.c:12995:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12995 | { | ^ ../kernel/bpf/verifier.c:13043:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13043 | { | ^ ../kernel/bpf/verifier.c:13051:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13051 | { | ^ ../kernel/bpf/verifier.c:13063:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13063 | { | ^ ../kernel/bpf/verifier.c:13124:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13124 | { | ^ ../kernel/bpf/verifier.c:13133:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13133 | { | ^ ../kernel/bpf/verifier.c:13146:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13146 | { | ^ ../kernel/bpf/verifier.c:13163:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13163 | { | ^ ../kernel/bpf/verifier.c:13706:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13706 | { | ^ ../kernel/bpf/verifier.c:13771:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13771 | { | ^ ../kernel/bpf/verifier.c:13943:12: error: storage class specified for parameter ‘check_return_code’ 13943 | static int check_return_code(struct bpf_verifier_env *env, int regno, const char *reg_name); | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:13947:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13947 | { | ^ ../kernel/bpf/verifier.c:14337:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14337 | { | ^ ../kernel/bpf/verifier.c:14369:1: warning: empty declaration 14369 | enum { | ^~~~ ../kernel/bpf/verifier.c:14379:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14379 | { | ^ ../kernel/bpf/verifier.c:14410:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14410 | { | ^ ../kernel/bpf/verifier.c:14418:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14418 | { | ^ ../kernel/bpf/verifier.c:14435:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14435 | { | ^ ../kernel/bpf/verifier.c:14445:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14445 | { | ^ ../kernel/bpf/verifier.c:14449:1: warning: empty declaration 14449 | struct bpf_sanitize_info { | ^~~~~~ ../kernel/bpf/verifier.c:14457:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14457 | { | ^ ../kernel/bpf/verifier.c:14481:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14481 | { | ^ ../kernel/bpf/verifier.c:14571:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14571 | { | ^ ../kernel/bpf/verifier.c:14587:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14587 | { | ^ ../kernel/bpf/verifier.c:14636:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14636 | { | ^ ../kernel/bpf/verifier.c:14658:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14658 | { | ^ ../kernel/bpf/verifier.c:14696:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14696 | { | ^ ../kernel/bpf/verifier.c:14937:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14937 | { | ^ ../kernel/bpf/verifier.c:14968:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14968 | { | ^ ../kernel/bpf/verifier.c:14999:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14999 | { | ^ ../kernel/bpf/verifier.c:15031:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15031 | { | ^ ../kernel/bpf/verifier.c:15063:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15063 | { | ^ ../kernel/bpf/verifier.c:15091:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15091 | { | ^ ../kernel/bpf/verifier.c:15119:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15119 | { | ^ ../kernel/bpf/verifier.c:15150:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15150 | { | ^ ../kernel/bpf/verifier.c:15182:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15182 | { | ^ ../kernel/bpf/verifier.c:15213:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15213 | { | ^ ../kernel/bpf/verifier.c:15245:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15245 | { | ^ ../kernel/bpf/verifier.c:15273:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15273 | { | ^ ../kernel/bpf/verifier.c:15303:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15303 | { | ^ ../kernel/bpf/verifier.c:15321:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15321 | { | ^ ../kernel/bpf/verifier.c:15339:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15339 | { | ^ ../kernel/bpf/verifier.c:15369:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15369 | { | ^ ../kernel/bpf/verifier.c:15384:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15384 | { | ^ ../kernel/bpf/verifier.c:15416:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15416 | { | ^ ../kernel/bpf/verifier.c:15450:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15450 | { | ^ ../kernel/bpf/verifier.c:15473:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15473 | { | ^ ../kernel/bpf/verifier.c:15500:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15500 | { | ^ ../kernel/bpf/verifier.c:15547:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15547 | { | ^ ../kernel/bpf/verifier.c:15649:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15649 | { | ^ ../kernel/bpf/verifier.c:15783:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15783 | { | ^ ../kernel/bpf/verifier.c:16029:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16029 | { | ^ ../kernel/bpf/verifier.c:16109:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16109 | { | ^ ../kernel/bpf/verifier.c:16240:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16240 | { | ^ ../kernel/bpf/verifier.c:16263:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16263 | { | ^ ../kernel/bpf/verifier.c:16309:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16309 | { | ^ ../kernel/bpf/verifier.c:16353:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16353 | { | ^ ../kernel/bpf/verifier.c:16377:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16377 | { | ^ ../kernel/bpf/verifier.c:16557:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16557 | { | ^ ../kernel/bpf/verifier.c:16587:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16587 | { | ^ ../kernel/bpf/verifier.c:16636:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16636 | { | ^ ../kernel/bpf/verifier.c:16659:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16659 | { | ^ ../kernel/bpf/verifier.c:16761:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16761 | { | ^ ../kernel/bpf/verifier.c:16783:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16783 | { | ^ ../kernel/bpf/verifier.c:16809:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16809 | { | ^ ../kernel/bpf/verifier.c:16854:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16854 | { | ^ ../kernel/bpf/verifier.c:17109:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17109 | { | ^ ../kernel/bpf/verifier.c:17205:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17205 | { | ^ ../kernel/bpf/verifier.c:17232:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17232 | { | ^ ../kernel/bpf/verifier.c:17302:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17302 | { | ^ ../kernel/bpf/verifier.c:17501:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17501 | { | ^ ../kernel/bpf/verifier.c:17509:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17509 | { | ^ ../kernel/bpf/verifier.c:17523:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17523 | { | ^ ../kernel/bpf/verifier.c:17565:1: warning: empty declaration 17565 | enum { | ^~~~ ../kernel/bpf/verifier.c:17573:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17573 | { | ^ ../kernel/bpf/verifier.c:17578:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17578 | { | ^ ../kernel/bpf/verifier.c:17583:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17583 | { | ^ ../kernel/bpf/verifier.c:17588:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17588 | { | ^ ../kernel/bpf/verifier.c:17593:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17593 | { | ^ ../kernel/bpf/verifier.c:17598:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17598 | { | ^ ../kernel/bpf/verifier.c:17602:1: warning: empty declaration 17602 | enum { | ^~~~ ../kernel/bpf/verifier.c:17613:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17613 | { | ^ ../kernel/bpf/verifier.c:17663:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17663 | { | ^ ../kernel/bpf/verifier.c:17693:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17693 | { | ^ ../kernel/bpf/verifier.c:17704:1: warning: empty declaration 17704 | struct call_summary { | ^~~~~~ ../kernel/bpf/verifier.c:17715:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17715 | { | ^ ../kernel/bpf/verifier.c:17831:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17831 | { | ^ ../kernel/bpf/verifier.c:17916:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17916 | { | ^ ../kernel/bpf/verifier.c:17944:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17944 | { | ^ ../kernel/bpf/verifier.c:17965:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17965 | { | ^ ../kernel/bpf/verifier.c:18087:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18087 | { | ^ ../kernel/bpf/verifier.c:18178:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18178 | { | ^ ../kernel/bpf/verifier.c:18224:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18224 | { | ^ ../kernel/bpf/verifier.c:18247:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18247 | { | ^ ../kernel/bpf/verifier.c:18349:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18349 | { | ^ ../kernel/bpf/verifier.c:18422:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18422 | { | ^ ../kernel/bpf/verifier.c:18440:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18440 | { | ^ ../kernel/bpf/verifier.c:18568:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18568 | { | ^ ../kernel/bpf/verifier.c:18637:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18637 | { | ^ ../kernel/bpf/verifier.c:18665:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18665 | { | ^ ../kernel/bpf/verifier.c:18692:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18692 | { | ^ ../kernel/bpf/verifier.c:18714:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18714 | { | ^ ../kernel/bpf/verifier.c:18747:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18747 | { | ^ ../kernel/bpf/verifier.c:18757:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18757 | { | ^ ../kernel/bpf/verifier.c:18781:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18781 | { | ^ ../kernel/bpf/verifier.c:18824:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18824 | { | ^ ../kernel/bpf/verifier.c:18848:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18848 | { | ^ ../kernel/bpf/verifier.c:18854:1: warning: empty declaration 18854 | enum exact_level { | ^~~~ ../kernel/bpf/verifier.c:18864:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18864 | { | ^ ../kernel/bpf/verifier.c:18986:29: error: storage class specified for parameter ‘unbound_reg’ 18986 | static struct bpf_reg_state unbound_reg; | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:18989:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18989 | { | ^ ../include/linux/compiler.h:166:45: error: storage class specified for parameter ‘__UNIQUE_ID___addressable_unbound_reg_init2523’ 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../include/linux/compiler.h:166:29: note: in expansion of macro ‘__PASTE’ 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^~~~~~~~ ../include/linux/compiler.h:166:37: note: in expansion of macro ‘__PASTE’ 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ../include/linux/compiler.h:286:9: note: in expansion of macro ‘__UNIQUE_ID’ 286 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~~~~~~~~~ ../include/linux/compiler.h:289:9: note: in expansion of macro ‘___ADDRESSABLE’ 289 | ___ADDRESSABLE(sym, __section(".discard.addressable")) | ^~~~~~~~~~~~~~ ../include/linux/init.h:250:9: note: in expansion of macro ‘__ADDRESSABLE’ 250 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:255:9: note: in expansion of macro ‘__define_initcall_stub’ 255 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ 268 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ 307 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18993:1: note: in expansion of macro ‘late_initcall’ 18993 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18993:1: error: parameter ‘__UNIQUE_ID___addressable_unbound_reg_init2523’ is initialized ../kernel/bpf/verifier.c:18993:1: warning: ‘used’ attribute ignored [-Wattributes] ../include/linux/compiler.h:166:45: error: section attribute not allowed for ‘__UNIQUE_ID___addressable_unbound_reg_init2523’ 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../include/linux/compiler.h:166:29: note: in expansion of macro ‘__PASTE’ 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^~~~~~~~ ../include/linux/compiler.h:166:37: note: in expansion of macro ‘__PASTE’ 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ../include/linux/compiler.h:286:9: note: in expansion of macro ‘__UNIQUE_ID’ 286 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~~~~~~~~~ ../include/linux/compiler.h:289:9: note: in expansion of macro ‘___ADDRESSABLE’ 289 | ___ADDRESSABLE(sym, __section(".discard.addressable")) | ^~~~~~~~~~~~~~ ../include/linux/init.h:250:9: note: in expansion of macro ‘__ADDRESSABLE’ 250 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:255:9: note: in expansion of macro ‘__define_initcall_stub’ 255 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ 268 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ 307 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18993:1: note: in expansion of macro ‘late_initcall’ 18993 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ In file included from ../include/uapi/linux/filter.h:9, from ../include/linux/bpf.h:8: ../kernel/bpf/verifier.c:18993:15: error: ‘unbound_reg_init’ undeclared (first use in this function); did you mean ‘unbound_reg’? 18993 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~~~~ ../include/linux/compiler.h:286:72: note: in definition of macro ‘___ADDRESSABLE’ 286 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~ ../include/linux/init.h:250:9: note: in expansion of macro ‘__ADDRESSABLE’ 250 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:255:9: note: in expansion of macro ‘__define_initcall_stub’ 255 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ 268 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ 307 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18993:1: note: in expansion of macro ‘late_initcall’ 18993 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18993:15: note: each undeclared identifier is reported only once for each function it appears in 18993 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~~~~ ../include/linux/compiler.h:286:72: note: in definition of macro ‘___ADDRESSABLE’ 286 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~ ../include/linux/init.h:250:9: note: in expansion of macro ‘__ADDRESSABLE’ 250 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:255:9: note: in expansion of macro ‘__define_initcall_stub’ 255 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ 268 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ 307 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18993:1: note: in expansion of macro ‘late_initcall’ 18993 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ In file included from ../include/linux/printk.h:6, from ../include/asm-generic/bug.h:22, from ../arch/x86/include/asm/bug.h:108, from ../include/linux/bug.h:5, from ../include/linux/alloc_tag.h:8, from ../include/linux/workqueue.h:9, from ../include/linux/bpf.h:11: ../include/linux/init.h:256:9: error: expected declaration specifiers before ‘asm’ 256 | asm(".section \"" __sec "\", \"a\" \n" \ | ^~~ ../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ 268 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ 307 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18993:1: note: in expansion of macro ‘late_initcall’ 18993 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ In file included from ../include/linux/init.h:5: ../include/linux/build_bug.h:78:41: error: expected declaration specifiers before ‘_Static_assert’ 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ ../include/linux/build_bug.h:77:34: note: in expansion of macro ‘__static_assert’ 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ ../include/linux/init.h:260:9: note: in expansion of macro ‘static_assert’ 260 | static_assert(__same_type(initcall_t, &fn)); | ^~~~~~~~~~~~~ ../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ 268 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ 307 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18993:1: note: in expansion of macro ‘late_initcall’ 18993 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18993:32: error: expected declaration specifiers before ‘;’ token 18993 | late_initcall(unbound_reg_init); | ^ ../kernel/bpf/verifier.c:18997:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18997 | { | ^ ../kernel/bpf/verifier.c:19012:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19012 | { | ^ ../kernel/bpf/verifier.c:19025:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19025 | { | ^ ../kernel/bpf/verifier.c:19149:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19149 | { | ^ ../kernel/bpf/verifier.c:19222:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19222 | { | ^ ../kernel/bpf/verifier.c:19242:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19242 | { | ^ ../kernel/bpf/verifier.c:19251:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19251 | { | ^ ../kernel/bpf/verifier.c:19292:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19292 | { | ^ ../kernel/bpf/verifier.c:19353:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19353 | { | ^ ../kernel/bpf/verifier.c:19383:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19383 | { | ^ ../kernel/bpf/verifier.c:19400:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19400 | { | ^ ../kernel/bpf/verifier.c:19463:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19463 | { | ^ ../kernel/bpf/verifier.c:19487:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19487 | { | ^ ../kernel/bpf/verifier.c:19843:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19843 | { | ^ ../kernel/bpf/verifier.c:19871:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19871 | { | ^ ../kernel/bpf/verifier.c:19877:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19877 | { | ^ ../kernel/bpf/verifier.c:19888:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19888 | { | ^ ../kernel/bpf/verifier.c:19894:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19894 | { | ^ ../kernel/bpf/verifier.c:19940:1: warning: empty declaration 19940 | enum { | ^~~~ ../kernel/bpf/verifier.c:19947:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19947 | { | ^ ../kernel/bpf/verifier.c:19991:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19991 | { | ^ ../kernel/bpf/verifier.c:20150:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20150 | { | ^ ../kernel/bpf/verifier.c:20323:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20323 | { | ^ ../kernel/bpf/verifier.c:20359:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20359 | { | ^ ../kernel/bpf/verifier.c:20397:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20397 | { | ^ ../kernel/bpf/verifier.c:20479:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20479 | { | ^ ../kernel/bpf/verifier.c:20512:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20512 | { | ^ ../kernel/bpf/verifier.c:20526:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20526 | { | ^ ../kernel/bpf/verifier.c:20535:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20535 | { | ^ ../kernel/bpf/verifier.c:20649:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20649 | { | ^ ../kernel/bpf/verifier.c:20687:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20687 | { | ^ ../kernel/bpf/verifier.c:20708:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20708 | { | ^ ../kernel/bpf/verifier.c:20851:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20851 | { | ^ ../kernel/bpf/verifier.c:20858:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20858 | { | ^ ../kernel/bpf/verifier.c:20864:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20864 | { | ^ ../kernel/bpf/verifier.c:20884:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20884 | { | ^ ../kernel/bpf/verifier.c:20912:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20912 | { | ^ ../kernel/bpf/verifier.c:20926:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20926 | { | ^ ../kernel/bpf/verifier.c:20941:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20941 | { | ^ ../kernel/bpf/verifier.c:20975:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20975 | { | ^ ../kernel/bpf/verifier.c:21010:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21010 | { | ^ ../kernel/bpf/verifier.c:21066:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21066 | { | ^ ../kernel/bpf/verifier.c:21129:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21129 | { | ^ ../kernel/bpf/verifier.c:21167:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21167 | { | ^ ../kernel/bpf/verifier.c:21183:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21183 | { | ^ ../kernel/bpf/verifier.c:21197:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21197 | { | ^ ../kernel/bpf/verifier.c:21223:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21223 | { | ^ ../kernel/bpf/verifier.c:21246:30: error: storage class specified for parameter ‘NOP’ 21246 | static const struct bpf_insn NOP = BPF_JMP_IMM(BPF_JA, 0, 0, 0); | ^~~ ../kernel/bpf/verifier.c:21246:21: error: parameter ‘NOP’ is initialized 21246 | static const struct bpf_insn NOP = BPF_JMP_IMM(BPF_JA, 0, 0, 0); | ^~~~~~~~ ../kernel/bpf/verifier.c:21247:30: error: storage class specified for parameter ‘MAY_GOTO_0’ 21247 | static const struct bpf_insn MAY_GOTO_0 = BPF_RAW_INSN(BPF_JMP | BPF_JCOND, 0, 0, 0, 0); | ^~~~~~~~~~ ../kernel/bpf/verifier.c:21247:21: error: parameter ‘MAY_GOTO_0’ is initialized 21247 | static const struct bpf_insn MAY_GOTO_0 = BPF_RAW_INSN(BPF_JMP | BPF_JCOND, 0, 0, 0, 0); | ^~~~~~~~ ../kernel/bpf/verifier.c:21250:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21250 | { | ^ ../kernel/bpf/verifier.c:21276:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21276 | { | ^ ../kernel/bpf/verifier.c:21381:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21381 | { | ^ ../kernel/bpf/verifier.c:21681:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21681 | { | ^ ../kernel/bpf/verifier.c:21947:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21947 | { | ^ ../kernel/bpf/verifier.c:21999:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21999 | { | ^ ../kernel/bpf/verifier.c:22060:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22060 | { | ^ ../kernel/bpf/verifier.c:22073:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22073 | { | ^ ../kernel/bpf/verifier.c:22185:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22185 | { | ^ ../kernel/bpf/verifier.c:22214:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22214 | { | ^ ../kernel/bpf/verifier.c:23137:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23137 | { | ^ ../kernel/bpf/verifier.c:23209:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23209 | { | ^ ../kernel/bpf/verifier.c:23225:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23225 | { | ^ ../kernel/bpf/verifier.c:23273:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23273 | { | ^ ../kernel/bpf/verifier.c:23304:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23304 | { | ^ ../kernel/bpf/verifier.c:23347:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23347 | { | ^ ../kernel/bpf/verifier.c:23496:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23496 | { | ^ ../kernel/bpf/verifier.c:23546:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23546 | { | ^ ../kernel/bpf/verifier.c:23558:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23558 | { | ^ ../kernel/bpf/verifier.c:23583:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23583 | { | ^ ../kernel/bpf/verifier.c:23591:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23591 | { | ^ ../kernel/bpf/verifier.c:23702:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23702 | { | ^ ../kernel/bpf/verifier.c:23713:15: error: storage class specified for parameter ‘btf_non_sleepable_error_inject’ 23713 | BTF_SET_START(btf_non_sleepable_error_inject) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../include/linux/btf_ids.h:237:43: error: parameter ‘btf_non_sleepable_error_inject’ is initialized 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~~~~~~~ ../kernel/bpf/verifier.c:23713:1: note: in expansion of macro ‘BTF_SET_START’ 23713 | BTF_SET_START(btf_non_sleepable_error_inject) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23727:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23727 | { | ^ ../kernel/bpf/verifier.c:23736:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23736 | { | ^ ../kernel/bpf/verifier.c:24062:15: error: storage class specified for parameter ‘btf_id_deny’ 24062 | BTF_SET_START(btf_id_deny) | ^~~~~~~~~~~ ../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../include/linux/btf_ids.h:237:43: error: parameter ‘btf_id_deny’ is initialized 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~~~~~~~ ../kernel/bpf/verifier.c:24062:1: note: in expansion of macro ‘BTF_SET_START’ 24062 | BTF_SET_START(btf_id_deny) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24086:15: error: storage class specified for parameter ‘noreturn_deny’ 24086 | BTF_SET_START(noreturn_deny) | ^~~~~~~~~~~~~ ../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../include/linux/btf_ids.h:237:43: error: parameter ‘noreturn_deny’ is initialized 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~~~~~~~ ../kernel/bpf/verifier.c:24086:1: note: in expansion of macro ‘BTF_SET_START’ 24086 | BTF_SET_START(noreturn_deny) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24110:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24110 | { | ^ ../kernel/bpf/verifier.c:24128:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24128 | { | ^ ../kernel/bpf/verifier.c:24218:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24218 | { | ^ ../kernel/bpf/verifier.c:24234:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24234 | { | ^ ../kernel/bpf/verifier.c:24261:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24261 | { | ^ ../kernel/bpf/verifier.c:24296:1: warning: empty declaration 24296 | struct insn_live_regs { | ^~~~~~ ../kernel/bpf/verifier.c:24310:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24310 | { | ^ ../kernel/bpf/verifier.c:24445:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24445 | { | ^ ../kernel/bpf/verifier.c:24539:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24539 | { | ^ ../kernel/bpf/verifier.c:24712:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24712 | { | ^ ../kernel/bpf/verifier.c:3271:1: error: type of ‘magic_kfuncs’ defaults to ‘int’ [-Wimplicit-int] 3271 | BTF_ID_LIST_END(magic_kfuncs) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24086:15: error: declaration for parameter ‘noreturn_deny’ but no such parameter 24086 | BTF_SET_START(noreturn_deny) | ^~~~~~~~~~~~~ ../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../kernel/bpf/verifier.c:24062:15: error: declaration for parameter ‘btf_id_deny’ but no such parameter 24062 | BTF_SET_START(btf_id_deny) | ^~~~~~~~~~~ ../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../kernel/bpf/verifier.c:23713:15: error: declaration for parameter ‘btf_non_sleepable_error_inject’ but no such parameter 23713 | BTF_SET_START(btf_non_sleepable_error_inject) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../kernel/bpf/verifier.c:21247:30: error: declaration for parameter ‘MAY_GOTO_0’ but no such parameter 21247 | static const struct bpf_insn MAY_GOTO_0 = BPF_RAW_INSN(BPF_JMP | BPF_JCOND, 0, 0, 0, 0); | ^~~~~~~~~~ ../kernel/bpf/verifier.c:21246:30: error: declaration for parameter ‘NOP’ but no such parameter 21246 | static const struct bpf_insn NOP = BPF_JMP_IMM(BPF_JA, 0, 0, 0); | ^~~ ../include/linux/compiler.h:166:45: error: declaration for parameter ‘__UNIQUE_ID___addressable_unbound_reg_init2523’ but no such parameter 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~~~~~~ ./../include/linux/compiler_types.h:83:23: note: in definition of macro ‘___PASTE’ 83 | #define ___PASTE(a,b) a##b | ^ ../include/linux/compiler.h:166:29: note: in expansion of macro ‘__PASTE’ 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ./../include/linux/compiler_types.h:84:22: note: in expansion of macro ‘___PASTE’ 84 | #define __PASTE(a,b) ___PASTE(a,b) | ^~~~~~~~ ../include/linux/compiler.h:166:37: note: in expansion of macro ‘__PASTE’ 166 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | ^~~~~~~ ../include/linux/compiler.h:286:9: note: in expansion of macro ‘__UNIQUE_ID’ 286 | __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; | ^~~~~~~~~~~ ../include/linux/compiler.h:289:9: note: in expansion of macro ‘___ADDRESSABLE’ 289 | ___ADDRESSABLE(sym, __section(".discard.addressable")) | ^~~~~~~~~~~~~~ ../include/linux/init.h:250:9: note: in expansion of macro ‘__ADDRESSABLE’ 250 | __ADDRESSABLE(fn) | ^~~~~~~~~~~~~ ../include/linux/init.h:255:9: note: in expansion of macro ‘__define_initcall_stub’ 255 | __define_initcall_stub(__stub, fn) \ | ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:268:9: note: in expansion of macro ‘____define_initcall’ 268 | ____define_initcall(fn, \ | ^~~~~~~~~~~~~~~~~~~ ../include/linux/init.h:274:9: note: in expansion of macro ‘__unique_initcall’ 274 | __unique_initcall(fn, id, __sec, __initcall_id(fn)) | ^~~~~~~~~~~~~~~~~ ../include/linux/init.h:276:35: note: in expansion of macro ‘___define_initcall’ 276 | #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) | ^~~~~~~~~~~~~~~~~~ ../include/linux/init.h:307:41: note: in expansion of macro ‘__define_initcall’ 307 | #define late_initcall(fn) __define_initcall(fn, 7) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18993:1: note: in expansion of macro ‘late_initcall’ 18993 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18986:29: error: declaration for parameter ‘unbound_reg’ but no such parameter 18986 | static struct bpf_reg_state unbound_reg; | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:13943:12: error: declaration for parameter ‘check_return_code’ but no such parameter 13943 | static int check_return_code(struct bpf_verifier_env *env, int regno, const char *reg_name); | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12390:13: error: declaration for parameter ‘special_kfunc_list’ but no such parameter 12390 | BTF_ID_LIST(special_kfunc_list) | ^~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:230:53: note: in definition of macro ‘BTF_ID_LIST’ 230 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; | ^~~~ ../kernel/bpf/verifier.c:12178:13: error: declaration for parameter ‘kf_arg_btf_ids’ but no such parameter 12178 | BTF_ID_LIST(kf_arg_btf_ids) | ^~~~~~~~~~~~~~ ../include/linux/btf_ids.h:230:53: note: in definition of macro ‘BTF_ID_LIST’ 230 | #define BTF_ID_LIST(name) static u32 __maybe_unused name[64]; | ^~~~ ../kernel/bpf/verifier.c:12139:13: error: declaration for parameter ‘is_kfunc_arg_prog_aux’ but no such parameter 12139 | static bool is_kfunc_arg_prog_aux(const struct btf *btf, const struct btf_param *arg); | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11046:13: error: declaration for parameter ‘is_rbtree_lock_required_kfunc’ but no such parameter 11046 | static bool is_rbtree_lock_required_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10483:12: error: declaration for parameter ‘set_callee_state’ but no such parameter 10483 | static int set_callee_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10478:15: error: declaration for parameter ‘set_callee_state_fn’ but no such parameter 10478 | typedef int (*set_callee_state_fn)(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9725:13: error: declaration for parameter ‘can_elide_value_nullness’ but no such parameter 9725 | static bool can_elide_value_nullness(enum bpf_map_type type); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9289:36: error: declaration for parameter ‘compatible_reg_types’ but no such parameter 9289 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9282:35: error: declaration for parameter ‘dynptr_types’ but no such parameter 9282 | static const struct bpf_reg_types dynptr_types = { | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:9276:35: error: declaration for parameter ‘kptr_xchg_dest_types’ but no such parameter 9276 | static const struct bpf_reg_types kptr_xchg_dest_types = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9275:35: error: declaration for parameter ‘timer_types’ but no such parameter 9275 | static const struct bpf_reg_types timer_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:9274:35: error: declaration for parameter ‘const_str_ptr_types’ but no such parameter 9274 | static const struct bpf_reg_types const_str_ptr_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9273:35: error: declaration for parameter ‘stack_ptr_types’ but no such parameter 9273 | static const struct bpf_reg_types stack_ptr_types = { .types = { PTR_TO_STACK } }; | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9272:35: error: declaration for parameter ‘func_ptr_types’ but no such parameter 9272 | static const struct bpf_reg_types func_ptr_types = { .types = { PTR_TO_FUNC } }; | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9265:35: error: declaration for parameter ‘percpu_btf_ptr_types’ but no such parameter 9265 | static const struct bpf_reg_types percpu_btf_ptr_types = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9258:35: error: declaration for parameter ‘btf_ptr_types’ but no such parameter 9258 | static const struct bpf_reg_types btf_ptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9257:35: error: declaration for parameter ‘const_map_ptr_types’ but no such parameter 9257 | static const struct bpf_reg_types const_map_ptr_types = { .types = { CONST_PTR_TO_MAP } }; | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9256:35: error: declaration for parameter ‘ringbuf_mem_types’ but no such parameter 9256 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } }; | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9255:35: error: declaration for parameter ‘context_types’ but no such parameter 9255 | static const struct bpf_reg_types context_types = { .types = { PTR_TO_CTX } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9254:35: error: declaration for parameter ‘scalar_types’ but no such parameter 9254 | static const struct bpf_reg_types scalar_types = { .types = { SCALAR_VALUE } }; | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:9253:35: error: declaration for parameter ‘fullsock_types’ but no such parameter 9253 | static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } }; | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9246:35: error: declaration for parameter ‘spin_lock_types’ but no such parameter 9246 | static const struct bpf_reg_types spin_lock_types = { | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9232:35: error: declaration for parameter ‘mem_types’ but no such parameter 9232 | static const struct bpf_reg_types mem_types = { | ^~~~~~~~~ ../kernel/bpf/verifier.c:9219:35: error: declaration for parameter ‘btf_id_sock_common_types’ but no such parameter 9219 | static const struct bpf_reg_types btf_id_sock_common_types = { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9209:35: error: declaration for parameter ‘sock_types’ but no such parameter 9209 | static const struct bpf_reg_types sock_types = { | ^~~~~~~~~~ ../kernel/bpf/verifier.c:8961:13: error: declaration for parameter ‘regs_exact’ but no such parameter 8961 | static bool regs_exact(const struct bpf_reg_state *rold, | ^~~~~~~~~~ ../kernel/bpf/verifier.c:8960:13: error: declaration for parameter ‘reset_idmap_scratch’ but no such parameter 8960 | static void reset_idmap_scratch(struct bpf_verifier_env *env); | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7813:12: error: declaration for parameter ‘save_aux_ptr_type’ but no such parameter 7813 | static int save_aux_ptr_type(struct bpf_verifier_env *env, enum bpf_reg_type type, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6393:13: error: declaration for parameter ‘reg2btf_ids’ but no such parameter 6393 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:5942:15: error: declaration for parameter ‘rcu_protected_types’ but no such parameter 5942 | BTF_SET_START(rcu_protected_types) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/btf_ids.h:237:69: note: in definition of macro ‘BTF_SET_START’ 237 | #define BTF_SET_START(name) static struct btf_id_set __maybe_unused name = { 0 }; | ^~~~ ../kernel/bpf/verifier.c:5562:12: error: declaration for parameter ‘check_stack_range_initialized’ but no such parameter 5562 | static int check_stack_range_initialized(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24997: error: expected ‘{’ at end of input ../kernel/bpf/verifier.c: At top level: ../kernel/bpf/verifier.c:206:12: warning: ‘release_reference_nomark’ declared ‘static’ but never defined [-Wunused-function] 206 | static int release_reference_nomark(struct bpf_verifier_state *state, int ref_obj_id); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:207:12: warning: ‘release_reference’ used but never defined 207 | static int release_reference(struct bpf_verifier_env *env, int ref_obj_id); | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:208:13: warning: ‘invalidate_non_owning_refs’ declared ‘static’ but never defined [-Wunused-function] 208 | static void invalidate_non_owning_refs(struct bpf_verifier_env *env); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:209:13: warning: ‘in_rbtree_lock_required_cb’ declared ‘static’ but never defined [-Wunused-function] 209 | static bool in_rbtree_lock_required_cb(struct bpf_verifier_env *env); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:210:12: warning: ‘ref_set_non_owning’ declared ‘static’ but never defined [-Wunused-function] 210 | static int ref_set_non_owning(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:212:13: warning: ‘is_trusted_reg’ used but never defined 212 | static bool is_trusted_reg(const struct bpf_reg_state *reg); | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:510:13: warning: ‘is_sync_callback_calling_kfunc’ used but never defined 510 | static bool is_sync_callback_calling_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:511:13: warning: ‘is_async_callback_calling_kfunc’ used but never defined 511 | static bool is_async_callback_calling_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:512:13: warning: ‘is_callback_calling_kfunc’ declared ‘static’ but never defined [-Wunused-function] 512 | static bool is_callback_calling_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:513:13: warning: ‘is_bpf_throw_kfunc’ declared ‘static’ but never defined [-Wunused-function] 513 | static bool is_bpf_throw_kfunc(struct bpf_insn *insn); | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:515:13: warning: ‘is_bpf_wq_set_callback_impl_kfunc’ used but never defined 515 | static bool is_bpf_wq_set_callback_impl_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:516:13: warning: ‘is_task_work_add_kfunc’ used but never defined 516 | static bool is_task_work_add_kfunc(u32 func_id); | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1029:13: warning: ‘in_rcu_cs’ used but never defined 1029 | static bool in_rcu_cs(struct bpf_verifier_env *env); | ^~~~~~~~~ ../kernel/bpf/verifier.c:1031:13: warning: ‘is_kfunc_rcu_protected’ used but never defined 1031 | static bool is_kfunc_rcu_protected(struct bpf_kfunc_call_arg_meta *meta); | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1938:12: warning: ‘propagate_backedges’ used but never defined 1938 | static int propagate_backedges(struct bpf_verifier_env *env, struct bpf_scc_visit *visit); | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:3127:12: warning: ‘specialize_kfunc’ declared ‘static’ but never defined [-Wunused-function] 3127 | static int specialize_kfunc(struct bpf_verifier_env *env, struct bpf_kfunc_desc *desc, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c: In function ‘BTF_ID_LIST_END’: ../kernel/bpf/verifier.c:3271:1: note: the ABI of passing struct with a flexible array member has changed in GCC 4.4 3271 | BTF_ID_LIST_END(magic_kfuncs) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24997: error: control reaches end of non-void function [-Werror=return-type] ../kernel/bpf/verifier.c: At top level: ../kernel/bpf/verifier.c:3250:20: warning: ‘find_kfunc_desc_btf’ defined but not used [-Wunused-function] 3250 | static struct btf *find_kfunc_desc_btf(struct bpf_verifier_env *env, s16 offset) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:3033:12: warning: ‘bpf_find_exception_callback_insn_off’ defined but not used [-Wunused-function] 3033 | static int bpf_find_exception_callback_insn_off(struct bpf_verifier_env *env) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:3010:12: warning: ‘add_subprog’ defined but not used [-Wunused-function] 3010 | static int add_subprog(struct bpf_verifier_env *env, int off) | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:2924:35: warning: ‘push_async_cb’ defined but not used [-Wunused-function] 2924 | static struct bpf_verifier_state *push_async_cb(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2858:12: warning: ‘mark_btf_ld_reg’ defined but not used [-Wunused-function] 2858 | static int mark_btf_ld_reg(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2819:12: warning: ‘__mark_reg_s32_range’ defined but not used [-Wunused-function] 2819 | static int __mark_reg_s32_range(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2760:13: warning: ‘__reg_assign_32_into_64’ defined but not used [-Wunused-function] 2760 | static void __reg_assign_32_into_64(struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2336:13: warning: ‘__mark_reg32_unbounded’ defined but not used [-Wunused-function] 2336 | static void __mark_reg32_unbounded(struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2328:13: warning: ‘__mark_reg64_unbounded’ defined but not used [-Wunused-function] 2328 | static void __mark_reg64_unbounded(struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2301:13: warning: ‘reg_is_init_pkt_pointer’ defined but not used [-Wunused-function] 2301 | static bool reg_is_init_pkt_pointer(const struct bpf_reg_state *reg, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2293:13: warning: ‘reg_is_dynptr_slice_pkt’ defined but not used [-Wunused-function] 2293 | static bool reg_is_dynptr_slice_pkt(const struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2287:13: warning: ‘reg_is_pkt_pointer_any’ defined but not used [-Wunused-function] 2287 | static bool reg_is_pkt_pointer_any(const struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2272:13: warning: ‘mark_reg_graph_node’ defined but not used [-Wunused-function] 2272 | static void mark_reg_graph_node(struct bpf_reg_state *regs, u32 regno, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2243:13: warning: ‘mark_ptr_not_null_reg’ defined but not used [-Wunused-function] 2243 | static void mark_ptr_not_null_reg(struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2205:13: warning: ‘__mark_reg_const_zero’ defined but not used [-Wunused-function] 2205 | static void __mark_reg_const_zero(const struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2188:13: warning: ‘__mark_reg32_known’ defined but not used [-Wunused-function] 2188 | static void __mark_reg32_known(struct bpf_reg_state *reg, u64 imm) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2156:18: warning: ‘caller_saved’ defined but not used [-Wunused-const-variable=] 2156 | static const int caller_saved[CALLER_SAVED_REGS] = { | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:2113:35: warning: ‘push_stack’ defined but not used [-Wunused-function] 2113 | static struct bpf_verifier_state *push_stack(struct bpf_verifier_env *env, | ^~~~~~~~~~ ../kernel/bpf/verifier.c:2101:13: warning: ‘error_recoverable_with_nospec’ defined but not used [-Wunused-function] 2101 | static bool error_recoverable_with_nospec(int err) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2072:12: warning: ‘pop_stack’ defined but not used [-Wunused-function] 2072 | static int pop_stack(struct bpf_verifier_env *env, int *prev_insn_idx, | ^~~~~~~~~ ../kernel/bpf/verifier.c:2044:12: warning: ‘update_branch_counts’ defined but not used [-Wunused-function] 2044 | static int update_branch_counts(struct bpf_verifier_env *env, struct bpf_verifier_state *st) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:2032:13: warning: ‘free_backedges’ defined but not used [-Wunused-function] 2032 | static void free_backedges(struct bpf_scc_visit *visit) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1986:12: warning: ‘add_scc_backedge’ defined but not used [-Wunused-function] 1986 | static int add_scc_backedge(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1919:12: warning: ‘maybe_enter_scc’ defined but not used [-Wunused-function] 1919 | static int maybe_enter_scc(struct bpf_verifier_env *env, struct bpf_verifier_state *st) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1798:13: warning: ‘same_callsites’ defined but not used [-Wunused-function] 1798 | static bool same_callsites(struct bpf_verifier_state *a, struct bpf_verifier_state *b) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1790:26: warning: ‘explored_state’ defined but not used [-Wunused-function] 1790 | static struct list_head *explored_state(struct bpf_verifier_env *env, int idx) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1639:36: warning: ‘find_lock_state’ defined but not used [-Wunused-function] 1639 | static struct bpf_reference_state *find_lock_state(struct bpf_verifier_state *state, enum ref_state_type type, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1593:12: warning: ‘release_lock_state’ defined but not used [-Wunused-function] 1593 | static int release_lock_state(struct bpf_verifier_state *state, int type, int id, void *ptr) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1582:13: warning: ‘find_reference_state’ defined but not used [-Wunused-function] 1582 | static bool find_reference_state(struct bpf_verifier_state *state, int ptr_id) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1529:12: warning: ‘acquire_lock_state’ defined but not used [-Wunused-function] 1529 | static int acquire_lock_state(struct bpf_verifier_env *env, int insn_idx, enum ref_state_type type, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1474:12: warning: ‘grow_stack_state’ defined but not used [-Wunused-function] 1474 | static int grow_stack_state(struct bpf_verifier_env *env, struct bpf_func_state *state, int size) | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1365:13: warning: ‘scrub_spilled_slot’ defined but not used [-Wunused-function] 1365 | static void scrub_spilled_slot(u8 *stype) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1356:13: warning: ‘mark_stack_slot_misc’ defined but not used [-Wunused-function] 1356 | static void mark_stack_slot_misc(struct bpf_verifier_env *env, u8 *stype) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1341:13: warning: ‘is_spilled_scalar_reg64’ defined but not used [-Wunused-function] 1341 | static bool is_spilled_scalar_reg64(const struct bpf_stack_state *stack) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1335:13: warning: ‘is_spilled_scalar_reg’ defined but not used [-Wunused-function] 1335 | static bool is_spilled_scalar_reg(const struct bpf_stack_state *stack) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1330:13: warning: ‘is_spilled_reg’ defined but not used [-Wunused-function] 1330 | static bool is_spilled_reg(const struct bpf_stack_state *stack) | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1307:13: warning: ‘is_stack_slot_special’ defined but not used [-Wunused-function] 1307 | static bool is_stack_slot_special(const struct bpf_stack_state *stack) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1278:12: warning: ‘is_irq_flag_reg_valid_init’ defined but not used [-Wunused-function] 1278 | static int is_irq_flag_reg_valid_init(struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1254:13: warning: ‘is_irq_flag_reg_valid_uninit’ defined but not used [-Wunused-function] 1254 | static bool is_irq_flag_reg_valid_uninit(struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1202:12: warning: ‘unmark_stack_slot_irq_flag’ defined but not used [-Wunused-function] 1202 | static int unmark_stack_slot_irq_flag(struct bpf_verifier_env *env, struct bpf_reg_state *reg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1168:12: warning: ‘mark_stack_slot_irq_flag’ defined but not used [-Wunused-function] 1168 | static int mark_stack_slot_irq_flag(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1133:12: warning: ‘is_iter_reg_valid_init’ defined but not used [-Wunused-function] 1133 | static int is_iter_reg_valid_init(struct bpf_verifier_env *env, struct bpf_reg_state *reg, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1106:13: warning: ‘is_iter_reg_valid_uninit’ defined but not used [-Wunused-function] 1106 | static bool is_iter_reg_valid_uninit(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1077:12: warning: ‘unmark_stack_slots_iter’ defined but not used [-Wunused-function] 1077 | static int unmark_stack_slots_iter(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1033:12: warning: ‘mark_stack_slots_iter’ defined but not used [-Wunused-function] 1033 | static int mark_stack_slots_iter(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:1005:13: warning: ‘is_dynptr_type_expected’ defined but not used [-Wunused-function] 1005 | static bool is_dynptr_type_expected(struct bpf_verifier_env *env, struct bpf_reg_state *reg, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:976:13: warning: ‘is_dynptr_reg_valid_init’ defined but not used [-Wunused-function] 976 | static bool is_dynptr_reg_valid_init(struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:948:13: warning: ‘is_dynptr_reg_valid_uninit’ defined but not used [-Wunused-function] 948 | static bool is_dynptr_reg_valid_uninit(struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:828:12: warning: ‘unmark_stack_slots_dynptr’ defined but not used [-Wunused-function] 828 | static int unmark_stack_slots_dynptr(struct bpf_verifier_env *env, struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:753:12: warning: ‘mark_stack_slots_dynptr’ defined but not used [-Wunused-function] 753 | static int mark_stack_slots_dynptr(struct bpf_verifier_env *env, struct bpf_reg_state *reg, | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:743:13: warning: ‘mark_dynptr_cb_reg’ defined but not used [-Wunused-function] 743 | static void mark_dynptr_cb_reg(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:700:27: warning: ‘get_dynptr_type_flag’ defined but not used [-Wunused-function] 700 | static enum bpf_type_flag get_dynptr_type_flag(enum bpf_dynptr_type type) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:604:13: warning: ‘is_atomic_load_insn’ defined but not used [-Wunused-function] 604 | static bool is_atomic_load_insn(const struct bpf_insn *insn) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:597:13: warning: ‘is_cmpxchg_insn’ defined but not used [-Wunused-function] 597 | static bool is_cmpxchg_insn(const struct bpf_insn *insn) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:582:13: warning: ‘helper_multiple_ref_obj_use’ defined but not used [-Wunused-function] 582 | static bool helper_multiple_ref_obj_use(enum bpf_func_id func_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:574:13: warning: ‘is_storage_get_function’ defined but not used [-Wunused-function] 574 | static bool is_storage_get_function(enum bpf_func_id func_id) | ^~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:569:13: warning: ‘is_may_goto_insn_at’ defined but not used [-Wunused-function] 569 | static bool is_may_goto_insn_at(struct bpf_verifier_env *env, int insn_idx) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:549:13: warning: ‘is_async_cb_sleepable’ defined but not used [-Wunused-function] 549 | static bool is_async_cb_sleepable(struct bpf_verifier_env *env, struct bpf_insn *insn) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:543:13: warning: ‘is_async_callback_calling_insn’ defined but not used [-Wunused-function] 543 | static bool is_async_callback_calling_insn(struct bpf_insn *insn) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:537:13: warning: ‘is_sync_callback_calling_insn’ defined but not used [-Wunused-function] 537 | static bool is_sync_callback_calling_insn(struct bpf_insn *insn) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:531:13: warning: ‘is_callback_calling_function’ defined but not used [-Wunused-function] 531 | static bool is_callback_calling_function(enum bpf_func_id func_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:468:13: warning: ‘type_is_rdonly_mem’ defined but not used [-Wunused-function] 468 | static bool type_is_rdonly_mem(u32 type) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:463:13: warning: ‘reg_may_point_to_spin_lock’ defined but not used [-Wunused-function] 463 | static bool reg_may_point_to_spin_lock(const struct bpf_reg_state *reg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:458:13: warning: ‘subprog_is_exc_cb’ defined but not used [-Wunused-function] 458 | static bool subprog_is_exc_cb(struct bpf_verifier_env *env, int subprog) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:449:13: warning: ‘mark_subprog_exc_cb’ defined but not used [-Wunused-function] 449 | static void mark_subprog_exc_cb(struct bpf_verifier_env *env, int subprog) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:438:20: warning: ‘subprog_name’ defined but not used [-Wunused-function] 438 | static const char *subprog_name(const struct bpf_verifier_env *env, int subprog) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:431:13: warning: ‘subprog_is_global’ defined but not used [-Wunused-function] 431 | static bool subprog_is_global(const struct bpf_verifier_env *env, int subprog) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:397:13: warning: ‘reg_not_null’ defined but not used [-Wunused-function] 397 | static bool reg_not_null(const struct bpf_reg_state *reg) | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:376:13: warning: ‘verbose_invalid_scalar’ defined but not used [-Wunused-function] 376 | static void verbose_invalid_scalar(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:263:13: warning: ‘bpf_pseudo_call’ defined but not used [-Wunused-function] 263 | static bool bpf_pseudo_call(const struct bpf_insn *insn) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:249:13: warning: ‘bpf_map_key_store’ defined but not used [-Wunused-function] 249 | static void bpf_map_key_store(struct bpf_insn_aux_data *aux, u64 state) | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:244:12: warning: ‘bpf_map_key_immediate’ defined but not used [-Wunused-function] 244 | static u64 bpf_map_key_immediate(const struct bpf_insn_aux_data *aux) | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:239:13: warning: ‘bpf_map_key_unseen’ defined but not used [-Wunused-function] 239 | static bool bpf_map_key_unseen(const struct bpf_insn_aux_data *aux) | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:224:13: warning: ‘bpf_map_ptr_store’ defined but not used [-Wunused-function] 224 | static void bpf_map_ptr_store(struct bpf_insn_aux_data *aux, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:214:13: warning: ‘bpf_map_ptr_poisoned’ defined but not used [-Wunused-function] 214 | static bool bpf_map_ptr_poisoned(const struct bpf_insn_aux_data *aux) | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:54:13: warning: ‘bpf_global_percpu_ma_set’ defined but not used [-Wunused-variable] 54 | static bool bpf_global_percpu_ma_set; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:36:46: warning: ‘bpf_verifier_ops’ defined but not used [-Wunused-const-variable=] 36 | static const struct bpf_verifier_ops * const bpf_verifier_ops[] = { | ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[5]: *** [../scripts/Makefile.build:287: kernel/bpf/verifier.o] Error 1 make[4]: *** [../scripts/Makefile.build:556: kernel/bpf] Error 2 make[3]: *** [../scripts/Makefile.build:556: kernel] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/bpf-next/wt-0/Makefile:2010: .] Error 2 make[1]: *** [/home/nipa/bpf-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2