========== build_allmodconfig_warn - FAILED Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../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/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/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 Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../kernel/bpf/verifier.c:3272:1: error: return type defaults to ‘int’ [-Wimplicit-int] 3272 | BTF_ID_LIST_END(magic_kfuncs) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:3272: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:3275:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3275 | { | ^ ../kernel/bpf/verifier.c:3286:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3286 | { | ^ ../kernel/bpf/verifier.c:3297:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3297 | { | ^ ../kernel/bpf/verifier.c:3317:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3317 | { | ^ ../kernel/bpf/verifier.c:3464:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3464 | { | ^ ../kernel/bpf/verifier.c:3476:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3476 | { | ^ ../kernel/bpf/verifier.c:3488:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3488 | { | ^ ../kernel/bpf/verifier.c:3495:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3495 | { | ^ ../kernel/bpf/verifier.c:3512:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3512 | { | ^ ../kernel/bpf/verifier.c:3526:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3526 | { | ^ ../kernel/bpf/verifier.c:3589:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3589 | { | ^ ../kernel/bpf/verifier.c:3642:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3642 | { | ^ ../kernel/bpf/verifier.c:3655:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3655 | { | ^ ../kernel/bpf/verifier.c:3676:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3676 | { | ^ ../kernel/bpf/verifier.c:3681:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3681 | { | ^ ../kernel/bpf/verifier.c:3696:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3696 | { | ^ ../kernel/bpf/verifier.c:3782:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3782 | { | ^ ../kernel/bpf/verifier.c:3806:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3806 | { | ^ ../kernel/bpf/verifier.c:3817:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3817 | { | ^ ../kernel/bpf/verifier.c:3830:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3830 | { | ^ ../kernel/bpf/verifier.c:3873:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3873 | { | ^ ../kernel/bpf/verifier.c:3881:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3881 | { | ^ ../kernel/bpf/verifier.c:3886:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3886 | { | ^ ../kernel/bpf/verifier.c:3891:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3891 | { | ^ ../kernel/bpf/verifier.c:3896:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3896 | { | ^ ../kernel/bpf/verifier.c:3901:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3901 | { | ^ ../kernel/bpf/verifier.c:3916:1: warning: empty declaration 3916 | struct linked_reg { | ^~~~~~ ../kernel/bpf/verifier.c:3925:1: warning: empty declaration 3925 | struct linked_regs { | ^~~~~~ ../kernel/bpf/verifier.c:3931:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3931 | { | ^ ../kernel/bpf/verifier.c:3946:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3946 | { | ^ ../kernel/bpf/verifier.c:3967:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3967 | { | ^ ../kernel/bpf/verifier.c:3986:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3986 | { | ^ ../kernel/bpf/verifier.c:4028:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4028 | { | ^ ../kernel/bpf/verifier.c:4049:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4049 | { | ^ ../kernel/bpf/verifier.c:4069:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4069 | { | ^ ../kernel/bpf/verifier.c:4085:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4085 | { | ^ ../kernel/bpf/verifier.c:4096:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4096 | { | ^ ../kernel/bpf/verifier.c:4101:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4101 | { | ^ ../kernel/bpf/verifier.c:4109:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4109 | { | ^ ../kernel/bpf/verifier.c:4120:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4120 | { | ^ ../kernel/bpf/verifier.c:4130:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4130 | { | ^ ../kernel/bpf/verifier.c:4140:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4140 | { | ^ ../kernel/bpf/verifier.c:4145:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4145 | { | ^ ../kernel/bpf/verifier.c:4150:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4150 | { | ^ ../kernel/bpf/verifier.c:4155:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4155 | { | ^ ../kernel/bpf/verifier.c:4160:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4160 | { | ^ ../kernel/bpf/verifier.c:4165:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4165 | { | ^ ../kernel/bpf/verifier.c:4170:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4170 | { | ^ ../kernel/bpf/verifier.c:4175:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4175 | { | ^ ../kernel/bpf/verifier.c:4180:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4180 | { | ^ ../kernel/bpf/verifier.c:4185:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4185 | { | ^ ../kernel/bpf/verifier.c:4190:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4190 | { | ^ ../kernel/bpf/verifier.c:4195:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4195 | { | ^ ../kernel/bpf/verifier.c:4200:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4200 | { | ^ ../kernel/bpf/verifier.c:4206:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4206 | { | ^ ../kernel/bpf/verifier.c:4225:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4225 | { | ^ ../kernel/bpf/verifier.c:4247:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4247 | { | ^ ../kernel/bpf/verifier.c:4290:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4290 | { | ^ ../kernel/bpf/verifier.c:4630:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4630 | { | ^ ../kernel/bpf/verifier.c:4676:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4676 | { | ^ ../kernel/bpf/verifier.c:4791:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4791 | { | ^ ../kernel/bpf/verifier.c:4973:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4973 | { | ^ ../kernel/bpf/verifier.c:4982:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4982 | { | ^ ../kernel/bpf/verifier.c:4987:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4987 | { | ^ ../kernel/bpf/verifier.c:5015:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5015 | { | ^ ../kernel/bpf/verifier.c:5021:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5021 | { | ^ ../kernel/bpf/verifier.c:5028:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5028 | { | ^ ../kernel/bpf/verifier.c:5034:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5034 | { | ^ ../kernel/bpf/verifier.c:5043:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5043 | { | ^ ../kernel/bpf/verifier.c:5067:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5067 | { | ^ ../kernel/bpf/verifier.c:5075:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5075 | { | ^ ../kernel/bpf/verifier.c:5089:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5089 | { | ^ ../kernel/bpf/verifier.c:5094:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5094 | { | ^ ../kernel/bpf/verifier.c:5101:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5101 | { | ^ ../kernel/bpf/verifier.c:5131:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5131 | { | ^ ../kernel/bpf/verifier.c:5277:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5277 | { | ^ ../kernel/bpf/verifier.c:5394:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5394 | { | ^ ../kernel/bpf/verifier.c:5434:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5434 | { | ^ ../kernel/bpf/verifier.c:5558:1: warning: empty declaration 5558 | enum bpf_access_src { | ^~~~ ../kernel/bpf/verifier.c:5563:12: error: storage class specified for parameter ‘check_stack_range_initialized’ 5563 | static int check_stack_range_initialized(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5570:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5570 | { | ^ ../kernel/bpf/verifier.c:5589:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5589 | { | ^ ../kernel/bpf/verifier.c:5622:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5622 | { | ^ ../kernel/bpf/verifier.c:5679:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5679 | { | ^ ../kernel/bpf/verifier.c:5701:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5701 | { | ^ ../kernel/bpf/verifier.c:5725:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5725 | { | ^ ../kernel/bpf/verifier.c:5761:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5761 | { | ^ ../kernel/bpf/verifier.c:5816:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5816 | { | ^ ../kernel/bpf/verifier.c:5847:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5847 | { | ^ ../kernel/bpf/verifier.c:5854:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5854 | { | ^ ../kernel/bpf/verifier.c:5928:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5928 | { | ^ ../kernel/bpf/verifier.c:5936:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5936 | { | ^ 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:5943:15: error: storage class specified for parameter ‘rcu_protected_types’ 5943 | 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:5943:1: note: in expansion of macro ‘BTF_SET_START’ 5943 | BTF_SET_START(rcu_protected_types) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5960:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5960 | { | ^ ../kernel/bpf/verifier.c:5967:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5967 | { | ^ ../kernel/bpf/verifier.c:5980:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5980 | { | ^ ../kernel/bpf/verifier.c:5988:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5988 | { | ^ ../kernel/bpf/verifier.c:6012:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6012 | { | ^ ../kernel/bpf/verifier.c:6029:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6029 | { | ^ ../kernel/bpf/verifier.c:6094:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6094 | { | ^ ../kernel/bpf/verifier.c:6162:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6162 | { | ^ ../kernel/bpf/verifier.c:6203:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6203 | { | ^ ../kernel/bpf/verifier.c:6246:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6246 | { | ^ ../kernel/bpf/verifier.c:6278:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6278 | { | ^ ../kernel/bpf/verifier.c:6291:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6291 | { | ^ ../kernel/bpf/verifier.c:6334:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6334 | { | ^ ../kernel/bpf/verifier.c:6339:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6339 | { | ^ ../kernel/bpf/verifier.c:6346:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6346 | { | ^ ../kernel/bpf/verifier.c:6353:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6353 | { | ^ ../kernel/bpf/verifier.c:6360:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6360 | { | ^ ../kernel/bpf/verifier.c:6368:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6368 | { | ^ ../kernel/bpf/verifier.c:6379:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6379 | { | ^ ../kernel/bpf/verifier.c:6394:13: error: storage class specified for parameter ‘reg2btf_ids’ 6394 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:6394:1: error: parameter ‘reg2btf_ids’ is initialized 6394 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { | ^~~~~~ ../kernel/bpf/verifier.c:6394:47: error: variable-sized object may not be initialized except with an empty initializer 6394 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { | ^ ../kernel/bpf/verifier.c:6396:10: error: array index in non-array initializer 6396 | [PTR_TO_SOCKET] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK], | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6396:10: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6396:27: error: initialization of ‘u32 **’ {aka ‘unsigned int **’} from incompatible pointer type ‘u32 *’ {aka ‘unsigned int *’} [-Wincompatible-pointer-types] 6396 | [PTR_TO_SOCKET] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK], | ^ ../kernel/bpf/verifier.c:6396:27: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6397:10: error: array index in non-array initializer 6397 | [PTR_TO_SOCK_COMMON] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON], | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6397:10: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6397:32: warning: excess elements in scalar initializer 6397 | [PTR_TO_SOCK_COMMON] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON], | ^ ../kernel/bpf/verifier.c:6397:32: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6398:10: error: array index in non-array initializer 6398 | [PTR_TO_TCP_SOCK] = &btf_sock_ids[BTF_SOCK_TYPE_TCP], | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6398:10: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6398:29: warning: excess elements in scalar initializer 6398 | [PTR_TO_TCP_SOCK] = &btf_sock_ids[BTF_SOCK_TYPE_TCP], | ^ ../kernel/bpf/verifier.c:6398:29: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6400:10: error: array index in non-array initializer 6400 | [CONST_PTR_TO_MAP] = btf_bpf_map_id, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6400:10: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6400:30: warning: excess elements in scalar initializer 6400 | [CONST_PTR_TO_MAP] = btf_bpf_map_id, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6400:30: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6404:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6404 | { | ^ ../kernel/bpf/verifier.c:6428:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6428 | { | ^ ../kernel/bpf/verifier.c:6433:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6433 | { | ^ ../kernel/bpf/verifier.c:6440:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6440 | { | ^ ../kernel/bpf/verifier.c:6476:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6476 | { | ^ ../kernel/bpf/verifier.c:6499:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6499 | { | ^ ../kernel/bpf/verifier.c:6552:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6552 | { | ^ ../kernel/bpf/verifier.c:6580:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6580 | { | ^ ../kernel/bpf/verifier.c:6598:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6598 | { | ^ ../kernel/bpf/verifier.c:6758:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6758 | { | ^ ../kernel/bpf/verifier.c:6818:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6818 | { | ^ ../kernel/bpf/verifier.c:6841:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6841 | { | ^ ../kernel/bpf/verifier.c:6859:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6859 | { | ^ ../kernel/bpf/verifier.c:6875:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6875 | { | ^ ../kernel/bpf/verifier.c:6884:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6884 | { | ^ ../kernel/bpf/verifier.c:6913:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6913 | { | ^ ../kernel/bpf/verifier.c:6932:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6932 | { | ^ ../kernel/bpf/verifier.c:6991:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6991 | { | ^ ../kernel/bpf/verifier.c:7006:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7006 | { | ^ ../kernel/bpf/verifier.c:7056:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7056 | { | ^ ../kernel/bpf/verifier.c:7077:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7077 | { | ^ In file included from : ../kernel/bpf/verifier.c:7118:19: warning: empty declaration 7118 | 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:7106:36: note: in expansion of macro ‘__PASTE’ 7106 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) | ^~~~~~~ ../kernel/bpf/verifier.c:7118:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ 7118 | BTF_TYPE_SAFE_RCU(struct task_struct) { | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7125:19: warning: empty declaration 7125 | 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:7106:36: note: in expansion of macro ‘__PASTE’ 7106 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) | ^~~~~~~ ../kernel/bpf/verifier.c:7125:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ 7125 | BTF_TYPE_SAFE_RCU(struct cgroup) { | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7130:19: warning: empty declaration 7130 | 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:7106:36: note: in expansion of macro ‘__PASTE’ 7106 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) | ^~~~~~~ ../kernel/bpf/verifier.c:7130:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ 7130 | BTF_TYPE_SAFE_RCU(struct css_set) { | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7134:19: warning: empty declaration 7134 | 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:7106:36: note: in expansion of macro ‘__PASTE’ 7106 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) | ^~~~~~~ ../kernel/bpf/verifier.c:7134:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ 7134 | BTF_TYPE_SAFE_RCU(struct cgroup_subsys_state) { | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7139:27: warning: empty declaration 7139 | 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:7107:44: note: in expansion of macro ‘__PASTE’ 7107 | #define BTF_TYPE_SAFE_RCU_OR_NULL(__type) __PASTE(__type, __safe_rcu_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7139:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU_OR_NULL’ 7139 | BTF_TYPE_SAFE_RCU_OR_NULL(struct mm_struct) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7149:27: warning: empty declaration 7149 | 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:7107:44: note: in expansion of macro ‘__PASTE’ 7107 | #define BTF_TYPE_SAFE_RCU_OR_NULL(__type) __PASTE(__type, __safe_rcu_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7149:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU_OR_NULL’ 7149 | BTF_TYPE_SAFE_RCU_OR_NULL(struct sk_buff) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7153:27: warning: empty declaration 7153 | 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:7107:44: note: in expansion of macro ‘__PASTE’ 7107 | #define BTF_TYPE_SAFE_RCU_OR_NULL(__type) __PASTE(__type, __safe_rcu_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7153:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU_OR_NULL’ 7153 | BTF_TYPE_SAFE_RCU_OR_NULL(struct request_sock) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7158:23: warning: empty declaration 7158 | 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:7108:40: note: in expansion of macro ‘__PASTE’ 7108 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) | ^~~~~~~ ../kernel/bpf/verifier.c:7158:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ 7158 | BTF_TYPE_SAFE_TRUSTED(struct bpf_iter_meta) { | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7162:23: warning: empty declaration 7162 | 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:7108:40: note: in expansion of macro ‘__PASTE’ 7108 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) | ^~~~~~~ ../kernel/bpf/verifier.c:7162:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ 7162 | BTF_TYPE_SAFE_TRUSTED(struct bpf_iter__task) { | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7167:23: warning: empty declaration 7167 | 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:7108:40: note: in expansion of macro ‘__PASTE’ 7108 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) | ^~~~~~~ ../kernel/bpf/verifier.c:7167:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ 7167 | BTF_TYPE_SAFE_TRUSTED(struct linux_binprm) { | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7171:23: warning: empty declaration 7171 | 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:7108:40: note: in expansion of macro ‘__PASTE’ 7108 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) | ^~~~~~~ ../kernel/bpf/verifier.c:7171:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ 7171 | BTF_TYPE_SAFE_TRUSTED(struct file) { | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7175:31: warning: empty declaration 7175 | 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:7109:48: note: in expansion of macro ‘__PASTE’ 7109 | #define BTF_TYPE_SAFE_TRUSTED_OR_NULL(__type) __PASTE(__type, __safe_trusted_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7175:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED_OR_NULL’ 7175 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct dentry) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7179:31: warning: empty declaration 7179 | 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:7109:48: note: in expansion of macro ‘__PASTE’ 7109 | #define BTF_TYPE_SAFE_TRUSTED_OR_NULL(__type) __PASTE(__type, __safe_trusted_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7179:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED_OR_NULL’ 7179 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct socket) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7183:31: warning: empty declaration 7183 | 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:7109:48: note: in expansion of macro ‘__PASTE’ 7109 | #define BTF_TYPE_SAFE_TRUSTED_OR_NULL(__type) __PASTE(__type, __safe_trusted_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7183:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED_OR_NULL’ 7183 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct vm_area_struct) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7191:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7191 | { | ^ ../kernel/bpf/verifier.c:7203:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7203 | { | ^ ../kernel/bpf/verifier.c:7214:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7214 | { | ^ ../kernel/bpf/verifier.c:7226:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7226 | { | ^ ../kernel/bpf/verifier.c:7240:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7240 | { | ^ ../kernel/bpf/verifier.c:7393:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7393 | { | ^ ../kernel/bpf/verifier.c:7464:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7464 | { | ^ ../kernel/bpf/verifier.c:7486:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7486 | { | ^ ../kernel/bpf/verifier.c:7544:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7544 | { | ^ ../kernel/bpf/verifier.c:7562:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7562 | { | ^ ../kernel/bpf/verifier.c:7814:12: error: storage class specified for parameter ‘save_aux_ptr_type’ 7814 | static int save_aux_ptr_type(struct bpf_verifier_env *env, enum bpf_reg_type type, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7820:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7820 | { | ^ ../kernel/bpf/verifier.c:7852:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7852 | { | ^ ../kernel/bpf/verifier.c:7880:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7880 | { | ^ ../kernel/bpf/verifier.c:7969:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7969 | { | ^ ../kernel/bpf/verifier.c:7988:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7988 | { | ^ ../kernel/bpf/verifier.c:8006:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8006 | { | ^ ../kernel/bpf/verifier.c:8054:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8054 | { | ^ ../kernel/bpf/verifier.c:8200:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8200 | { | ^ ../kernel/bpf/verifier.c:8298:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8298 | { | ^ ../kernel/bpf/verifier.c:8345:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8345 | { | ^ ../kernel/bpf/verifier.c:8373:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8373 | { | ^ ../kernel/bpf/verifier.c:8398:1: warning: empty declaration 8398 | enum { | ^~~~ ../kernel/bpf/verifier.c:8427:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8427 | { | ^ ../kernel/bpf/verifier.c:8545:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8545 | { | ^ ../kernel/bpf/verifier.c:8592:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8592 | { | ^ ../kernel/bpf/verifier.c:8616:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8616 | { | ^ ../kernel/bpf/verifier.c:8637:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8637 | { | ^ ../kernel/bpf/verifier.c:8657:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8657 | { | ^ ../kernel/bpf/verifier.c:8730:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8730 | { | ^ ../kernel/bpf/verifier.c:8809:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8809 | { | ^ ../kernel/bpf/verifier.c:8816:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8816 | { | ^ ../kernel/bpf/verifier.c:8821:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8821 | { | ^ ../kernel/bpf/verifier.c:8826:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8826 | { | ^ ../kernel/bpf/verifier.c:8831:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8831 | { | ^ ../kernel/bpf/verifier.c:8837:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8837 | { | ^ ../kernel/bpf/verifier.c:8850:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8850 | { | ^ ../kernel/bpf/verifier.c:8940:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8940 | { | ^ ../kernel/bpf/verifier.c:8961:13: error: storage class specified for parameter ‘reset_idmap_scratch’ 8961 | static void reset_idmap_scratch(struct bpf_verifier_env *env); | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8962:13: error: storage class specified for parameter ‘regs_exact’ 8962 | static bool regs_exact(const struct bpf_reg_state *rold, | ^~~~~~~~~~ ../kernel/bpf/verifier.c:8969:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8969 | { | ^ ../kernel/bpf/verifier.c:8982:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8982 | { | ^ ../kernel/bpf/verifier.c:9013:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9013 | { | ^ ../kernel/bpf/verifier.c:9100:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9100 | { | ^ ../kernel/bpf/verifier.c:9154:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9154 | { | ^ ../kernel/bpf/verifier.c:9160:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9160 | { | ^ ../kernel/bpf/verifier.c:9166:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9166 | { | ^ ../kernel/bpf/verifier.c:9171:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9171 | { | ^ ../kernel/bpf/verifier.c:9178:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9178 | { | ^ ../kernel/bpf/verifier.c:9205:1: warning: empty declaration 9205 | struct bpf_reg_types { | ^~~~~~ ../kernel/bpf/verifier.c:9210:35: error: storage class specified for parameter ‘sock_types’ 9210 | static const struct bpf_reg_types sock_types = { | ^~~~~~~~~~ ../kernel/bpf/verifier.c:9210:21: error: parameter ‘sock_types’ is initialized 9210 | static const struct bpf_reg_types sock_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9220:35: error: storage class specified for parameter ‘btf_id_sock_common_types’ 9220 | static const struct bpf_reg_types btf_id_sock_common_types = { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9220:21: error: parameter ‘btf_id_sock_common_types’ is initialized 9220 | static const struct bpf_reg_types btf_id_sock_common_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9233:35: error: storage class specified for parameter ‘mem_types’ 9233 | static const struct bpf_reg_types mem_types = { | ^~~~~~~~~ ../kernel/bpf/verifier.c:9233:21: error: parameter ‘mem_types’ is initialized 9233 | static const struct bpf_reg_types mem_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9247:35: error: storage class specified for parameter ‘spin_lock_types’ 9247 | static const struct bpf_reg_types spin_lock_types = { | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9247:21: error: parameter ‘spin_lock_types’ is initialized 9247 | static const struct bpf_reg_types spin_lock_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9254:35: error: storage class specified for parameter ‘fullsock_types’ 9254 | static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } }; | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9254:21: error: parameter ‘fullsock_types’ is initialized 9254 | static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9255:35: error: storage class specified for parameter ‘scalar_types’ 9255 | static const struct bpf_reg_types scalar_types = { .types = { SCALAR_VALUE } }; | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:9255:21: error: parameter ‘scalar_types’ is initialized 9255 | static const struct bpf_reg_types scalar_types = { .types = { SCALAR_VALUE } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9256:35: error: storage class specified for parameter ‘context_types’ 9256 | static const struct bpf_reg_types context_types = { .types = { PTR_TO_CTX } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9256:21: error: parameter ‘context_types’ is initialized 9256 | static const struct bpf_reg_types context_types = { .types = { PTR_TO_CTX } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9257:35: error: storage class specified for parameter ‘ringbuf_mem_types’ 9257 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } }; | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9257:21: error: parameter ‘ringbuf_mem_types’ is initialized 9257 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9258:35: error: storage class specified for parameter ‘const_map_ptr_types’ 9258 | static const struct bpf_reg_types const_map_ptr_types = { .types = { CONST_PTR_TO_MAP } }; | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9258:21: error: parameter ‘const_map_ptr_types’ is initialized 9258 | static const struct bpf_reg_types const_map_ptr_types = { .types = { CONST_PTR_TO_MAP } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9259:35: error: storage class specified for parameter ‘btf_ptr_types’ 9259 | static const struct bpf_reg_types btf_ptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9259:21: error: parameter ‘btf_ptr_types’ is initialized 9259 | static const struct bpf_reg_types btf_ptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9266:35: error: storage class specified for parameter ‘percpu_btf_ptr_types’ 9266 | static const struct bpf_reg_types percpu_btf_ptr_types = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9266:21: error: parameter ‘percpu_btf_ptr_types’ is initialized 9266 | static const struct bpf_reg_types percpu_btf_ptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9273:35: error: storage class specified for parameter ‘func_ptr_types’ 9273 | static const struct bpf_reg_types func_ptr_types = { .types = { PTR_TO_FUNC } }; | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9273:21: error: parameter ‘func_ptr_types’ is initialized 9273 | static const struct bpf_reg_types func_ptr_types = { .types = { PTR_TO_FUNC } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9274:35: error: storage class specified for parameter ‘stack_ptr_types’ 9274 | static const struct bpf_reg_types stack_ptr_types = { .types = { PTR_TO_STACK } }; | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9274:21: error: parameter ‘stack_ptr_types’ is initialized 9274 | static const struct bpf_reg_types stack_ptr_types = { .types = { PTR_TO_STACK } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9275:35: error: storage class specified for parameter ‘const_str_ptr_types’ 9275 | static const struct bpf_reg_types const_str_ptr_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9275:21: error: parameter ‘const_str_ptr_types’ is initialized 9275 | static const struct bpf_reg_types const_str_ptr_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9276:35: error: storage class specified for parameter ‘timer_types’ 9276 | static const struct bpf_reg_types timer_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:9276:21: error: parameter ‘timer_types’ is initialized 9276 | static const struct bpf_reg_types timer_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9277:35: error: storage class specified for parameter ‘kptr_xchg_dest_types’ 9277 | static const struct bpf_reg_types kptr_xchg_dest_types = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9277:21: error: parameter ‘kptr_xchg_dest_types’ is initialized 9277 | static const struct bpf_reg_types kptr_xchg_dest_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9283:35: error: storage class specified for parameter ‘dynptr_types’ 9283 | static const struct bpf_reg_types dynptr_types = { | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:9283:21: error: parameter ‘dynptr_types’ is initialized 9283 | static const struct bpf_reg_types dynptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9290:36: error: storage class specified for parameter ‘compatible_reg_types’ 9290 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9290:21: error: parameter ‘compatible_reg_types’ is initialized 9290 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9290:79: error: variable-sized object may not be initialized except with an empty initializer 9290 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { | ^ ../kernel/bpf/verifier.c:9291:10: error: array index in non-array initializer 9291 | [ARG_PTR_TO_MAP_KEY] = &mem_types, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9291:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9291:43: error: initialization of ‘const struct bpf_reg_types **’ from incompatible pointer type ‘const struct bpf_reg_types *’ [-Wincompatible-pointer-types] 9291 | [ARG_PTR_TO_MAP_KEY] = &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_PTR_TO_MAP_VALUE] = &mem_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_PTR_TO_MAP_VALUE] = &mem_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] = &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] = &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_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_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_ALLOC_SIZE_OR_ZERO] = &scalar_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_ALLOC_SIZE_OR_ZERO] = &scalar_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_CONST_MAP_PTR] = &const_map_ptr_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_CONST_MAP_PTR] = &const_map_ptr_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_CTX] = &context_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_CTX] = &context_types, | ^ ../kernel/bpf/verifier.c:9297:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9298:10: error: array index in non-array initializer 9298 | [ARG_PTR_TO_SOCK_COMMON] = &sock_types, | ^~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9298:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9298:43: warning: excess elements in scalar initializer 9298 | [ARG_PTR_TO_SOCK_COMMON] = &sock_types, | ^ ../kernel/bpf/verifier.c:9298:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9300:10: error: array index in non-array initializer 9300 | [ARG_PTR_TO_BTF_ID_SOCK_COMMON] = &btf_id_sock_common_types, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9300:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9300:43: warning: excess elements in scalar initializer 9300 | [ARG_PTR_TO_BTF_ID_SOCK_COMMON] = &btf_id_sock_common_types, | ^ ../kernel/bpf/verifier.c:9300: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_SOCKET] = &fullsock_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_SOCKET] = &fullsock_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_BTF_ID] = &btf_ptr_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_BTF_ID] = &btf_ptr_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_SPIN_LOCK] = &spin_lock_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_SPIN_LOCK] = &spin_lock_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_MEM] = &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_MEM] = &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_RINGBUF_MEM] = &ringbuf_mem_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_RINGBUF_MEM] = &ringbuf_mem_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_PERCPU_BTF_ID] = &percpu_btf_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_PERCPU_BTF_ID] = &percpu_btf_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_FUNC] = &func_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_FUNC] = &func_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_STACK] = &stack_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_STACK] = &stack_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_CONST_STR] = &const_str_ptr_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_CONST_STR] = &const_str_ptr_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_PTR_TO_TIMER] = &timer_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_PTR_TO_TIMER] = &timer_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_KPTR_XCHG_DEST] = &kptr_xchg_dest_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_KPTR_XCHG_DEST] = &kptr_xchg_dest_types, | ^ ../kernel/bpf/verifier.c:9312:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9313:10: error: array index in non-array initializer 9313 | [ARG_PTR_TO_DYNPTR] = &dynptr_types, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9313:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9313:43: warning: excess elements in scalar initializer 9313 | [ARG_PTR_TO_DYNPTR] = &dynptr_types, | ^ ../kernel/bpf/verifier.c:9313:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9320:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9320 | { | ^ ../kernel/bpf/verifier.c:9465:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9465 | { | ^ ../kernel/bpf/verifier.c:9483:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9483 | { | ^ ../kernel/bpf/verifier.c:9554:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9554 | { | ^ ../kernel/bpf/verifier.c:9574:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9574 | { | ^ ../kernel/bpf/verifier.c:9587:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9587 | { | ^ ../kernel/bpf/verifier.c:9601:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9601 | { | ^ ../kernel/bpf/verifier.c:9619:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9619 | { | ^ ../kernel/bpf/verifier.c:9670:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9670 | { | ^ ../kernel/bpf/verifier.c:9726:13: error: storage class specified for parameter ‘can_elide_value_nullness’ 9726 | static bool can_elide_value_nullness(enum bpf_map_type type); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9732:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9732 | { | ^ ../kernel/bpf/verifier.c:9999:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9999 | { | ^ ../kernel/bpf/verifier.c:10037:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10037 | { | ^ ../kernel/bpf/verifier.c:10044:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10044 | { | ^ ../kernel/bpf/verifier.c:10294:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10294 | { | ^ ../kernel/bpf/verifier.c:10316:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10316 | { | ^ ../kernel/bpf/verifier.c:10331:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10331 | { | ^ ../kernel/bpf/verifier.c:10349:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10349 | { | ^ ../kernel/bpf/verifier.c:10368:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10368 | { | ^ ../kernel/bpf/verifier.c:10381:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10381 | { | ^ ../kernel/bpf/verifier.c:10391:1: warning: empty declaration 10391 | enum { | ^~~~ ../kernel/bpf/verifier.c:10397:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10397 | { | ^ ../kernel/bpf/verifier.c:10418:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10418 | { | ^ ../kernel/bpf/verifier.c:10438:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10438 | { | ^ ../kernel/bpf/verifier.c:10457:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10457 | { | ^ ../kernel/bpf/verifier.c:10469:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10469 | { | ^ ../kernel/bpf/verifier.c:10479:15: error: storage class specified for parameter ‘set_callee_state_fn’ 10479 | typedef int (*set_callee_state_fn)(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10484:12: error: storage class specified for parameter ‘set_callee_state’ 10484 | static int set_callee_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10489:29: error: expected declaration specifiers or ‘...’ before ‘set_callee_state_fn’ 10489 | set_callee_state_fn set_callee_state_cb, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10539:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10539 | { | ^ ../kernel/bpf/verifier.c:10639:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10639 | { | ^ ../kernel/bpf/verifier.c:10667:31: error: expected declaration specifiers or ‘...’ before ‘set_callee_state_fn’ 10667 | set_callee_state_fn set_callee_state_cb) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10736:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10736 | { | ^ ../kernel/bpf/verifier.c:10818:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10818 | { | ^ ../kernel/bpf/verifier.c:10845:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10845 | { | ^ ../kernel/bpf/verifier.c:10860:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10860 | { | ^ ../kernel/bpf/verifier.c:10886:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10886 | { | ^ ../kernel/bpf/verifier.c:10908:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10908 | { | ^ ../kernel/bpf/verifier.c:10938:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10938 | { | ^ ../kernel/bpf/verifier.c:10966:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10966 | { | ^ ../kernel/bpf/verifier.c:10989:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10989 | { | ^ ../kernel/bpf/verifier.c:11021:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11021 | { | ^ ../kernel/bpf/verifier.c:11047:13: error: storage class specified for parameter ‘is_rbtree_lock_required_kfunc’ 11047 | static bool is_rbtree_lock_required_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11054:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11054 | { | ^ ../kernel/bpf/verifier.c:11074:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11074 | { | ^ ../kernel/bpf/verifier.c:11082:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11082 | { | ^ ../kernel/bpf/verifier.c:11175:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11175 | { | ^ ../kernel/bpf/verifier.c:11212:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11212 | { | ^ ../kernel/bpf/verifier.c:11258:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11258 | { | ^ ../kernel/bpf/verifier.c:11293:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11293 | { | ^ ../kernel/bpf/verifier.c:11320:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11320 | { | ^ ../kernel/bpf/verifier.c:11354:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11354 | { | ^ ../kernel/bpf/verifier.c:11391:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11391 | { | ^ ../kernel/bpf/verifier.c:11412:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11412 | { | ^ ../kernel/bpf/verifier.c:11417:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11417 | { | ^ ../kernel/bpf/verifier.c:11429:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11429 | { | ^ ../kernel/bpf/verifier.c:11451:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11451 | { | ^ ../kernel/bpf/verifier.c:11463:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11463 | { | ^ ../kernel/bpf/verifier.c:11476:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11476 | { | ^ ../kernel/bpf/verifier.c:11485:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11485 | { | ^ ../kernel/bpf/verifier.c:12005:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12005 | { | ^ ../kernel/bpf/verifier.c:12020:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12020 | { | ^ ../kernel/bpf/verifier.c:12025:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12025 | { | ^ ../kernel/bpf/verifier.c:12030:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12030 | { | ^ ../kernel/bpf/verifier.c:12035:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12035 | { | ^ ../kernel/bpf/verifier.c:12040:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12040 | { | ^ ../kernel/bpf/verifier.c:12045:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12045 | { | ^ ../kernel/bpf/verifier.c:12050:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12050 | { | ^ ../kernel/bpf/verifier.c:12055:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12055 | { | ^ ../kernel/bpf/verifier.c:12062:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12062 | { | ^ ../kernel/bpf/verifier.c:12075:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12075 | { | ^ ../kernel/bpf/verifier.c:12086:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12086 | { | ^ ../kernel/bpf/verifier.c:12091:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12091 | { | ^ ../kernel/bpf/verifier.c:12096:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12096 | { | ^ ../kernel/bpf/verifier.c:12101:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12101 | { | ^ ../kernel/bpf/verifier.c:12106:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12106 | { | ^ ../kernel/bpf/verifier.c:12111:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12111 | { | ^ ../kernel/bpf/verifier.c:12116:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12116 | { | ^ ../kernel/bpf/verifier.c:12121:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12121 | { | ^ ../kernel/bpf/verifier.c:12126:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12126 | { | ^ ../kernel/bpf/verifier.c:12131:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12131 | { | ^ ../kernel/bpf/verifier.c:12136:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12136 | { | ^ ../kernel/bpf/verifier.c:12140:13: error: storage class specified for parameter ‘is_kfunc_arg_prog_aux’ 12140 | static bool is_kfunc_arg_prog_aux(const struct btf *btf, const struct btf_param *arg); | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12143:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12143 | { | ^ ../kernel/bpf/verifier.c:12151:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12151 | { | ^ ../kernel/bpf/verifier.c:12167:1: warning: empty declaration 12167 | enum { | ^~~~ ../kernel/bpf/verifier.c:12179:13: error: storage class specified for parameter ‘kf_arg_btf_ids’ 12179 | 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:12192:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12192 | { | ^ ../kernel/bpf/verifier.c:12208:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12208 | { | ^ ../kernel/bpf/verifier.c:12213:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12213 | { | ^ ../kernel/bpf/verifier.c:12218:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12218 | { | ^ ../kernel/bpf/verifier.c:12223:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12223 | { | ^ ../kernel/bpf/verifier.c:12228:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12228 | { | ^ ../kernel/bpf/verifier.c:12233:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12233 | { | ^ ../kernel/bpf/verifier.c:12238:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12238 | { | ^ ../kernel/bpf/verifier.c:12243:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12243 | { | ^ ../kernel/bpf/verifier.c:12248:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12248 | { | ^ ../kernel/bpf/verifier.c:12253:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12253 | { | ^ ../kernel/bpf/verifier.c:12259:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12259 | { | ^ ../kernel/bpf/verifier.c:12270:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12270 | { | ^ ../kernel/bpf/verifier.c:12278:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12278 | { | ^ ../kernel/bpf/verifier.c:12314:1: warning: empty declaration 12314 | enum kfunc_ptr_arg_type { | ^~~~ ../kernel/bpf/verifier.c:12337:1: warning: empty declaration 12337 | enum special_kfunc_type { | ^~~~ ../kernel/bpf/verifier.c:12392:13: error: storage class specified for parameter ‘special_kfunc_list’ 12392 | 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:12467:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12467 | { | ^ ../kernel/bpf/verifier.c:12473:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12473 | { | ^ ../kernel/bpf/verifier.c:12483:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12483 | { | ^ ../kernel/bpf/verifier.c:12488:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12488 | { | ^ ../kernel/bpf/verifier.c:12493:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12493 | { | ^ ../kernel/bpf/verifier.c:12498:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12498 | { | ^ ../kernel/bpf/verifier.c:12503:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12503 | { | ^ ../kernel/bpf/verifier.c:12513:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12513 | { | ^ ../kernel/bpf/verifier.c:12612:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12612 | { | ^ ../kernel/bpf/verifier.c:12680:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12680 | { | ^ ../kernel/bpf/verifier.c:12733:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12733 | { | ^ ../kernel/bpf/verifier.c:12754:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12754 | { | ^ ../kernel/bpf/verifier.c:12830:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12830 | { | ^ ../kernel/bpf/verifier.c:12859:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12859 | { | ^ ../kernel/bpf/verifier.c:12869:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12869 | { | ^ ../kernel/bpf/verifier.c:12879:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12879 | { | ^ ../kernel/bpf/verifier.c:12886:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12886 | { | ^ ../kernel/bpf/verifier.c:12892:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12892 | { | ^ ../kernel/bpf/verifier.c:12900:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12900 | { | ^ ../kernel/bpf/verifier.c:12906:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12906 | { | ^ ../kernel/bpf/verifier.c:12911:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12911 | { | ^ ../kernel/bpf/verifier.c:12917:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12917 | { | ^ ../kernel/bpf/verifier.c:12923:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12923 | { | ^ ../kernel/bpf/verifier.c:12929:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12929 | { | ^ ../kernel/bpf/verifier.c:12935:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12935 | { | ^ ../kernel/bpf/verifier.c:12942:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12942 | { | ^ ../kernel/bpf/verifier.c:12967:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12967 | { | ^ ../kernel/bpf/verifier.c:12999:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12999 | { | ^ ../kernel/bpf/verifier.c:13047:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13047 | { | ^ ../kernel/bpf/verifier.c:13055:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13055 | { | ^ ../kernel/bpf/verifier.c:13067:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13067 | { | ^ ../kernel/bpf/verifier.c:13128:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13128 | { | ^ ../kernel/bpf/verifier.c:13137:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13137 | { | ^ ../kernel/bpf/verifier.c:13150:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13150 | { | ^ ../kernel/bpf/verifier.c:13167:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13167 | { | ^ ../kernel/bpf/verifier.c:13710:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13710 | { | ^ ../kernel/bpf/verifier.c:13775:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13775 | { | ^ ../kernel/bpf/verifier.c:13947:12: error: storage class specified for parameter ‘check_return_code’ 13947 | static int check_return_code(struct bpf_verifier_env *env, int regno, const char *reg_name); | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:13951:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13951 | { | ^ ../kernel/bpf/verifier.c:14341:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14341 | { | ^ ../kernel/bpf/verifier.c:14373:1: warning: empty declaration 14373 | enum { | ^~~~ ../kernel/bpf/verifier.c:14383:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14383 | { | ^ ../kernel/bpf/verifier.c:14414:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14414 | { | ^ ../kernel/bpf/verifier.c:14422:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14422 | { | ^ ../kernel/bpf/verifier.c:14439:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14439 | { | ^ ../kernel/bpf/verifier.c:14449:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14449 | { | ^ ../kernel/bpf/verifier.c:14453:1: warning: empty declaration 14453 | struct bpf_sanitize_info { | ^~~~~~ ../kernel/bpf/verifier.c:14461:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14461 | { | ^ ../kernel/bpf/verifier.c:14485:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14485 | { | ^ ../kernel/bpf/verifier.c:14575:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14575 | { | ^ ../kernel/bpf/verifier.c:14591:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14591 | { | ^ ../kernel/bpf/verifier.c:14640:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14640 | { | ^ ../kernel/bpf/verifier.c:14662:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14662 | { | ^ ../kernel/bpf/verifier.c:14700:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14700 | { | ^ ../kernel/bpf/verifier.c:14941:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14941 | { | ^ ../kernel/bpf/verifier.c:14972:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14972 | { | ^ ../kernel/bpf/verifier.c:15003:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15003 | { | ^ ../kernel/bpf/verifier.c:15035:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15035 | { | ^ ../kernel/bpf/verifier.c:15067:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15067 | { | ^ ../kernel/bpf/verifier.c:15095:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15095 | { | ^ ../kernel/bpf/verifier.c:15123:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15123 | { | ^ ../kernel/bpf/verifier.c:15154:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15154 | { | ^ ../kernel/bpf/verifier.c:15186:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15186 | { | ^ ../kernel/bpf/verifier.c:15217:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15217 | { | ^ ../kernel/bpf/verifier.c:15249:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15249 | { | ^ ../kernel/bpf/verifier.c:15277:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15277 | { | ^ ../kernel/bpf/verifier.c:15307:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15307 | { | ^ ../kernel/bpf/verifier.c:15325:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15325 | { | ^ ../kernel/bpf/verifier.c:15343:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15343 | { | ^ ../kernel/bpf/verifier.c:15373:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15373 | { | ^ ../kernel/bpf/verifier.c:15388:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15388 | { | ^ ../kernel/bpf/verifier.c:15420:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15420 | { | ^ ../kernel/bpf/verifier.c:15454:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15454 | { | ^ ../kernel/bpf/verifier.c:15477:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15477 | { | ^ ../kernel/bpf/verifier.c:15504:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15504 | { | ^ ../kernel/bpf/verifier.c:15551:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15551 | { | ^ ../kernel/bpf/verifier.c:15653:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15653 | { | ^ ../kernel/bpf/verifier.c:15787:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15787 | { | ^ ../kernel/bpf/verifier.c:16033:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16033 | { | ^ ../kernel/bpf/verifier.c:16113:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16113 | { | ^ ../kernel/bpf/verifier.c:16244:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16244 | { | ^ ../kernel/bpf/verifier.c:16267:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16267 | { | ^ ../kernel/bpf/verifier.c:16313:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16313 | { | ^ ../kernel/bpf/verifier.c:16357:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16357 | { | ^ ../kernel/bpf/verifier.c:16381:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16381 | { | ^ ../kernel/bpf/verifier.c:16561:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16561 | { | ^ ../kernel/bpf/verifier.c:16591:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16591 | { | ^ ../kernel/bpf/verifier.c:16640:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16640 | { | ^ ../kernel/bpf/verifier.c:16663:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16663 | { | ^ ../kernel/bpf/verifier.c:16765:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16765 | { | ^ ../kernel/bpf/verifier.c:16787:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16787 | { | ^ ../kernel/bpf/verifier.c:16813:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16813 | { | ^ ../kernel/bpf/verifier.c:16858:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16858 | { | ^ ../kernel/bpf/verifier.c:17113:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17113 | { | ^ ../kernel/bpf/verifier.c:17209:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17209 | { | ^ ../kernel/bpf/verifier.c:17236:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17236 | { | ^ ../kernel/bpf/verifier.c:17306:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17306 | { | ^ ../kernel/bpf/verifier.c:17505:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17505 | { | ^ ../kernel/bpf/verifier.c:17513:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17513 | { | ^ ../kernel/bpf/verifier.c:17527:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17527 | { | ^ ../kernel/bpf/verifier.c:17569:1: warning: empty declaration 17569 | enum { | ^~~~ ../kernel/bpf/verifier.c:17577:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17577 | { | ^ ../kernel/bpf/verifier.c:17582:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17582 | { | ^ ../kernel/bpf/verifier.c:17587:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17587 | { | ^ ../kernel/bpf/verifier.c:17592:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17592 | { | ^ ../kernel/bpf/verifier.c:17597:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17597 | { | ^ ../kernel/bpf/verifier.c:17602:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17602 | { | ^ ../kernel/bpf/verifier.c:17606:1: warning: empty declaration 17606 | enum { | ^~~~ ../kernel/bpf/verifier.c:17617:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17617 | { | ^ ../kernel/bpf/verifier.c:17667:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17667 | { | ^ ../kernel/bpf/verifier.c:17697:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17697 | { | ^ ../kernel/bpf/verifier.c:17708:1: warning: empty declaration 17708 | struct call_summary { | ^~~~~~ ../kernel/bpf/verifier.c:17719:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17719 | { | ^ ../kernel/bpf/verifier.c:17835:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17835 | { | ^ ../kernel/bpf/verifier.c:17920:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17920 | { | ^ ../kernel/bpf/verifier.c:17948:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17948 | { | ^ ../kernel/bpf/verifier.c:17969:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17969 | { | ^ ../kernel/bpf/verifier.c:18091:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18091 | { | ^ ../kernel/bpf/verifier.c:18182:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18182 | { | ^ ../kernel/bpf/verifier.c:18228:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18228 | { | ^ ../kernel/bpf/verifier.c:18251:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18251 | { | ^ ../kernel/bpf/verifier.c:18353:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18353 | { | ^ ../kernel/bpf/verifier.c:18426:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18426 | { | ^ ../kernel/bpf/verifier.c:18444:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18444 | { | ^ ../kernel/bpf/verifier.c:18572:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18572 | { | ^ ../kernel/bpf/verifier.c:18641:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18641 | { | ^ ../kernel/bpf/verifier.c:18669:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18669 | { | ^ ../kernel/bpf/verifier.c:18696:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18696 | { | ^ ../kernel/bpf/verifier.c:18718:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18718 | { | ^ ../kernel/bpf/verifier.c:18751:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18751 | { | ^ ../kernel/bpf/verifier.c:18761:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18761 | { | ^ ../kernel/bpf/verifier.c:18785:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18785 | { | ^ ../kernel/bpf/verifier.c:18828:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18828 | { | ^ ../kernel/bpf/verifier.c:18852:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18852 | { | ^ ../kernel/bpf/verifier.c:18858:1: warning: empty declaration 18858 | enum exact_level { | ^~~~ ../kernel/bpf/verifier.c:18868:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18868 | { | ^ ../kernel/bpf/verifier.c:18990:29: error: storage class specified for parameter ‘unbound_reg’ 18990 | static struct bpf_reg_state unbound_reg; | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:18993:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18993 | { | ^ ../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:18997:1: note: in expansion of macro ‘late_initcall’ 18997 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18997:1: error: parameter ‘__UNIQUE_ID___addressable_unbound_reg_init2523’ is initialized ../kernel/bpf/verifier.c:18997: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:18997:1: note: in expansion of macro ‘late_initcall’ 18997 | 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:18997:15: error: ‘unbound_reg_init’ undeclared (first use in this function); did you mean ‘unbound_reg’? 18997 | 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:18997:1: note: in expansion of macro ‘late_initcall’ 18997 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18997:15: note: each undeclared identifier is reported only once for each function it appears in 18997 | 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:18997:1: note: in expansion of macro ‘late_initcall’ 18997 | 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:18997:1: note: in expansion of macro ‘late_initcall’ 18997 | 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:18997:1: note: in expansion of macro ‘late_initcall’ 18997 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18997:32: error: expected declaration specifiers before ‘;’ token 18997 | late_initcall(unbound_reg_init); | ^ ../kernel/bpf/verifier.c:19001:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19001 | { | ^ ../kernel/bpf/verifier.c:19016:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19016 | { | ^ ../kernel/bpf/verifier.c:19029:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19029 | { | ^ ../kernel/bpf/verifier.c:19153:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19153 | { | ^ ../kernel/bpf/verifier.c:19226:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19226 | { | ^ ../kernel/bpf/verifier.c:19246:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19246 | { | ^ ../kernel/bpf/verifier.c:19255:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19255 | { | ^ ../kernel/bpf/verifier.c:19296:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19296 | { | ^ ../kernel/bpf/verifier.c:19357:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19357 | { | ^ ../kernel/bpf/verifier.c:19387:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19387 | { | ^ ../kernel/bpf/verifier.c:19404:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19404 | { | ^ ../kernel/bpf/verifier.c:19467:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19467 | { | ^ ../kernel/bpf/verifier.c:19491:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19491 | { | ^ ../kernel/bpf/verifier.c:19847:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19847 | { | ^ ../kernel/bpf/verifier.c:19875:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19875 | { | ^ ../kernel/bpf/verifier.c:19881:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19881 | { | ^ ../kernel/bpf/verifier.c:19892:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19892 | { | ^ ../kernel/bpf/verifier.c:19898:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19898 | { | ^ ../kernel/bpf/verifier.c:19944:1: warning: empty declaration 19944 | enum { | ^~~~ ../kernel/bpf/verifier.c:19951:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19951 | { | ^ ../kernel/bpf/verifier.c:19995:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19995 | { | ^ ../kernel/bpf/verifier.c:20154:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20154 | { | ^ ../kernel/bpf/verifier.c:20327:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20327 | { | ^ ../kernel/bpf/verifier.c:20363:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20363 | { | ^ ../kernel/bpf/verifier.c:20401:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20401 | { | ^ ../kernel/bpf/verifier.c:20483:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20483 | { | ^ ../kernel/bpf/verifier.c:20516:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20516 | { | ^ ../kernel/bpf/verifier.c:20530:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20530 | { | ^ ../kernel/bpf/verifier.c:20539:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20539 | { | ^ ../kernel/bpf/verifier.c:20653:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20653 | { | ^ ../kernel/bpf/verifier.c:20691:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20691 | { | ^ ../kernel/bpf/verifier.c:20712:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20712 | { | ^ ../kernel/bpf/verifier.c:20855:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20855 | { | ^ ../kernel/bpf/verifier.c:20862:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20862 | { | ^ ../kernel/bpf/verifier.c:20868:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20868 | { | ^ ../kernel/bpf/verifier.c:20888:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20888 | { | ^ ../kernel/bpf/verifier.c:20916:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20916 | { | ^ ../kernel/bpf/verifier.c:20930:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20930 | { | ^ ../kernel/bpf/verifier.c:20945:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20945 | { | ^ ../kernel/bpf/verifier.c:20979:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20979 | { | ^ ../kernel/bpf/verifier.c:21014:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21014 | { | ^ ../kernel/bpf/verifier.c:21070:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21070 | { | ^ ../kernel/bpf/verifier.c:21133:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21133 | { | ^ ../kernel/bpf/verifier.c:21171:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21171 | { | ^ ../kernel/bpf/verifier.c:21187:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21187 | { | ^ ../kernel/bpf/verifier.c:21201:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21201 | { | ^ ../kernel/bpf/verifier.c:21227:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21227 | { | ^ ../kernel/bpf/verifier.c:21250:30: error: storage class specified for parameter ‘NOP’ 21250 | static const struct bpf_insn NOP = BPF_JMP_IMM(BPF_JA, 0, 0, 0); | ^~~ ../kernel/bpf/verifier.c:21250:21: error: parameter ‘NOP’ is initialized 21250 | static const struct bpf_insn NOP = BPF_JMP_IMM(BPF_JA, 0, 0, 0); | ^~~~~~~~ ../kernel/bpf/verifier.c:21251:30: error: storage class specified for parameter ‘MAY_GOTO_0’ 21251 | static const struct bpf_insn MAY_GOTO_0 = BPF_RAW_INSN(BPF_JMP | BPF_JCOND, 0, 0, 0, 0); | ^~~~~~~~~~ ../kernel/bpf/verifier.c:21251:21: error: parameter ‘MAY_GOTO_0’ is initialized 21251 | static const struct bpf_insn MAY_GOTO_0 = BPF_RAW_INSN(BPF_JMP | BPF_JCOND, 0, 0, 0, 0); | ^~~~~~~~ ../kernel/bpf/verifier.c:21254:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21254 | { | ^ ../kernel/bpf/verifier.c:21280:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21280 | { | ^ ../kernel/bpf/verifier.c:21385:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21385 | { | ^ ../kernel/bpf/verifier.c:21685:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21685 | { | ^ ../kernel/bpf/verifier.c:21951:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21951 | { | ^ ../kernel/bpf/verifier.c:22003:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22003 | { | ^ ../kernel/bpf/verifier.c:22064:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22064 | { | ^ ../kernel/bpf/verifier.c:22077:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22077 | { | ^ ../kernel/bpf/verifier.c:22189:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22189 | { | ^ ../kernel/bpf/verifier.c:22218:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22218 | { | ^ ../kernel/bpf/verifier.c:23141:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23141 | { | ^ ../kernel/bpf/verifier.c:23213:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23213 | { | ^ ../kernel/bpf/verifier.c:23229:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23229 | { | ^ ../kernel/bpf/verifier.c:23277:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23277 | { | ^ ../kernel/bpf/verifier.c:23308:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23308 | { | ^ ../kernel/bpf/verifier.c:23351:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23351 | { | ^ ../kernel/bpf/verifier.c:23500:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23500 | { | ^ ../kernel/bpf/verifier.c:23550:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23550 | { | ^ ../kernel/bpf/verifier.c:23562:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23562 | { | ^ ../kernel/bpf/verifier.c:23587:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23587 | { | ^ ../kernel/bpf/verifier.c:23595:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23595 | { | ^ ../kernel/bpf/verifier.c:23706:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23706 | { | ^ ../kernel/bpf/verifier.c:23717:15: error: storage class specified for parameter ‘btf_non_sleepable_error_inject’ 23717 | 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:23717:1: note: in expansion of macro ‘BTF_SET_START’ 23717 | BTF_SET_START(btf_non_sleepable_error_inject) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23731:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23731 | { | ^ ../kernel/bpf/verifier.c:23740:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23740 | { | ^ ../kernel/bpf/verifier.c:24066:15: error: storage class specified for parameter ‘btf_id_deny’ 24066 | 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:24066:1: note: in expansion of macro ‘BTF_SET_START’ 24066 | BTF_SET_START(btf_id_deny) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24090:15: error: storage class specified for parameter ‘noreturn_deny’ 24090 | 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:24090:1: note: in expansion of macro ‘BTF_SET_START’ 24090 | BTF_SET_START(noreturn_deny) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24114:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24114 | { | ^ ../kernel/bpf/verifier.c:24132:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24132 | { | ^ ../kernel/bpf/verifier.c:24222:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24222 | { | ^ ../kernel/bpf/verifier.c:24238:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24238 | { | ^ ../kernel/bpf/verifier.c:24265:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24265 | { | ^ ../kernel/bpf/verifier.c:24300:1: warning: empty declaration 24300 | struct insn_live_regs { | ^~~~~~ ../kernel/bpf/verifier.c:24314:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24314 | { | ^ ../kernel/bpf/verifier.c:24449:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24449 | { | ^ ../kernel/bpf/verifier.c:24543:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24543 | { | ^ ../kernel/bpf/verifier.c:24716:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24716 | { | ^ ../kernel/bpf/verifier.c:3272:1: error: type of ‘magic_kfuncs’ defaults to ‘int’ [-Wimplicit-int] 3272 | BTF_ID_LIST_END(magic_kfuncs) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24090:15: error: declaration for parameter ‘noreturn_deny’ but no such parameter 24090 | 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:24066:15: error: declaration for parameter ‘btf_id_deny’ but no such parameter 24066 | 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:23717:15: error: declaration for parameter ‘btf_non_sleepable_error_inject’ but no such parameter 23717 | 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:21251:30: error: declaration for parameter ‘MAY_GOTO_0’ but no such parameter 21251 | static const struct bpf_insn MAY_GOTO_0 = BPF_RAW_INSN(BPF_JMP | BPF_JCOND, 0, 0, 0, 0); | ^~~~~~~~~~ ../kernel/bpf/verifier.c:21250:30: error: declaration for parameter ‘NOP’ but no such parameter 21250 | 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:18997:1: note: in expansion of macro ‘late_initcall’ 18997 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:18990:29: error: declaration for parameter ‘unbound_reg’ but no such parameter 18990 | static struct bpf_reg_state unbound_reg; | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:13947:12: error: declaration for parameter ‘check_return_code’ but no such parameter 13947 | static int check_return_code(struct bpf_verifier_env *env, int regno, const char *reg_name); | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12392:13: error: declaration for parameter ‘special_kfunc_list’ but no such parameter 12392 | 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:12179:13: error: declaration for parameter ‘kf_arg_btf_ids’ but no such parameter 12179 | 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:12140:13: error: declaration for parameter ‘is_kfunc_arg_prog_aux’ but no such parameter 12140 | static bool is_kfunc_arg_prog_aux(const struct btf *btf, const struct btf_param *arg); | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11047:13: error: declaration for parameter ‘is_rbtree_lock_required_kfunc’ but no such parameter 11047 | static bool is_rbtree_lock_required_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10484:12: error: declaration for parameter ‘set_callee_state’ but no such parameter 10484 | static int set_callee_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10479:15: error: declaration for parameter ‘set_callee_state_fn’ but no such parameter 10479 | typedef int (*set_callee_state_fn)(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9726:13: error: declaration for parameter ‘can_elide_value_nullness’ but no such parameter 9726 | static bool can_elide_value_nullness(enum bpf_map_type type); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9290:36: error: declaration for parameter ‘compatible_reg_types’ but no such parameter 9290 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9283:35: error: declaration for parameter ‘dynptr_types’ but no such parameter 9283 | static const struct bpf_reg_types dynptr_types = { | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:9277:35: error: declaration for parameter ‘kptr_xchg_dest_types’ but no such parameter 9277 | static const struct bpf_reg_types kptr_xchg_dest_types = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9276:35: error: declaration for parameter ‘timer_types’ but no such parameter 9276 | static const struct bpf_reg_types timer_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:9275:35: error: declaration for parameter ‘const_str_ptr_types’ but no such parameter 9275 | static const struct bpf_reg_types const_str_ptr_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9274:35: error: declaration for parameter ‘stack_ptr_types’ but no such parameter 9274 | static const struct bpf_reg_types stack_ptr_types = { .types = { PTR_TO_STACK } }; | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9273:35: error: declaration for parameter ‘func_ptr_types’ but no such parameter 9273 | static const struct bpf_reg_types func_ptr_types = { .types = { PTR_TO_FUNC } }; | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9266:35: error: declaration for parameter ‘percpu_btf_ptr_types’ but no such parameter 9266 | static const struct bpf_reg_types percpu_btf_ptr_types = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9259:35: error: declaration for parameter ‘btf_ptr_types’ but no such parameter 9259 | static const struct bpf_reg_types btf_ptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9258:35: error: declaration for parameter ‘const_map_ptr_types’ but no such parameter 9258 | static const struct bpf_reg_types const_map_ptr_types = { .types = { CONST_PTR_TO_MAP } }; | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9257:35: error: declaration for parameter ‘ringbuf_mem_types’ but no such parameter 9257 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } }; | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9256:35: error: declaration for parameter ‘context_types’ but no such parameter 9256 | static const struct bpf_reg_types context_types = { .types = { PTR_TO_CTX } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9255:35: error: declaration for parameter ‘scalar_types’ but no such parameter 9255 | static const struct bpf_reg_types scalar_types = { .types = { SCALAR_VALUE } }; | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:9254:35: error: declaration for parameter ‘fullsock_types’ but no such parameter 9254 | static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } }; | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9247:35: error: declaration for parameter ‘spin_lock_types’ but no such parameter 9247 | static const struct bpf_reg_types spin_lock_types = { | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9233:35: error: declaration for parameter ‘mem_types’ but no such parameter 9233 | static const struct bpf_reg_types mem_types = { | ^~~~~~~~~ ../kernel/bpf/verifier.c:9220:35: error: declaration for parameter ‘btf_id_sock_common_types’ but no such parameter 9220 | static const struct bpf_reg_types btf_id_sock_common_types = { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9210:35: error: declaration for parameter ‘sock_types’ but no such parameter 9210 | static const struct bpf_reg_types sock_types = { | ^~~~~~~~~~ ../kernel/bpf/verifier.c:8962:13: error: declaration for parameter ‘regs_exact’ but no such parameter 8962 | static bool regs_exact(const struct bpf_reg_state *rold, | ^~~~~~~~~~ ../kernel/bpf/verifier.c:8961:13: error: declaration for parameter ‘reset_idmap_scratch’ but no such parameter 8961 | static void reset_idmap_scratch(struct bpf_verifier_env *env); | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7814:12: error: declaration for parameter ‘save_aux_ptr_type’ but no such parameter 7814 | static int save_aux_ptr_type(struct bpf_verifier_env *env, enum bpf_reg_type type, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6394:13: error: declaration for parameter ‘reg2btf_ids’ but no such parameter 6394 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:5943:15: error: declaration for parameter ‘rcu_protected_types’ but no such parameter 5943 | 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:5563:12: error: declaration for parameter ‘check_stack_range_initialized’ but no such parameter 5563 | static int check_stack_range_initialized(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:25001: 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_kfunc’ used but never defined 515 | static bool is_bpf_wq_set_callback_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:3272:1: note: the ABI of passing struct with a flexible array member has changed in GCC 4.4 3272 | BTF_ID_LIST_END(magic_kfuncs) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:25001: 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/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/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' was not declared. Should it be static? ../kernel/bpf/helpers.c:3135:18: warning: symbol 'bpf_preempt_disable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3140:18: warning: symbol 'bpf_preempt_enable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3199:1: warning: symbol 'bpf_iter_bits_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:3260:17: warning: symbol 'bpf_iter_bits_next' was not declared. Should it be static? ../kernel/bpf/helpers.c:3286:18: warning: symbol 'bpf_iter_bits_destroy' was not declared. Should it be static? ../kernel/bpf/helpers.c:3310:17: warning: symbol 'bpf_copy_from_user_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3355:17: warning: symbol 'bpf_copy_from_user_task_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3385:18: warning: symbol 'bpf_local_irq_save' was not declared. Should it be static? ../kernel/bpf/helpers.c:3390:18: warning: symbol 'bpf_local_irq_restore' was not declared. Should it be static? ../kernel/bpf/helpers.c:3395:18: warning: symbol '__bpf_trap' was not declared. Should it be static? ../kernel/bpf/helpers.c:3450:17: warning: symbol 'bpf_strcmp' was not declared. Should it be static? ../kernel/bpf/helpers.c:3468:17: warning: symbol 'bpf_strcasecmp' was not declared. Should it be static? ../kernel/bpf/helpers.c:3489:17: warning: symbol 'bpf_strnchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3526:17: warning: symbol 'bpf_strchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3543:17: warning: symbol 'bpf_strchrnul' was not declared. Should it be static? ../kernel/bpf/helpers.c:3575:17: warning: symbol 'bpf_strrchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3608:17: warning: symbol 'bpf_strnlen' was not declared. Should it be static? ../kernel/bpf/helpers.c:3638:17: warning: symbol 'bpf_strlen' was not declared. Should it be static? ../kernel/bpf/helpers.c:3656:17: warning: symbol 'bpf_strspn' was not declared. Should it be static? ../kernel/bpf/helpers.c:3700:17: warning: symbol 'bpf_strcspn' was not declared. Should it be static? ../kernel/bpf/helpers.c:3791:17: warning: symbol 'bpf_strstr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3810:17: warning: symbol 'bpf_strcasestr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3829:17: warning: symbol 'bpf_strnstr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3850:17: warning: symbol 'bpf_strncasestr' was not declared. Should it be static? ../kernel/bpf/helpers.c:4285:17: warning: symbol 'bpf_task_work_schedule_signal' was not declared. Should it be static? ../kernel/bpf/helpers.c:4302:17: warning: symbol 'bpf_task_work_schedule_resume' was not declared. Should it be static? ../kernel/bpf/helpers.c:4333:17: warning: symbol 'bpf_dynptr_from_file' was not declared. Should it be static? ../kernel/bpf/helpers.c:4343: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 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