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' 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 ../kernel/bpf/stream.c: In function ‘bpf_stream_vprintk’: ../kernel/bpf/stream.c:383:9: warning: function ‘bpf_stream_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 383 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt__str, data.bin_args); | ^~~ ../kernel/bpf/stream.c:358:17: warning: symbol 'bpf_stream_vprintk' was not declared. Should it be static? ../kernel/bpf/verifier.c:3276:1: error: return type defaults to ‘int’ [-Wimplicit-int] 3276 | BTF_ID_LIST_END(magic_kfuncs) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:3276: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:3279:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3279 | { | ^ ../kernel/bpf/verifier.c:3290:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3290 | { | ^ ../kernel/bpf/verifier.c:3301:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3301 | { | ^ ../kernel/bpf/verifier.c:3321:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3321 | { | ^ ../kernel/bpf/verifier.c:3468:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3468 | { | ^ ../kernel/bpf/verifier.c:3480:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3480 | { | ^ ../kernel/bpf/verifier.c:3492:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3492 | { | ^ ../kernel/bpf/verifier.c:3499:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3499 | { | ^ ../kernel/bpf/verifier.c:3516:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3516 | { | ^ ../kernel/bpf/verifier.c:3530:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3530 | { | ^ ../kernel/bpf/verifier.c:3593:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3593 | { | ^ ../kernel/bpf/verifier.c:3646:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3646 | { | ^ ../kernel/bpf/verifier.c:3659:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3659 | { | ^ ../kernel/bpf/verifier.c:3680:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3680 | { | ^ ../kernel/bpf/verifier.c:3685:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3685 | { | ^ ../kernel/bpf/verifier.c:3700:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3700 | { | ^ ../kernel/bpf/verifier.c:3786:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3786 | { | ^ ../kernel/bpf/verifier.c:3810:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3810 | { | ^ ../kernel/bpf/verifier.c:3821:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3821 | { | ^ ../kernel/bpf/verifier.c:3834:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3834 | { | ^ ../kernel/bpf/verifier.c:3877:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3877 | { | ^ ../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:3905:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3905 | { | ^ ../kernel/bpf/verifier.c:3920:1: warning: empty declaration 3920 | struct linked_reg { | ^~~~~~ ../kernel/bpf/verifier.c:3929:1: warning: empty declaration 3929 | struct linked_regs { | ^~~~~~ ../kernel/bpf/verifier.c:3935:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3935 | { | ^ ../kernel/bpf/verifier.c:3950:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3950 | { | ^ ../kernel/bpf/verifier.c:3971:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3971 | { | ^ ../kernel/bpf/verifier.c:3990:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3990 | { | ^ ../kernel/bpf/verifier.c:4032:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4032 | { | ^ ../kernel/bpf/verifier.c:4053:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4053 | { | ^ ../kernel/bpf/verifier.c:4073:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4073 | { | ^ ../kernel/bpf/verifier.c:4089:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4089 | { | ^ ../kernel/bpf/verifier.c:4100:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4100 | { | ^ ../kernel/bpf/verifier.c:4105:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4105 | { | ^ ../kernel/bpf/verifier.c:4113:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4113 | { | ^ ../kernel/bpf/verifier.c:4124:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4124 | { | ^ ../kernel/bpf/verifier.c:4134:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4134 | { | ^ ../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:4204:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4204 | { | ^ ../kernel/bpf/verifier.c:4210:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4210 | { | ^ ../kernel/bpf/verifier.c:4229:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4229 | { | ^ ../kernel/bpf/verifier.c:4251:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4251 | { | ^ ../kernel/bpf/verifier.c:4294:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4294 | { | ^ ../kernel/bpf/verifier.c:4634:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4634 | { | ^ ../kernel/bpf/verifier.c:4680:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4680 | { | ^ ../kernel/bpf/verifier.c:4795:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4795 | { | ^ ../kernel/bpf/verifier.c:4977:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4977 | { | ^ ../kernel/bpf/verifier.c:4986:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4986 | { | ^ ../kernel/bpf/verifier.c:4991:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4991 | { | ^ ../kernel/bpf/verifier.c:5019:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5019 | { | ^ ../kernel/bpf/verifier.c:5025:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5025 | { | ^ ../kernel/bpf/verifier.c:5032:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5032 | { | ^ ../kernel/bpf/verifier.c:5038:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5038 | { | ^ ../kernel/bpf/verifier.c:5047:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5047 | { | ^ ../kernel/bpf/verifier.c:5071:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5071 | { | ^ ../kernel/bpf/verifier.c:5079:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5079 | { | ^ ../kernel/bpf/verifier.c:5093:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5093 | { | ^ ../kernel/bpf/verifier.c:5098:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5098 | { | ^ ../kernel/bpf/verifier.c:5105:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5105 | { | ^ ../kernel/bpf/verifier.c:5135:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5135 | { | ^ ../kernel/bpf/verifier.c:5281:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5281 | { | ^ ../kernel/bpf/verifier.c:5398:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5398 | { | ^ ../kernel/bpf/verifier.c:5438:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5438 | { | ^ ../kernel/bpf/verifier.c:5562:1: warning: empty declaration 5562 | enum bpf_access_src { | ^~~~ ../kernel/bpf/verifier.c:5567:12: error: storage class specified for parameter ‘check_stack_range_initialized’ 5567 | static int check_stack_range_initialized(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5574:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5574 | { | ^ ../kernel/bpf/verifier.c:5593:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5593 | { | ^ ../kernel/bpf/verifier.c:5626:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5626 | { | ^ ../kernel/bpf/verifier.c:5683:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5683 | { | ^ ../kernel/bpf/verifier.c:5705:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5705 | { | ^ ../kernel/bpf/verifier.c:5729:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5729 | { | ^ ../kernel/bpf/verifier.c:5765:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5765 | { | ^ ../kernel/bpf/verifier.c:5820:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5820 | { | ^ ../kernel/bpf/verifier.c:5851:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5851 | { | ^ ../kernel/bpf/verifier.c:5858:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5858 | { | ^ ../kernel/bpf/verifier.c:5932:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5932 | { | ^ ../kernel/bpf/verifier.c:5940:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5940 | { | ^ 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:5947:15: error: storage class specified for parameter ‘rcu_protected_types’ 5947 | 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:5947:1: note: in expansion of macro ‘BTF_SET_START’ 5947 | BTF_SET_START(rcu_protected_types) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5964:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5964 | { | ^ ../kernel/bpf/verifier.c:5971:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5971 | { | ^ ../kernel/bpf/verifier.c:5984:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5984 | { | ^ ../kernel/bpf/verifier.c:5992:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5992 | { | ^ ../kernel/bpf/verifier.c:6016:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6016 | { | ^ ../kernel/bpf/verifier.c:6033:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6033 | { | ^ ../kernel/bpf/verifier.c:6098:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6098 | { | ^ ../kernel/bpf/verifier.c:6166:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6166 | { | ^ ../kernel/bpf/verifier.c:6207:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6207 | { | ^ ../kernel/bpf/verifier.c:6250:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6250 | { | ^ ../kernel/bpf/verifier.c:6282:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6282 | { | ^ ../kernel/bpf/verifier.c:6295:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6295 | { | ^ ../kernel/bpf/verifier.c:6338:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6338 | { | ^ ../kernel/bpf/verifier.c:6343:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6343 | { | ^ ../kernel/bpf/verifier.c:6350:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6350 | { | ^ ../kernel/bpf/verifier.c:6357:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6357 | { | ^ ../kernel/bpf/verifier.c:6364:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6364 | { | ^ ../kernel/bpf/verifier.c:6372:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6372 | { | ^ ../kernel/bpf/verifier.c:6383:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6383 | { | ^ ../kernel/bpf/verifier.c:6398:13: error: storage class specified for parameter ‘reg2btf_ids’ 6398 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:6398:1: error: parameter ‘reg2btf_ids’ is initialized 6398 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { | ^~~~~~ ../kernel/bpf/verifier.c:6398:47: error: variable-sized object may not be initialized except with an empty initializer 6398 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { | ^ ../kernel/bpf/verifier.c:6400:10: error: array index in non-array initializer 6400 | [PTR_TO_SOCKET] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK], | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6400:10: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6400:27: error: initialization of ‘u32 **’ {aka ‘unsigned int **’} from incompatible pointer type ‘u32 *’ {aka ‘unsigned int *’} [-Wincompatible-pointer-types] 6400 | [PTR_TO_SOCKET] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK], | ^ ../kernel/bpf/verifier.c:6400:27: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6401:10: error: array index in non-array initializer 6401 | [PTR_TO_SOCK_COMMON] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON], | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6401:10: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6401:32: warning: excess elements in scalar initializer 6401 | [PTR_TO_SOCK_COMMON] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON], | ^ ../kernel/bpf/verifier.c:6401:32: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6402:10: error: array index in non-array initializer 6402 | [PTR_TO_TCP_SOCK] = &btf_sock_ids[BTF_SOCK_TYPE_TCP], | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6402:10: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6402:29: warning: excess elements in scalar initializer 6402 | [PTR_TO_TCP_SOCK] = &btf_sock_ids[BTF_SOCK_TYPE_TCP], | ^ ../kernel/bpf/verifier.c:6402:29: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6404:10: error: array index in non-array initializer 6404 | [CONST_PTR_TO_MAP] = btf_bpf_map_id, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6404:10: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6404:30: warning: excess elements in scalar initializer 6404 | [CONST_PTR_TO_MAP] = btf_bpf_map_id, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6404:30: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6408:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6408 | { | ^ ../kernel/bpf/verifier.c:6432:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6432 | { | ^ ../kernel/bpf/verifier.c:6437:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6437 | { | ^ ../kernel/bpf/verifier.c:6444:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6444 | { | ^ ../kernel/bpf/verifier.c:6480:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6480 | { | ^ ../kernel/bpf/verifier.c:6503:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6503 | { | ^ ../kernel/bpf/verifier.c:6556:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6556 | { | ^ ../kernel/bpf/verifier.c:6584:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6584 | { | ^ ../kernel/bpf/verifier.c:6602:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6602 | { | ^ ../kernel/bpf/verifier.c:6762:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6762 | { | ^ ../kernel/bpf/verifier.c:6822:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6822 | { | ^ ../kernel/bpf/verifier.c:6845:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6845 | { | ^ ../kernel/bpf/verifier.c:6863:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6863 | { | ^ ../kernel/bpf/verifier.c:6879:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6879 | { | ^ ../kernel/bpf/verifier.c:6888:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6888 | { | ^ ../kernel/bpf/verifier.c:6917:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6917 | { | ^ ../kernel/bpf/verifier.c:6936:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6936 | { | ^ ../kernel/bpf/verifier.c:6995:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6995 | { | ^ ../kernel/bpf/verifier.c:7010:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7010 | { | ^ ../kernel/bpf/verifier.c:7060:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7060 | { | ^ ../kernel/bpf/verifier.c:7081:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7081 | { | ^ In file included from : ../kernel/bpf/verifier.c:7122:19: warning: empty declaration 7122 | 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:7110:36: note: in expansion of macro ‘__PASTE’ 7110 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) | ^~~~~~~ ../kernel/bpf/verifier.c:7122:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ 7122 | BTF_TYPE_SAFE_RCU(struct task_struct) { | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7129:19: warning: empty declaration 7129 | 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:7110:36: note: in expansion of macro ‘__PASTE’ 7110 | #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 cgroup) { | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7134:19: warning: empty declaration 7134 | 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:7110:36: note: in expansion of macro ‘__PASTE’ 7110 | #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 css_set) { | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7138:19: warning: empty declaration 7138 | 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:7110:36: note: in expansion of macro ‘__PASTE’ 7110 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) | ^~~~~~~ ../kernel/bpf/verifier.c:7138:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ 7138 | BTF_TYPE_SAFE_RCU(struct cgroup_subsys_state) { | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7143:27: warning: empty declaration 7143 | 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:7111:44: note: in expansion of macro ‘__PASTE’ 7111 | #define BTF_TYPE_SAFE_RCU_OR_NULL(__type) __PASTE(__type, __safe_rcu_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7143:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU_OR_NULL’ 7143 | BTF_TYPE_SAFE_RCU_OR_NULL(struct mm_struct) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7153:27: warning: empty declaration 7153 | 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:7111:44: note: in expansion of macro ‘__PASTE’ 7111 | #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 sk_buff) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7157:27: warning: empty declaration 7157 | 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:7111:44: note: in expansion of macro ‘__PASTE’ 7111 | #define BTF_TYPE_SAFE_RCU_OR_NULL(__type) __PASTE(__type, __safe_rcu_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7157:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU_OR_NULL’ 7157 | BTF_TYPE_SAFE_RCU_OR_NULL(struct request_sock) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7162:23: warning: empty declaration 7162 | 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:7112:40: note: in expansion of macro ‘__PASTE’ 7112 | #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_meta) { | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7166:23: warning: empty declaration 7166 | 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:7112:40: note: in expansion of macro ‘__PASTE’ 7112 | #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 bpf_iter__task) { | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7171:23: warning: empty declaration 7171 | 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:7112:40: note: in expansion of macro ‘__PASTE’ 7112 | #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 linux_binprm) { | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7175:23: warning: empty declaration 7175 | 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:7112:40: note: in expansion of macro ‘__PASTE’ 7112 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) | ^~~~~~~ ../kernel/bpf/verifier.c:7175:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ 7175 | BTF_TYPE_SAFE_TRUSTED(struct file) { | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7179:31: warning: empty declaration 7179 | 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:7113:48: note: in expansion of macro ‘__PASTE’ 7113 | #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 dentry) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7183:31: warning: empty declaration 7183 | 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:7113:48: note: in expansion of macro ‘__PASTE’ 7113 | #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 socket) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7187:31: warning: empty declaration 7187 | 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:7113:48: note: in expansion of macro ‘__PASTE’ 7113 | #define BTF_TYPE_SAFE_TRUSTED_OR_NULL(__type) __PASTE(__type, __safe_trusted_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7187:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED_OR_NULL’ 7187 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct vm_area_struct) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7195:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7195 | { | ^ ../kernel/bpf/verifier.c:7207:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7207 | { | ^ ../kernel/bpf/verifier.c:7218:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7218 | { | ^ ../kernel/bpf/verifier.c:7230:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7230 | { | ^ ../kernel/bpf/verifier.c:7244:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7244 | { | ^ ../kernel/bpf/verifier.c:7397:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7397 | { | ^ ../kernel/bpf/verifier.c:7468:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7468 | { | ^ ../kernel/bpf/verifier.c:7490:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7490 | { | ^ ../kernel/bpf/verifier.c:7548:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7548 | { | ^ ../kernel/bpf/verifier.c:7566:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7566 | { | ^ ../kernel/bpf/verifier.c:7818:12: error: storage class specified for parameter ‘save_aux_ptr_type’ 7818 | static int save_aux_ptr_type(struct bpf_verifier_env *env, enum bpf_reg_type type, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7824:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7824 | { | ^ ../kernel/bpf/verifier.c:7856:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7856 | { | ^ ../kernel/bpf/verifier.c:7884:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7884 | { | ^ ../kernel/bpf/verifier.c:7973:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7973 | { | ^ ../kernel/bpf/verifier.c:7992:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7992 | { | ^ ../kernel/bpf/verifier.c:8010:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8010 | { | ^ ../kernel/bpf/verifier.c:8058:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8058 | { | ^ ../kernel/bpf/verifier.c:8204:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8204 | { | ^ ../kernel/bpf/verifier.c:8302:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8302 | { | ^ ../kernel/bpf/verifier.c:8349:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8349 | { | ^ ../kernel/bpf/verifier.c:8377:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8377 | { | ^ ../kernel/bpf/verifier.c:8402:1: warning: empty declaration 8402 | enum { | ^~~~ ../kernel/bpf/verifier.c:8431:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8431 | { | ^ ../kernel/bpf/verifier.c:8549:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8549 | { | ^ ../kernel/bpf/verifier.c:8596:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8596 | { | ^ ../kernel/bpf/verifier.c:8620:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8620 | { | ^ ../kernel/bpf/verifier.c:8641:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8641 | { | ^ ../kernel/bpf/verifier.c:8661:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8661 | { | ^ ../kernel/bpf/verifier.c:8734:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8734 | { | ^ ../kernel/bpf/verifier.c:8813:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8813 | { | ^ ../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:8835:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8835 | { | ^ ../kernel/bpf/verifier.c:8841:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8841 | { | ^ ../kernel/bpf/verifier.c:8854:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8854 | { | ^ ../kernel/bpf/verifier.c:8944:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8944 | { | ^ ../kernel/bpf/verifier.c:8965:13: error: storage class specified for parameter ‘reset_idmap_scratch’ 8965 | static void reset_idmap_scratch(struct bpf_verifier_env *env); | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8966:13: error: storage class specified for parameter ‘regs_exact’ 8966 | static bool regs_exact(const struct bpf_reg_state *rold, | ^~~~~~~~~~ ../kernel/bpf/verifier.c:8973:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8973 | { | ^ ../kernel/bpf/verifier.c:8986:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8986 | { | ^ ../kernel/bpf/verifier.c:9017:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9017 | { | ^ ../kernel/bpf/verifier.c:9104:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9104 | { | ^ ../kernel/bpf/verifier.c:9158:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9158 | { | ^ ../kernel/bpf/verifier.c:9164:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9164 | { | ^ ../kernel/bpf/verifier.c:9170:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9170 | { | ^ ../kernel/bpf/verifier.c:9175:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9175 | { | ^ ../kernel/bpf/verifier.c:9182:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9182 | { | ^ ../kernel/bpf/verifier.c:9209:1: warning: empty declaration 9209 | struct bpf_reg_types { | ^~~~~~ ../kernel/bpf/verifier.c:9214:35: error: storage class specified for parameter ‘sock_types’ 9214 | static const struct bpf_reg_types sock_types = { | ^~~~~~~~~~ ../kernel/bpf/verifier.c:9214:21: error: parameter ‘sock_types’ is initialized 9214 | static const struct bpf_reg_types sock_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9224:35: error: storage class specified for parameter ‘btf_id_sock_common_types’ 9224 | static const struct bpf_reg_types btf_id_sock_common_types = { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9224:21: error: parameter ‘btf_id_sock_common_types’ is initialized 9224 | static const struct bpf_reg_types btf_id_sock_common_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9237:35: error: storage class specified for parameter ‘mem_types’ 9237 | static const struct bpf_reg_types mem_types = { | ^~~~~~~~~ ../kernel/bpf/verifier.c:9237:21: error: parameter ‘mem_types’ is initialized 9237 | static const struct bpf_reg_types mem_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9251:35: error: storage class specified for parameter ‘spin_lock_types’ 9251 | static const struct bpf_reg_types spin_lock_types = { | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9251:21: error: parameter ‘spin_lock_types’ is initialized 9251 | static const struct bpf_reg_types spin_lock_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9258:35: error: storage class specified for parameter ‘fullsock_types’ 9258 | static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } }; | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9258:21: error: parameter ‘fullsock_types’ is initialized 9258 | static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9259:35: error: storage class specified for parameter ‘scalar_types’ 9259 | static const struct bpf_reg_types scalar_types = { .types = { SCALAR_VALUE } }; | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:9259:21: error: parameter ‘scalar_types’ is initialized 9259 | static const struct bpf_reg_types scalar_types = { .types = { SCALAR_VALUE } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9260:35: error: storage class specified for parameter ‘context_types’ 9260 | static const struct bpf_reg_types context_types = { .types = { PTR_TO_CTX } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9260:21: error: parameter ‘context_types’ is initialized 9260 | static const struct bpf_reg_types context_types = { .types = { PTR_TO_CTX } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9261:35: error: storage class specified for parameter ‘ringbuf_mem_types’ 9261 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } }; | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9261:21: error: parameter ‘ringbuf_mem_types’ is initialized 9261 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9262:35: error: storage class specified for parameter ‘const_map_ptr_types’ 9262 | static const struct bpf_reg_types const_map_ptr_types = { .types = { CONST_PTR_TO_MAP } }; | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9262:21: error: parameter ‘const_map_ptr_types’ is initialized 9262 | static const struct bpf_reg_types const_map_ptr_types = { .types = { CONST_PTR_TO_MAP } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9263:35: error: storage class specified for parameter ‘btf_ptr_types’ 9263 | static const struct bpf_reg_types btf_ptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9263:21: error: parameter ‘btf_ptr_types’ is initialized 9263 | static const struct bpf_reg_types btf_ptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9270:35: error: storage class specified for parameter ‘percpu_btf_ptr_types’ 9270 | static const struct bpf_reg_types percpu_btf_ptr_types = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9270:21: error: parameter ‘percpu_btf_ptr_types’ is initialized 9270 | static const struct bpf_reg_types percpu_btf_ptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9277:35: error: storage class specified for parameter ‘func_ptr_types’ 9277 | static const struct bpf_reg_types func_ptr_types = { .types = { PTR_TO_FUNC } }; | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9277:21: error: parameter ‘func_ptr_types’ is initialized 9277 | static const struct bpf_reg_types func_ptr_types = { .types = { PTR_TO_FUNC } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9278:35: error: storage class specified for parameter ‘stack_ptr_types’ 9278 | static const struct bpf_reg_types stack_ptr_types = { .types = { PTR_TO_STACK } }; | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9278:21: error: parameter ‘stack_ptr_types’ is initialized 9278 | static const struct bpf_reg_types stack_ptr_types = { .types = { PTR_TO_STACK } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9279:35: error: storage class specified for parameter ‘const_str_ptr_types’ 9279 | static const struct bpf_reg_types const_str_ptr_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9279:21: error: parameter ‘const_str_ptr_types’ is initialized 9279 | static const struct bpf_reg_types const_str_ptr_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9280:35: error: storage class specified for parameter ‘timer_types’ 9280 | static const struct bpf_reg_types timer_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:9280:21: error: parameter ‘timer_types’ is initialized 9280 | static const struct bpf_reg_types timer_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9281:35: error: storage class specified for parameter ‘kptr_xchg_dest_types’ 9281 | static const struct bpf_reg_types kptr_xchg_dest_types = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9281:21: error: parameter ‘kptr_xchg_dest_types’ is initialized 9281 | static const struct bpf_reg_types kptr_xchg_dest_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9287:35: error: storage class specified for parameter ‘dynptr_types’ 9287 | static const struct bpf_reg_types dynptr_types = { | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:9287:21: error: parameter ‘dynptr_types’ is initialized 9287 | static const struct bpf_reg_types dynptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9294:36: error: storage class specified for parameter ‘compatible_reg_types’ 9294 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9294:21: error: parameter ‘compatible_reg_types’ is initialized 9294 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9294:79: error: variable-sized object may not be initialized except with an empty initializer 9294 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { | ^ ../kernel/bpf/verifier.c:9295:10: error: array index in non-array initializer 9295 | [ARG_PTR_TO_MAP_KEY] = &mem_types, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9295:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9295:43: error: initialization of ‘const struct bpf_reg_types **’ from incompatible pointer type ‘const struct bpf_reg_types *’ [-Wincompatible-pointer-types] 9295 | [ARG_PTR_TO_MAP_KEY] = &mem_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_MAP_VALUE] = &mem_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_MAP_VALUE] = &mem_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_CONST_SIZE] = &scalar_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_CONST_SIZE] = &scalar_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_CONST_SIZE_OR_ZERO] = &scalar_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_CONST_SIZE_OR_ZERO] = &scalar_types, | ^ ../kernel/bpf/verifier.c:9298:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9299:10: error: array index in non-array initializer 9299 | [ARG_CONST_ALLOC_SIZE_OR_ZERO] = &scalar_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_CONST_ALLOC_SIZE_OR_ZERO] = &scalar_types, | ^ ../kernel/bpf/verifier.c:9299:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9300:10: error: array index in non-array initializer 9300 | [ARG_CONST_MAP_PTR] = &const_map_ptr_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_CONST_MAP_PTR] = &const_map_ptr_types, | ^ ../kernel/bpf/verifier.c:9300: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_CTX] = &context_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_CTX] = &context_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_SOCK_COMMON] = &sock_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_SOCK_COMMON] = &sock_types, | ^ ../kernel/bpf/verifier.c:9302: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_BTF_ID_SOCK_COMMON] = &btf_id_sock_common_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_BTF_ID_SOCK_COMMON] = &btf_id_sock_common_types, | ^ ../kernel/bpf/verifier.c:9304: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_SOCKET] = &fullsock_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_SOCKET] = &fullsock_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_BTF_ID] = &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_BTF_ID] = &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_SPIN_LOCK] = &spin_lock_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_SPIN_LOCK] = &spin_lock_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_MEM] = &mem_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_MEM] = &mem_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_RINGBUF_MEM] = &ringbuf_mem_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_RINGBUF_MEM] = &ringbuf_mem_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_PERCPU_BTF_ID] = &percpu_btf_ptr_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_PERCPU_BTF_ID] = &percpu_btf_ptr_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_FUNC] = &func_ptr_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_FUNC] = &func_ptr_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_STACK] = &stack_ptr_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_STACK] = &stack_ptr_types, | ^ ../kernel/bpf/verifier.c:9313:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9314:10: error: array index in non-array initializer 9314 | [ARG_PTR_TO_CONST_STR] = &const_str_ptr_types, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9314:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9314:43: warning: excess elements in scalar initializer 9314 | [ARG_PTR_TO_CONST_STR] = &const_str_ptr_types, | ^ ../kernel/bpf/verifier.c:9314:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9315:10: error: array index in non-array initializer 9315 | [ARG_PTR_TO_TIMER] = &timer_types, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9315:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9315:43: warning: excess elements in scalar initializer 9315 | [ARG_PTR_TO_TIMER] = &timer_types, | ^ ../kernel/bpf/verifier.c:9315:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9316:10: error: array index in non-array initializer 9316 | [ARG_KPTR_XCHG_DEST] = &kptr_xchg_dest_types, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9316:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9316:43: warning: excess elements in scalar initializer 9316 | [ARG_KPTR_XCHG_DEST] = &kptr_xchg_dest_types, | ^ ../kernel/bpf/verifier.c:9316:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9317:10: error: array index in non-array initializer 9317 | [ARG_PTR_TO_DYNPTR] = &dynptr_types, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9317:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9317:43: warning: excess elements in scalar initializer 9317 | [ARG_PTR_TO_DYNPTR] = &dynptr_types, | ^ ../kernel/bpf/verifier.c:9317:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9324:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9324 | { | ^ ../kernel/bpf/verifier.c:9469:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9469 | { | ^ ../kernel/bpf/verifier.c:9487:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9487 | { | ^ ../kernel/bpf/verifier.c:9558:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9558 | { | ^ ../kernel/bpf/verifier.c:9578:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9578 | { | ^ ../kernel/bpf/verifier.c:9591:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9591 | { | ^ ../kernel/bpf/verifier.c:9605:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9605 | { | ^ ../kernel/bpf/verifier.c:9623:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9623 | { | ^ ../kernel/bpf/verifier.c:9674:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9674 | { | ^ ../kernel/bpf/verifier.c:9730:13: error: storage class specified for parameter ‘can_elide_value_nullness’ 9730 | static bool can_elide_value_nullness(enum bpf_map_type type); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9736:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9736 | { | ^ ../kernel/bpf/verifier.c:10003:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10003 | { | ^ ../kernel/bpf/verifier.c:10041:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10041 | { | ^ ../kernel/bpf/verifier.c:10048:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10048 | { | ^ ../kernel/bpf/verifier.c:10298:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10298 | { | ^ ../kernel/bpf/verifier.c:10320:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10320 | { | ^ ../kernel/bpf/verifier.c:10335:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10335 | { | ^ ../kernel/bpf/verifier.c:10353:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10353 | { | ^ ../kernel/bpf/verifier.c:10372:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10372 | { | ^ ../kernel/bpf/verifier.c:10385:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10385 | { | ^ ../kernel/bpf/verifier.c:10395:1: warning: empty declaration 10395 | enum { | ^~~~ ../kernel/bpf/verifier.c:10401:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10401 | { | ^ ../kernel/bpf/verifier.c:10422:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10422 | { | ^ ../kernel/bpf/verifier.c:10442:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10442 | { | ^ ../kernel/bpf/verifier.c:10461:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10461 | { | ^ ../kernel/bpf/verifier.c:10473:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10473 | { | ^ ../kernel/bpf/verifier.c:10483:15: error: storage class specified for parameter ‘set_callee_state_fn’ 10483 | typedef int (*set_callee_state_fn)(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10488:12: error: storage class specified for parameter ‘set_callee_state’ 10488 | static int set_callee_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10493:29: error: expected declaration specifiers or ‘...’ before ‘set_callee_state_fn’ 10493 | set_callee_state_fn set_callee_state_cb, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10543:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10543 | { | ^ ../kernel/bpf/verifier.c:10643:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10643 | { | ^ ../kernel/bpf/verifier.c:10671:31: error: expected declaration specifiers or ‘...’ before ‘set_callee_state_fn’ 10671 | set_callee_state_fn set_callee_state_cb) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10740:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10740 | { | ^ ../kernel/bpf/verifier.c:10822:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10822 | { | ^ ../kernel/bpf/verifier.c:10849:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10849 | { | ^ ../kernel/bpf/verifier.c:10864:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10864 | { | ^ ../kernel/bpf/verifier.c:10890:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10890 | { | ^ ../kernel/bpf/verifier.c:10912:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10912 | { | ^ ../kernel/bpf/verifier.c:10942:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10942 | { | ^ ../kernel/bpf/verifier.c:10970:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10970 | { | ^ ../kernel/bpf/verifier.c:10993:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10993 | { | ^ ../kernel/bpf/verifier.c:11025:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11025 | { | ^ ../kernel/bpf/verifier.c:11051:13: error: storage class specified for parameter ‘is_rbtree_lock_required_kfunc’ 11051 | static bool is_rbtree_lock_required_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11058:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11058 | { | ^ ../kernel/bpf/verifier.c:11078:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11078 | { | ^ ../kernel/bpf/verifier.c:11086:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11086 | { | ^ ../kernel/bpf/verifier.c:11179:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11179 | { | ^ ../kernel/bpf/verifier.c:11216:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11216 | { | ^ ../kernel/bpf/verifier.c:11262:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11262 | { | ^ ../kernel/bpf/verifier.c:11297:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11297 | { | ^ ../kernel/bpf/verifier.c:11324:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11324 | { | ^ ../kernel/bpf/verifier.c:11358:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11358 | { | ^ ../kernel/bpf/verifier.c:11395:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11395 | { | ^ ../kernel/bpf/verifier.c:11416:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11416 | { | ^ ../kernel/bpf/verifier.c:11421:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11421 | { | ^ ../kernel/bpf/verifier.c:11433:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11433 | { | ^ ../kernel/bpf/verifier.c:11455:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11455 | { | ^ ../kernel/bpf/verifier.c:11467:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11467 | { | ^ ../kernel/bpf/verifier.c:11480:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11480 | { | ^ ../kernel/bpf/verifier.c:11489:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11489 | { | ^ ../kernel/bpf/verifier.c:12009:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12009 | { | ^ ../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:12059:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12059 | { | ^ ../kernel/bpf/verifier.c:12066:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12066 | { | ^ ../kernel/bpf/verifier.c:12079:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12079 | { | ^ ../kernel/bpf/verifier.c:12090:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12090 | { | ^ ../kernel/bpf/verifier.c:12095:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12095 | { | ^ ../kernel/bpf/verifier.c:12100:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12100 | { | ^ ../kernel/bpf/verifier.c:12105:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12105 | { | ^ ../kernel/bpf/verifier.c:12110:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12110 | { | ^ ../kernel/bpf/verifier.c:12115:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12115 | { | ^ ../kernel/bpf/verifier.c:12120:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12120 | { | ^ ../kernel/bpf/verifier.c:12125:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12125 | { | ^ ../kernel/bpf/verifier.c:12130:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12130 | { | ^ ../kernel/bpf/verifier.c:12135:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12135 | { | ^ ../kernel/bpf/verifier.c:12140:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12140 | { | ^ ../kernel/bpf/verifier.c:12144:13: error: storage class specified for parameter ‘is_kfunc_arg_prog_aux’ 12144 | static bool is_kfunc_arg_prog_aux(const struct btf *btf, const struct btf_param *arg); | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12147:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12147 | { | ^ ../kernel/bpf/verifier.c:12155:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12155 | { | ^ ../kernel/bpf/verifier.c:12171:1: warning: empty declaration 12171 | enum { | ^~~~ ../kernel/bpf/verifier.c:12183:13: error: storage class specified for parameter ‘kf_arg_btf_ids’ 12183 | 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:12196:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12196 | { | ^ ../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:12257:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12257 | { | ^ ../kernel/bpf/verifier.c:12263:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12263 | { | ^ ../kernel/bpf/verifier.c:12274:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12274 | { | ^ ../kernel/bpf/verifier.c:12282:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12282 | { | ^ ../kernel/bpf/verifier.c:12318:1: warning: empty declaration 12318 | enum kfunc_ptr_arg_type { | ^~~~ ../kernel/bpf/verifier.c:12341:1: warning: empty declaration 12341 | enum special_kfunc_type { | ^~~~ ../kernel/bpf/verifier.c:12398:13: error: storage class specified for parameter ‘special_kfunc_list’ 12398 | 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:12475:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12475 | { | ^ ../kernel/bpf/verifier.c:12483:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12483 | { | ^ ../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:12508:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12508 | { | ^ ../kernel/bpf/verifier.c:12513:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12513 | { | ^ ../kernel/bpf/verifier.c:12523:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12523 | { | ^ ../kernel/bpf/verifier.c:12622:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12622 | { | ^ ../kernel/bpf/verifier.c:12690:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12690 | { | ^ ../kernel/bpf/verifier.c:12743:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12743 | { | ^ ../kernel/bpf/verifier.c:12764:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12764 | { | ^ ../kernel/bpf/verifier.c:12840:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12840 | { | ^ ../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:12889:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12889 | { | ^ ../kernel/bpf/verifier.c:12896:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12896 | { | ^ ../kernel/bpf/verifier.c:12902:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12902 | { | ^ ../kernel/bpf/verifier.c:12910:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12910 | { | ^ ../kernel/bpf/verifier.c:12916:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12916 | { | ^ ../kernel/bpf/verifier.c:12921:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12921 | { | ^ ../kernel/bpf/verifier.c:12927:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12927 | { | ^ ../kernel/bpf/verifier.c:12933:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12933 | { | ^ ../kernel/bpf/verifier.c:12939:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12939 | { | ^ ../kernel/bpf/verifier.c:12945:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12945 | { | ^ ../kernel/bpf/verifier.c:12952:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12952 | { | ^ ../kernel/bpf/verifier.c:12977:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12977 | { | ^ ../kernel/bpf/verifier.c:13009:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13009 | { | ^ ../kernel/bpf/verifier.c:13057:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13057 | { | ^ ../kernel/bpf/verifier.c:13065:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13065 | { | ^ ../kernel/bpf/verifier.c:13077:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13077 | { | ^ ../kernel/bpf/verifier.c:13138:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13138 | { | ^ ../kernel/bpf/verifier.c:13147:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13147 | { | ^ ../kernel/bpf/verifier.c:13160:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13160 | { | ^ ../kernel/bpf/verifier.c:13177:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13177 | { | ^ ../kernel/bpf/verifier.c:13720:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13720 | { | ^ ../kernel/bpf/verifier.c:13785:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13785 | { | ^ ../kernel/bpf/verifier.c:13957:12: error: storage class specified for parameter ‘check_return_code’ 13957 | static int check_return_code(struct bpf_verifier_env *env, int regno, const char *reg_name); | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:13961:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13961 | { | ^ ../kernel/bpf/verifier.c:14351:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14351 | { | ^ ../kernel/bpf/verifier.c:14383:1: warning: empty declaration 14383 | enum { | ^~~~ ../kernel/bpf/verifier.c:14393:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14393 | { | ^ ../kernel/bpf/verifier.c:14424:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14424 | { | ^ ../kernel/bpf/verifier.c:14432:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14432 | { | ^ ../kernel/bpf/verifier.c:14449:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14449 | { | ^ ../kernel/bpf/verifier.c:14459:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14459 | { | ^ ../kernel/bpf/verifier.c:14463:1: warning: empty declaration 14463 | struct bpf_sanitize_info { | ^~~~~~ ../kernel/bpf/verifier.c:14471:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14471 | { | ^ ../kernel/bpf/verifier.c:14495:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14495 | { | ^ ../kernel/bpf/verifier.c:14585:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14585 | { | ^ ../kernel/bpf/verifier.c:14601:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14601 | { | ^ ../kernel/bpf/verifier.c:14650:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14650 | { | ^ ../kernel/bpf/verifier.c:14672:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14672 | { | ^ ../kernel/bpf/verifier.c:14710:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14710 | { | ^ ../kernel/bpf/verifier.c:14951:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14951 | { | ^ ../kernel/bpf/verifier.c:14982:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14982 | { | ^ ../kernel/bpf/verifier.c:15013:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15013 | { | ^ ../kernel/bpf/verifier.c:15045:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15045 | { | ^ ../kernel/bpf/verifier.c:15077:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15077 | { | ^ ../kernel/bpf/verifier.c:15105:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15105 | { | ^ ../kernel/bpf/verifier.c:15133:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15133 | { | ^ ../kernel/bpf/verifier.c:15164:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15164 | { | ^ ../kernel/bpf/verifier.c:15196:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15196 | { | ^ ../kernel/bpf/verifier.c:15227:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15227 | { | ^ ../kernel/bpf/verifier.c:15259:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15259 | { | ^ ../kernel/bpf/verifier.c:15287:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15287 | { | ^ ../kernel/bpf/verifier.c:15317:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15317 | { | ^ ../kernel/bpf/verifier.c:15335:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15335 | { | ^ ../kernel/bpf/verifier.c:15353:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15353 | { | ^ ../kernel/bpf/verifier.c:15383:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15383 | { | ^ ../kernel/bpf/verifier.c:15398:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15398 | { | ^ ../kernel/bpf/verifier.c:15430:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15430 | { | ^ ../kernel/bpf/verifier.c:15464:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15464 | { | ^ ../kernel/bpf/verifier.c:15487:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15487 | { | ^ ../kernel/bpf/verifier.c:15514:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15514 | { | ^ ../kernel/bpf/verifier.c:15561:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15561 | { | ^ ../kernel/bpf/verifier.c:15663:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15663 | { | ^ ../kernel/bpf/verifier.c:15797:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15797 | { | ^ ../kernel/bpf/verifier.c:16043:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16043 | { | ^ ../kernel/bpf/verifier.c:16123:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16123 | { | ^ ../kernel/bpf/verifier.c:16254:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16254 | { | ^ ../kernel/bpf/verifier.c:16277:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16277 | { | ^ ../kernel/bpf/verifier.c:16323:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16323 | { | ^ ../kernel/bpf/verifier.c:16367:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16367 | { | ^ ../kernel/bpf/verifier.c:16391:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16391 | { | ^ ../kernel/bpf/verifier.c:16571:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16571 | { | ^ ../kernel/bpf/verifier.c:16601:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16601 | { | ^ ../kernel/bpf/verifier.c:16650:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16650 | { | ^ ../kernel/bpf/verifier.c:16673:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16673 | { | ^ ../kernel/bpf/verifier.c:16775:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16775 | { | ^ ../kernel/bpf/verifier.c:16797:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16797 | { | ^ ../kernel/bpf/verifier.c:16823:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16823 | { | ^ ../kernel/bpf/verifier.c:16868:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16868 | { | ^ ../kernel/bpf/verifier.c:17123:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17123 | { | ^ ../kernel/bpf/verifier.c:17219:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17219 | { | ^ ../kernel/bpf/verifier.c:17246:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17246 | { | ^ ../kernel/bpf/verifier.c:17316:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17316 | { | ^ ../kernel/bpf/verifier.c:17515:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17515 | { | ^ ../kernel/bpf/verifier.c:17523:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17523 | { | ^ ../kernel/bpf/verifier.c:17537:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17537 | { | ^ ../kernel/bpf/verifier.c:17579:1: warning: empty declaration 17579 | enum { | ^~~~ ../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:17607:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17607 | { | ^ ../kernel/bpf/verifier.c:17612:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17612 | { | ^ ../kernel/bpf/verifier.c:17616:1: warning: empty declaration 17616 | enum { | ^~~~ ../kernel/bpf/verifier.c:17627:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17627 | { | ^ ../kernel/bpf/verifier.c:17677:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17677 | { | ^ ../kernel/bpf/verifier.c:17707:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17707 | { | ^ ../kernel/bpf/verifier.c:17718:1: warning: empty declaration 17718 | struct call_summary { | ^~~~~~ ../kernel/bpf/verifier.c:17729:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17729 | { | ^ ../kernel/bpf/verifier.c:17845:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17845 | { | ^ ../kernel/bpf/verifier.c:17930:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17930 | { | ^ ../kernel/bpf/verifier.c:17958:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17958 | { | ^ ../kernel/bpf/verifier.c:17979:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17979 | { | ^ ../kernel/bpf/verifier.c:18101:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18101 | { | ^ ../kernel/bpf/verifier.c:18192:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18192 | { | ^ ../kernel/bpf/verifier.c:18238:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18238 | { | ^ ../kernel/bpf/verifier.c:18261:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18261 | { | ^ ../kernel/bpf/verifier.c:18363:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18363 | { | ^ ../kernel/bpf/verifier.c:18436:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18436 | { | ^ ../kernel/bpf/verifier.c:18454:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18454 | { | ^ ../kernel/bpf/verifier.c:18582:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18582 | { | ^ ../kernel/bpf/verifier.c:18651:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18651 | { | ^ ../kernel/bpf/verifier.c:18679:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18679 | { | ^ ../kernel/bpf/verifier.c:18706:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18706 | { | ^ ../kernel/bpf/verifier.c:18728:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18728 | { | ^ ../kernel/bpf/verifier.c:18761:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18761 | { | ^ ../kernel/bpf/verifier.c:18771:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18771 | { | ^ ../kernel/bpf/verifier.c:18795:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18795 | { | ^ ../kernel/bpf/verifier.c:18838:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18838 | { | ^ ../kernel/bpf/verifier.c:18862:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18862 | { | ^ ../kernel/bpf/verifier.c:18868:1: warning: empty declaration 18868 | enum exact_level { | ^~~~ ../kernel/bpf/verifier.c:18878:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18878 | { | ^ ../kernel/bpf/verifier.c:19000:29: error: storage class specified for parameter ‘unbound_reg’ 19000 | static struct bpf_reg_state unbound_reg; | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:19003:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19003 | { | ^ ../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:19007:1: note: in expansion of macro ‘late_initcall’ 19007 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19007:1: error: parameter ‘__UNIQUE_ID___addressable_unbound_reg_init2523’ is initialized ../kernel/bpf/verifier.c:19007: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:19007:1: note: in expansion of macro ‘late_initcall’ 19007 | 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:19007:15: error: ‘unbound_reg_init’ undeclared (first use in this function); did you mean ‘unbound_reg’? 19007 | 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:19007:1: note: in expansion of macro ‘late_initcall’ 19007 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19007:15: note: each undeclared identifier is reported only once for each function it appears in 19007 | 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:19007:1: note: in expansion of macro ‘late_initcall’ 19007 | 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:19007:1: note: in expansion of macro ‘late_initcall’ 19007 | 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:19007:1: note: in expansion of macro ‘late_initcall’ 19007 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19007:32: error: expected declaration specifiers before ‘;’ token 19007 | late_initcall(unbound_reg_init); | ^ ../kernel/bpf/verifier.c:19011:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19011 | { | ^ ../kernel/bpf/verifier.c:19026:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19026 | { | ^ ../kernel/bpf/verifier.c:19039:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19039 | { | ^ ../kernel/bpf/verifier.c:19163:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19163 | { | ^ ../kernel/bpf/verifier.c:19236:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19236 | { | ^ ../kernel/bpf/verifier.c:19256:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19256 | { | ^ ../kernel/bpf/verifier.c:19265:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19265 | { | ^ ../kernel/bpf/verifier.c:19306:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19306 | { | ^ ../kernel/bpf/verifier.c:19367:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19367 | { | ^ ../kernel/bpf/verifier.c:19397:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19397 | { | ^ ../kernel/bpf/verifier.c:19414:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19414 | { | ^ ../kernel/bpf/verifier.c:19477:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19477 | { | ^ ../kernel/bpf/verifier.c:19501:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19501 | { | ^ ../kernel/bpf/verifier.c:19857:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19857 | { | ^ ../kernel/bpf/verifier.c:19885:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19885 | { | ^ ../kernel/bpf/verifier.c:19891:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19891 | { | ^ ../kernel/bpf/verifier.c:19902:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19902 | { | ^ ../kernel/bpf/verifier.c:19908:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19908 | { | ^ ../kernel/bpf/verifier.c:19954:1: warning: empty declaration 19954 | enum { | ^~~~ ../kernel/bpf/verifier.c:19961:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19961 | { | ^ ../kernel/bpf/verifier.c:20005:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20005 | { | ^ ../kernel/bpf/verifier.c:20164:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20164 | { | ^ ../kernel/bpf/verifier.c:20337:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20337 | { | ^ ../kernel/bpf/verifier.c:20373:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20373 | { | ^ ../kernel/bpf/verifier.c:20411:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20411 | { | ^ ../kernel/bpf/verifier.c:20493:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20493 | { | ^ ../kernel/bpf/verifier.c:20526:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20526 | { | ^ ../kernel/bpf/verifier.c:20540:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20540 | { | ^ ../kernel/bpf/verifier.c:20549:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20549 | { | ^ ../kernel/bpf/verifier.c:20663:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20663 | { | ^ ../kernel/bpf/verifier.c:20701:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20701 | { | ^ ../kernel/bpf/verifier.c:20722:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20722 | { | ^ ../kernel/bpf/verifier.c:20865:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20865 | { | ^ ../kernel/bpf/verifier.c:20872:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20872 | { | ^ ../kernel/bpf/verifier.c:20878:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20878 | { | ^ ../kernel/bpf/verifier.c:20898:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20898 | { | ^ ../kernel/bpf/verifier.c:20926:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20926 | { | ^ ../kernel/bpf/verifier.c:20940:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20940 | { | ^ ../kernel/bpf/verifier.c:20955:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20955 | { | ^ ../kernel/bpf/verifier.c:20989:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20989 | { | ^ ../kernel/bpf/verifier.c:21024:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21024 | { | ^ ../kernel/bpf/verifier.c:21080:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21080 | { | ^ ../kernel/bpf/verifier.c:21143:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21143 | { | ^ ../kernel/bpf/verifier.c:21181:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21181 | { | ^ ../kernel/bpf/verifier.c:21197:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21197 | { | ^ ../kernel/bpf/verifier.c:21211:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21211 | { | ^ ../kernel/bpf/verifier.c:21237:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21237 | { | ^ ../kernel/bpf/verifier.c:21260:30: error: storage class specified for parameter ‘NOP’ 21260 | static const struct bpf_insn NOP = BPF_JMP_IMM(BPF_JA, 0, 0, 0); | ^~~ ../kernel/bpf/verifier.c:21260:21: error: parameter ‘NOP’ is initialized 21260 | static const struct bpf_insn NOP = BPF_JMP_IMM(BPF_JA, 0, 0, 0); | ^~~~~~~~ ../kernel/bpf/verifier.c:21261:30: error: storage class specified for parameter ‘MAY_GOTO_0’ 21261 | static const struct bpf_insn MAY_GOTO_0 = BPF_RAW_INSN(BPF_JMP | BPF_JCOND, 0, 0, 0, 0); | ^~~~~~~~~~ ../kernel/bpf/verifier.c:21261:21: error: parameter ‘MAY_GOTO_0’ is initialized 21261 | static const struct bpf_insn MAY_GOTO_0 = BPF_RAW_INSN(BPF_JMP | BPF_JCOND, 0, 0, 0, 0); | ^~~~~~~~ ../kernel/bpf/verifier.c:21264:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21264 | { | ^ ../kernel/bpf/verifier.c:21290:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21290 | { | ^ ../kernel/bpf/verifier.c:21395:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21395 | { | ^ ../kernel/bpf/verifier.c:21695:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21695 | { | ^ ../kernel/bpf/verifier.c:21961:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21961 | { | ^ ../kernel/bpf/verifier.c:22013:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22013 | { | ^ ../kernel/bpf/verifier.c:22074:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22074 | { | ^ ../kernel/bpf/verifier.c:22087:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22087 | { | ^ ../kernel/bpf/verifier.c:22199:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22199 | { | ^ ../kernel/bpf/verifier.c:22228:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22228 | { | ^ ../kernel/bpf/verifier.c:23151:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23151 | { | ^ ../kernel/bpf/verifier.c:23223:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23223 | { | ^ ../kernel/bpf/verifier.c:23239:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23239 | { | ^ ../kernel/bpf/verifier.c:23287:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23287 | { | ^ ../kernel/bpf/verifier.c:23318:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23318 | { | ^ ../kernel/bpf/verifier.c:23361:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23361 | { | ^ ../kernel/bpf/verifier.c:23510:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23510 | { | ^ ../kernel/bpf/verifier.c:23560:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23560 | { | ^ ../kernel/bpf/verifier.c:23572:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23572 | { | ^ ../kernel/bpf/verifier.c:23597:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23597 | { | ^ ../kernel/bpf/verifier.c:23605:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23605 | { | ^ ../kernel/bpf/verifier.c:23716:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23716 | { | ^ ../kernel/bpf/verifier.c:23727:15: error: storage class specified for parameter ‘btf_non_sleepable_error_inject’ 23727 | 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:23727:1: note: in expansion of macro ‘BTF_SET_START’ 23727 | BTF_SET_START(btf_non_sleepable_error_inject) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23741:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23741 | { | ^ ../kernel/bpf/verifier.c:23750:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23750 | { | ^ ../kernel/bpf/verifier.c:24076:15: error: storage class specified for parameter ‘btf_id_deny’ 24076 | 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:24076:1: note: in expansion of macro ‘BTF_SET_START’ 24076 | BTF_SET_START(btf_id_deny) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24100:15: error: storage class specified for parameter ‘noreturn_deny’ 24100 | 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:24100:1: note: in expansion of macro ‘BTF_SET_START’ 24100 | BTF_SET_START(noreturn_deny) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24124:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24124 | { | ^ ../kernel/bpf/verifier.c:24142:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24142 | { | ^ ../kernel/bpf/verifier.c:24232:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24232 | { | ^ ../kernel/bpf/verifier.c:24248:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24248 | { | ^ ../kernel/bpf/verifier.c:24275:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24275 | { | ^ ../kernel/bpf/verifier.c:24310:1: warning: empty declaration 24310 | struct insn_live_regs { | ^~~~~~ ../kernel/bpf/verifier.c:24324:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24324 | { | ^ ../kernel/bpf/verifier.c:24459:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24459 | { | ^ ../kernel/bpf/verifier.c:24553:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24553 | { | ^ ../kernel/bpf/verifier.c:24726:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24726 | { | ^ ../kernel/bpf/verifier.c:3276:1: error: type of ‘magic_kfuncs’ defaults to ‘int’ [-Wimplicit-int] 3276 | BTF_ID_LIST_END(magic_kfuncs) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24100:15: error: declaration for parameter ‘noreturn_deny’ but no such parameter 24100 | 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:24076:15: error: declaration for parameter ‘btf_id_deny’ but no such parameter 24076 | 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:23727:15: error: declaration for parameter ‘btf_non_sleepable_error_inject’ but no such parameter 23727 | 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:21261:30: error: declaration for parameter ‘MAY_GOTO_0’ but no such parameter 21261 | static const struct bpf_insn MAY_GOTO_0 = BPF_RAW_INSN(BPF_JMP | BPF_JCOND, 0, 0, 0, 0); | ^~~~~~~~~~ ../kernel/bpf/verifier.c:21260:30: error: declaration for parameter ‘NOP’ but no such parameter 21260 | 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:19007:1: note: in expansion of macro ‘late_initcall’ 19007 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19000:29: error: declaration for parameter ‘unbound_reg’ but no such parameter 19000 | static struct bpf_reg_state unbound_reg; | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:13957:12: error: declaration for parameter ‘check_return_code’ but no such parameter 13957 | static int check_return_code(struct bpf_verifier_env *env, int regno, const char *reg_name); | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12398:13: error: declaration for parameter ‘special_kfunc_list’ but no such parameter 12398 | 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:12183:13: error: declaration for parameter ‘kf_arg_btf_ids’ but no such parameter 12183 | 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:12144:13: error: declaration for parameter ‘is_kfunc_arg_prog_aux’ but no such parameter 12144 | static bool is_kfunc_arg_prog_aux(const struct btf *btf, const struct btf_param *arg); | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11051:13: error: declaration for parameter ‘is_rbtree_lock_required_kfunc’ but no such parameter 11051 | static bool is_rbtree_lock_required_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10488:12: error: declaration for parameter ‘set_callee_state’ but no such parameter 10488 | static int set_callee_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10483:15: error: declaration for parameter ‘set_callee_state_fn’ but no such parameter 10483 | typedef int (*set_callee_state_fn)(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9730:13: error: declaration for parameter ‘can_elide_value_nullness’ but no such parameter 9730 | static bool can_elide_value_nullness(enum bpf_map_type type); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9294:36: error: declaration for parameter ‘compatible_reg_types’ but no such parameter 9294 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9287:35: error: declaration for parameter ‘dynptr_types’ but no such parameter 9287 | static const struct bpf_reg_types dynptr_types = { | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:9281:35: error: declaration for parameter ‘kptr_xchg_dest_types’ but no such parameter 9281 | static const struct bpf_reg_types kptr_xchg_dest_types = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9280:35: error: declaration for parameter ‘timer_types’ but no such parameter 9280 | static const struct bpf_reg_types timer_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:9279:35: error: declaration for parameter ‘const_str_ptr_types’ but no such parameter 9279 | static const struct bpf_reg_types const_str_ptr_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9278:35: error: declaration for parameter ‘stack_ptr_types’ but no such parameter 9278 | static const struct bpf_reg_types stack_ptr_types = { .types = { PTR_TO_STACK } }; | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9277:35: error: declaration for parameter ‘func_ptr_types’ but no such parameter 9277 | static const struct bpf_reg_types func_ptr_types = { .types = { PTR_TO_FUNC } }; | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9270:35: error: declaration for parameter ‘percpu_btf_ptr_types’ but no such parameter 9270 | static const struct bpf_reg_types percpu_btf_ptr_types = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9263:35: error: declaration for parameter ‘btf_ptr_types’ but no such parameter 9263 | static const struct bpf_reg_types btf_ptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9262:35: error: declaration for parameter ‘const_map_ptr_types’ but no such parameter 9262 | static const struct bpf_reg_types const_map_ptr_types = { .types = { CONST_PTR_TO_MAP } }; | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9261:35: error: declaration for parameter ‘ringbuf_mem_types’ but no such parameter 9261 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } }; | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9260:35: error: declaration for parameter ‘context_types’ but no such parameter 9260 | static const struct bpf_reg_types context_types = { .types = { PTR_TO_CTX } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9259:35: error: declaration for parameter ‘scalar_types’ but no such parameter 9259 | static const struct bpf_reg_types scalar_types = { .types = { SCALAR_VALUE } }; | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:9258:35: error: declaration for parameter ‘fullsock_types’ but no such parameter 9258 | static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } }; | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9251:35: error: declaration for parameter ‘spin_lock_types’ but no such parameter 9251 | static const struct bpf_reg_types spin_lock_types = { | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9237:35: error: declaration for parameter ‘mem_types’ but no such parameter 9237 | static const struct bpf_reg_types mem_types = { | ^~~~~~~~~ ../kernel/bpf/verifier.c:9224:35: error: declaration for parameter ‘btf_id_sock_common_types’ but no such parameter 9224 | static const struct bpf_reg_types btf_id_sock_common_types = { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9214:35: error: declaration for parameter ‘sock_types’ but no such parameter 9214 | static const struct bpf_reg_types sock_types = { | ^~~~~~~~~~ ../kernel/bpf/verifier.c:8966:13: error: declaration for parameter ‘regs_exact’ but no such parameter 8966 | static bool regs_exact(const struct bpf_reg_state *rold, | ^~~~~~~~~~ ../kernel/bpf/verifier.c:8965:13: error: declaration for parameter ‘reset_idmap_scratch’ but no such parameter 8965 | static void reset_idmap_scratch(struct bpf_verifier_env *env); | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7818:12: error: declaration for parameter ‘save_aux_ptr_type’ but no such parameter 7818 | static int save_aux_ptr_type(struct bpf_verifier_env *env, enum bpf_reg_type type, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6398:13: error: declaration for parameter ‘reg2btf_ids’ but no such parameter 6398 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:5947:15: error: declaration for parameter ‘rcu_protected_types’ but no such parameter 5947 | 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:5567:12: error: declaration for parameter ‘check_stack_range_initialized’ but no such parameter 5567 | static int check_stack_range_initialized(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:25011: 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:3276:1: note: the ABI of passing struct with a flexible array member has changed in GCC 4.4 3276 | BTF_ID_LIST_END(magic_kfuncs) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:25011: 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/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 ../kernel/bpf/verifier.c:3278:1: error: return type defaults to ‘int’ [-Wimplicit-int] 3278 | BTF_ID_LIST_END(magic_kfuncs) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:3278: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:3281:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3281 | { | ^ ../kernel/bpf/verifier.c:3292:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3292 | { | ^ ../kernel/bpf/verifier.c:3303:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3303 | { | ^ ../kernel/bpf/verifier.c:3323:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3323 | { | ^ ../kernel/bpf/verifier.c:3470:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3470 | { | ^ ../kernel/bpf/verifier.c:3482:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3482 | { | ^ ../kernel/bpf/verifier.c:3494:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3494 | { | ^ ../kernel/bpf/verifier.c:3501:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3501 | { | ^ ../kernel/bpf/verifier.c:3518:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3518 | { | ^ ../kernel/bpf/verifier.c:3532:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3532 | { | ^ ../kernel/bpf/verifier.c:3595:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3595 | { | ^ ../kernel/bpf/verifier.c:3648:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3648 | { | ^ ../kernel/bpf/verifier.c:3661:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3661 | { | ^ ../kernel/bpf/verifier.c:3682:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3682 | { | ^ ../kernel/bpf/verifier.c:3687:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3687 | { | ^ ../kernel/bpf/verifier.c:3702:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3702 | { | ^ ../kernel/bpf/verifier.c:3788:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3788 | { | ^ ../kernel/bpf/verifier.c:3812:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3812 | { | ^ ../kernel/bpf/verifier.c:3823:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3823 | { | ^ ../kernel/bpf/verifier.c:3836:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3836 | { | ^ ../kernel/bpf/verifier.c:3879:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3879 | { | ^ ../kernel/bpf/verifier.c:3887:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3887 | { | ^ ../kernel/bpf/verifier.c:3892:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3892 | { | ^ ../kernel/bpf/verifier.c:3897:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3897 | { | ^ ../kernel/bpf/verifier.c:3902:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3902 | { | ^ ../kernel/bpf/verifier.c:3907:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3907 | { | ^ ../kernel/bpf/verifier.c:3922:1: warning: empty declaration 3922 | struct linked_reg { | ^~~~~~ ../kernel/bpf/verifier.c:3931:1: warning: empty declaration 3931 | struct linked_regs { | ^~~~~~ ../kernel/bpf/verifier.c:3937:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3937 | { | ^ ../kernel/bpf/verifier.c:3952:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3952 | { | ^ ../kernel/bpf/verifier.c:3973:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3973 | { | ^ ../kernel/bpf/verifier.c:3992:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 3992 | { | ^ ../kernel/bpf/verifier.c:4034:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4034 | { | ^ ../kernel/bpf/verifier.c:4055:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4055 | { | ^ ../kernel/bpf/verifier.c:4075:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4075 | { | ^ ../kernel/bpf/verifier.c:4091:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4091 | { | ^ ../kernel/bpf/verifier.c:4102:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4102 | { | ^ ../kernel/bpf/verifier.c:4107:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4107 | { | ^ ../kernel/bpf/verifier.c:4115:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4115 | { | ^ ../kernel/bpf/verifier.c:4126:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4126 | { | ^ ../kernel/bpf/verifier.c:4136:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4136 | { | ^ ../kernel/bpf/verifier.c:4146:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4146 | { | ^ ../kernel/bpf/verifier.c:4151:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4151 | { | ^ ../kernel/bpf/verifier.c:4156:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4156 | { | ^ ../kernel/bpf/verifier.c:4161:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4161 | { | ^ ../kernel/bpf/verifier.c:4166:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4166 | { | ^ ../kernel/bpf/verifier.c:4171:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4171 | { | ^ ../kernel/bpf/verifier.c:4176:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4176 | { | ^ ../kernel/bpf/verifier.c:4181:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4181 | { | ^ ../kernel/bpf/verifier.c:4186:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4186 | { | ^ ../kernel/bpf/verifier.c:4191:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4191 | { | ^ ../kernel/bpf/verifier.c:4196:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4196 | { | ^ ../kernel/bpf/verifier.c:4201:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4201 | { | ^ ../kernel/bpf/verifier.c:4206:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4206 | { | ^ ../kernel/bpf/verifier.c:4212:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4212 | { | ^ ../kernel/bpf/verifier.c:4231:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4231 | { | ^ ../kernel/bpf/verifier.c:4253:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4253 | { | ^ ../kernel/bpf/verifier.c:4296:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4296 | { | ^ ../kernel/bpf/verifier.c:4636:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4636 | { | ^ ../kernel/bpf/verifier.c:4682:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4682 | { | ^ ../kernel/bpf/verifier.c:4797:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4797 | { | ^ ../kernel/bpf/verifier.c:4979:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4979 | { | ^ ../kernel/bpf/verifier.c:4988:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4988 | { | ^ ../kernel/bpf/verifier.c:4993:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 4993 | { | ^ ../kernel/bpf/verifier.c:5021:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5021 | { | ^ ../kernel/bpf/verifier.c:5027:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5027 | { | ^ ../kernel/bpf/verifier.c:5034:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5034 | { | ^ ../kernel/bpf/verifier.c:5040:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5040 | { | ^ ../kernel/bpf/verifier.c:5049:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5049 | { | ^ ../kernel/bpf/verifier.c:5073:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5073 | { | ^ ../kernel/bpf/verifier.c:5081:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5081 | { | ^ ../kernel/bpf/verifier.c:5095:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5095 | { | ^ ../kernel/bpf/verifier.c:5100:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5100 | { | ^ ../kernel/bpf/verifier.c:5107:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5107 | { | ^ ../kernel/bpf/verifier.c:5137:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5137 | { | ^ ../kernel/bpf/verifier.c:5283:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5283 | { | ^ ../kernel/bpf/verifier.c:5400:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5400 | { | ^ ../kernel/bpf/verifier.c:5440:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5440 | { | ^ ../kernel/bpf/verifier.c:5564:1: warning: empty declaration 5564 | enum bpf_access_src { | ^~~~ ../kernel/bpf/verifier.c:5569:12: error: storage class specified for parameter ‘check_stack_range_initialized’ 5569 | static int check_stack_range_initialized(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5576:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5576 | { | ^ ../kernel/bpf/verifier.c:5595:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5595 | { | ^ ../kernel/bpf/verifier.c:5628:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5628 | { | ^ ../kernel/bpf/verifier.c:5685:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5685 | { | ^ ../kernel/bpf/verifier.c:5707:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5707 | { | ^ ../kernel/bpf/verifier.c:5731:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5731 | { | ^ ../kernel/bpf/verifier.c:5767:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5767 | { | ^ ../kernel/bpf/verifier.c:5822:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5822 | { | ^ ../kernel/bpf/verifier.c:5853:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5853 | { | ^ ../kernel/bpf/verifier.c:5860:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5860 | { | ^ ../kernel/bpf/verifier.c:5934:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5934 | { | ^ ../kernel/bpf/verifier.c:5942:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5942 | { | ^ 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:5949:15: error: storage class specified for parameter ‘rcu_protected_types’ 5949 | 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:5949:1: note: in expansion of macro ‘BTF_SET_START’ 5949 | BTF_SET_START(rcu_protected_types) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:5966:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5966 | { | ^ ../kernel/bpf/verifier.c:5973:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5973 | { | ^ ../kernel/bpf/verifier.c:5986:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5986 | { | ^ ../kernel/bpf/verifier.c:5994:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 5994 | { | ^ ../kernel/bpf/verifier.c:6018:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6018 | { | ^ ../kernel/bpf/verifier.c:6035:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6035 | { | ^ ../kernel/bpf/verifier.c:6100:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6100 | { | ^ ../kernel/bpf/verifier.c:6168:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6168 | { | ^ ../kernel/bpf/verifier.c:6209:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6209 | { | ^ ../kernel/bpf/verifier.c:6252:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6252 | { | ^ ../kernel/bpf/verifier.c:6284:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6284 | { | ^ ../kernel/bpf/verifier.c:6297:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6297 | { | ^ ../kernel/bpf/verifier.c:6340:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6340 | { | ^ ../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:6366:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6366 | { | ^ ../kernel/bpf/verifier.c:6374:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6374 | { | ^ ../kernel/bpf/verifier.c:6385:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6385 | { | ^ ../kernel/bpf/verifier.c:6400:13: error: storage class specified for parameter ‘reg2btf_ids’ 6400 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:6400:1: error: parameter ‘reg2btf_ids’ is initialized 6400 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { | ^~~~~~ ../kernel/bpf/verifier.c:6400:47: error: variable-sized object may not be initialized except with an empty initializer 6400 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { | ^ ../kernel/bpf/verifier.c:6402:10: error: array index in non-array initializer 6402 | [PTR_TO_SOCKET] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK], | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6402:10: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6402:27: error: initialization of ‘u32 **’ {aka ‘unsigned int **’} from incompatible pointer type ‘u32 *’ {aka ‘unsigned int *’} [-Wincompatible-pointer-types] 6402 | [PTR_TO_SOCKET] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK], | ^ ../kernel/bpf/verifier.c:6402:27: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6403:10: error: array index in non-array initializer 6403 | [PTR_TO_SOCK_COMMON] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON], | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6403:10: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6403:32: warning: excess elements in scalar initializer 6403 | [PTR_TO_SOCK_COMMON] = &btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON], | ^ ../kernel/bpf/verifier.c:6403:32: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6404:10: error: array index in non-array initializer 6404 | [PTR_TO_TCP_SOCK] = &btf_sock_ids[BTF_SOCK_TYPE_TCP], | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6404:10: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6404:29: warning: excess elements in scalar initializer 6404 | [PTR_TO_TCP_SOCK] = &btf_sock_ids[BTF_SOCK_TYPE_TCP], | ^ ../kernel/bpf/verifier.c:6404:29: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6406:10: error: array index in non-array initializer 6406 | [CONST_PTR_TO_MAP] = btf_bpf_map_id, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6406:10: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6406:30: warning: excess elements in scalar initializer 6406 | [CONST_PTR_TO_MAP] = btf_bpf_map_id, | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6406:30: note: (near initialization for ‘reg2btf_ids’) ../kernel/bpf/verifier.c:6410:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6410 | { | ^ ../kernel/bpf/verifier.c:6434:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6434 | { | ^ ../kernel/bpf/verifier.c:6439:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6439 | { | ^ ../kernel/bpf/verifier.c:6446:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6446 | { | ^ ../kernel/bpf/verifier.c:6482:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6482 | { | ^ ../kernel/bpf/verifier.c:6505:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6505 | { | ^ ../kernel/bpf/verifier.c:6558:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6558 | { | ^ ../kernel/bpf/verifier.c:6586:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6586 | { | ^ ../kernel/bpf/verifier.c:6604:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6604 | { | ^ ../kernel/bpf/verifier.c:6764:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6764 | { | ^ ../kernel/bpf/verifier.c:6824:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6824 | { | ^ ../kernel/bpf/verifier.c:6847:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6847 | { | ^ ../kernel/bpf/verifier.c:6865:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6865 | { | ^ ../kernel/bpf/verifier.c:6881:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6881 | { | ^ ../kernel/bpf/verifier.c:6890:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6890 | { | ^ ../kernel/bpf/verifier.c:6919:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6919 | { | ^ ../kernel/bpf/verifier.c:6938:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6938 | { | ^ ../kernel/bpf/verifier.c:6997:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 6997 | { | ^ ../kernel/bpf/verifier.c:7012:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7012 | { | ^ ../kernel/bpf/verifier.c:7062:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7062 | { | ^ ../kernel/bpf/verifier.c:7083:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7083 | { | ^ In file included from : ../kernel/bpf/verifier.c:7124:19: warning: empty declaration 7124 | 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:7112:36: note: in expansion of macro ‘__PASTE’ 7112 | #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 task_struct) { | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7131:19: warning: empty declaration 7131 | 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:7112:36: note: in expansion of macro ‘__PASTE’ 7112 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) | ^~~~~~~ ../kernel/bpf/verifier.c:7131:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ 7131 | BTF_TYPE_SAFE_RCU(struct cgroup) { | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7136:19: warning: empty declaration 7136 | 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:7112:36: note: in expansion of macro ‘__PASTE’ 7112 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) | ^~~~~~~ ../kernel/bpf/verifier.c:7136:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ 7136 | BTF_TYPE_SAFE_RCU(struct css_set) { | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7140:19: warning: empty declaration 7140 | 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:7112:36: note: in expansion of macro ‘__PASTE’ 7112 | #define BTF_TYPE_SAFE_RCU(__type) __PASTE(__type, __safe_rcu) | ^~~~~~~ ../kernel/bpf/verifier.c:7140:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU’ 7140 | BTF_TYPE_SAFE_RCU(struct cgroup_subsys_state) { | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7145:27: warning: empty declaration 7145 | 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:7113:44: note: in expansion of macro ‘__PASTE’ 7113 | #define BTF_TYPE_SAFE_RCU_OR_NULL(__type) __PASTE(__type, __safe_rcu_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7145:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU_OR_NULL’ 7145 | BTF_TYPE_SAFE_RCU_OR_NULL(struct mm_struct) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7155:27: warning: empty declaration 7155 | 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:7113:44: note: in expansion of macro ‘__PASTE’ 7113 | #define BTF_TYPE_SAFE_RCU_OR_NULL(__type) __PASTE(__type, __safe_rcu_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7155:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU_OR_NULL’ 7155 | BTF_TYPE_SAFE_RCU_OR_NULL(struct sk_buff) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7159:27: warning: empty declaration 7159 | 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:7113:44: note: in expansion of macro ‘__PASTE’ 7113 | #define BTF_TYPE_SAFE_RCU_OR_NULL(__type) __PASTE(__type, __safe_rcu_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7159:1: note: in expansion of macro ‘BTF_TYPE_SAFE_RCU_OR_NULL’ 7159 | BTF_TYPE_SAFE_RCU_OR_NULL(struct request_sock) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7164:23: warning: empty declaration 7164 | 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:7114:40: note: in expansion of macro ‘__PASTE’ 7114 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) | ^~~~~~~ ../kernel/bpf/verifier.c:7164:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ 7164 | BTF_TYPE_SAFE_TRUSTED(struct bpf_iter_meta) { | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7168:23: warning: empty declaration 7168 | 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:7114:40: note: in expansion of macro ‘__PASTE’ 7114 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) | ^~~~~~~ ../kernel/bpf/verifier.c:7168:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ 7168 | BTF_TYPE_SAFE_TRUSTED(struct bpf_iter__task) { | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7173:23: warning: empty declaration 7173 | 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:7114:40: note: in expansion of macro ‘__PASTE’ 7114 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) | ^~~~~~~ ../kernel/bpf/verifier.c:7173:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ 7173 | BTF_TYPE_SAFE_TRUSTED(struct linux_binprm) { | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7177:23: warning: empty declaration 7177 | 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:7114:40: note: in expansion of macro ‘__PASTE’ 7114 | #define BTF_TYPE_SAFE_TRUSTED(__type) __PASTE(__type, __safe_trusted) | ^~~~~~~ ../kernel/bpf/verifier.c:7177:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED’ 7177 | BTF_TYPE_SAFE_TRUSTED(struct file) { | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7181:31: warning: empty declaration 7181 | 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:7115:48: note: in expansion of macro ‘__PASTE’ 7115 | #define BTF_TYPE_SAFE_TRUSTED_OR_NULL(__type) __PASTE(__type, __safe_trusted_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7181:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED_OR_NULL’ 7181 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct dentry) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7185:31: warning: empty declaration 7185 | 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:7115:48: note: in expansion of macro ‘__PASTE’ 7115 | #define BTF_TYPE_SAFE_TRUSTED_OR_NULL(__type) __PASTE(__type, __safe_trusted_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7185:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED_OR_NULL’ 7185 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct socket) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7189:31: warning: empty declaration 7189 | 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:7115:48: note: in expansion of macro ‘__PASTE’ 7115 | #define BTF_TYPE_SAFE_TRUSTED_OR_NULL(__type) __PASTE(__type, __safe_trusted_or_null) | ^~~~~~~ ../kernel/bpf/verifier.c:7189:1: note: in expansion of macro ‘BTF_TYPE_SAFE_TRUSTED_OR_NULL’ 7189 | BTF_TYPE_SAFE_TRUSTED_OR_NULL(struct vm_area_struct) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7197:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7197 | { | ^ ../kernel/bpf/verifier.c:7209:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7209 | { | ^ ../kernel/bpf/verifier.c:7220:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7220 | { | ^ ../kernel/bpf/verifier.c:7232:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7232 | { | ^ ../kernel/bpf/verifier.c:7246:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7246 | { | ^ ../kernel/bpf/verifier.c:7399:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7399 | { | ^ ../kernel/bpf/verifier.c:7470:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7470 | { | ^ ../kernel/bpf/verifier.c:7492:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7492 | { | ^ ../kernel/bpf/verifier.c:7550:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7550 | { | ^ ../kernel/bpf/verifier.c:7568:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7568 | { | ^ ../kernel/bpf/verifier.c:7820:12: error: storage class specified for parameter ‘save_aux_ptr_type’ 7820 | static int save_aux_ptr_type(struct bpf_verifier_env *env, enum bpf_reg_type type, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7826:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7826 | { | ^ ../kernel/bpf/verifier.c:7858:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7858 | { | ^ ../kernel/bpf/verifier.c:7886:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7886 | { | ^ ../kernel/bpf/verifier.c:7975:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7975 | { | ^ ../kernel/bpf/verifier.c:7994:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 7994 | { | ^ ../kernel/bpf/verifier.c:8012:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8012 | { | ^ ../kernel/bpf/verifier.c:8060:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8060 | { | ^ ../kernel/bpf/verifier.c:8206:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8206 | { | ^ ../kernel/bpf/verifier.c:8304:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8304 | { | ^ ../kernel/bpf/verifier.c:8351:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8351 | { | ^ ../kernel/bpf/verifier.c:8379:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8379 | { | ^ ../kernel/bpf/verifier.c:8404:1: warning: empty declaration 8404 | enum { | ^~~~ ../kernel/bpf/verifier.c:8433:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8433 | { | ^ ../kernel/bpf/verifier.c:8551:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8551 | { | ^ ../kernel/bpf/verifier.c:8598:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8598 | { | ^ ../kernel/bpf/verifier.c:8622:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8622 | { | ^ ../kernel/bpf/verifier.c:8643:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8643 | { | ^ ../kernel/bpf/verifier.c:8663:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8663 | { | ^ ../kernel/bpf/verifier.c:8736:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8736 | { | ^ ../kernel/bpf/verifier.c:8815:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8815 | { | ^ ../kernel/bpf/verifier.c:8822:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8822 | { | ^ ../kernel/bpf/verifier.c:8827:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8827 | { | ^ ../kernel/bpf/verifier.c:8832:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8832 | { | ^ ../kernel/bpf/verifier.c:8837:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8837 | { | ^ ../kernel/bpf/verifier.c:8843:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8843 | { | ^ ../kernel/bpf/verifier.c:8856:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8856 | { | ^ ../kernel/bpf/verifier.c:8946:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8946 | { | ^ ../kernel/bpf/verifier.c:8967:13: error: storage class specified for parameter ‘reset_idmap_scratch’ 8967 | static void reset_idmap_scratch(struct bpf_verifier_env *env); | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:8968:13: error: storage class specified for parameter ‘regs_exact’ 8968 | static bool regs_exact(const struct bpf_reg_state *rold, | ^~~~~~~~~~ ../kernel/bpf/verifier.c:8975:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8975 | { | ^ ../kernel/bpf/verifier.c:8988:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 8988 | { | ^ ../kernel/bpf/verifier.c:9019:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9019 | { | ^ ../kernel/bpf/verifier.c:9106:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9106 | { | ^ ../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:9172:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9172 | { | ^ ../kernel/bpf/verifier.c:9177:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9177 | { | ^ ../kernel/bpf/verifier.c:9184:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9184 | { | ^ ../kernel/bpf/verifier.c:9211:1: warning: empty declaration 9211 | struct bpf_reg_types { | ^~~~~~ ../kernel/bpf/verifier.c:9216:35: error: storage class specified for parameter ‘sock_types’ 9216 | static const struct bpf_reg_types sock_types = { | ^~~~~~~~~~ ../kernel/bpf/verifier.c:9216:21: error: parameter ‘sock_types’ is initialized 9216 | static const struct bpf_reg_types sock_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9226:35: error: storage class specified for parameter ‘btf_id_sock_common_types’ 9226 | static const struct bpf_reg_types btf_id_sock_common_types = { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9226:21: error: parameter ‘btf_id_sock_common_types’ is initialized 9226 | static const struct bpf_reg_types btf_id_sock_common_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9239:35: error: storage class specified for parameter ‘mem_types’ 9239 | static const struct bpf_reg_types mem_types = { | ^~~~~~~~~ ../kernel/bpf/verifier.c:9239:21: error: parameter ‘mem_types’ is initialized 9239 | static const struct bpf_reg_types mem_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9253:35: error: storage class specified for parameter ‘spin_lock_types’ 9253 | static const struct bpf_reg_types spin_lock_types = { | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9253:21: error: parameter ‘spin_lock_types’ is initialized 9253 | static const struct bpf_reg_types spin_lock_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9260:35: error: storage class specified for parameter ‘fullsock_types’ 9260 | static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } }; | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9260:21: error: parameter ‘fullsock_types’ is initialized 9260 | static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9261:35: error: storage class specified for parameter ‘scalar_types’ 9261 | static const struct bpf_reg_types scalar_types = { .types = { SCALAR_VALUE } }; | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:9261:21: error: parameter ‘scalar_types’ is initialized 9261 | static const struct bpf_reg_types scalar_types = { .types = { SCALAR_VALUE } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9262:35: error: storage class specified for parameter ‘context_types’ 9262 | static const struct bpf_reg_types context_types = { .types = { PTR_TO_CTX } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9262:21: error: parameter ‘context_types’ is initialized 9262 | static const struct bpf_reg_types context_types = { .types = { PTR_TO_CTX } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9263:35: error: storage class specified for parameter ‘ringbuf_mem_types’ 9263 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } }; | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9263:21: error: parameter ‘ringbuf_mem_types’ is initialized 9263 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9264:35: error: storage class specified for parameter ‘const_map_ptr_types’ 9264 | static const struct bpf_reg_types const_map_ptr_types = { .types = { CONST_PTR_TO_MAP } }; | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9264:21: error: parameter ‘const_map_ptr_types’ is initialized 9264 | static const struct bpf_reg_types const_map_ptr_types = { .types = { CONST_PTR_TO_MAP } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9265:35: error: storage class specified for parameter ‘btf_ptr_types’ 9265 | static const struct bpf_reg_types btf_ptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9265:21: error: parameter ‘btf_ptr_types’ is initialized 9265 | static const struct bpf_reg_types btf_ptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9272:35: error: storage class specified for parameter ‘percpu_btf_ptr_types’ 9272 | static const struct bpf_reg_types percpu_btf_ptr_types = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9272:21: error: parameter ‘percpu_btf_ptr_types’ is initialized 9272 | static const struct bpf_reg_types percpu_btf_ptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9279:35: error: storage class specified for parameter ‘func_ptr_types’ 9279 | static const struct bpf_reg_types func_ptr_types = { .types = { PTR_TO_FUNC } }; | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9279:21: error: parameter ‘func_ptr_types’ is initialized 9279 | static const struct bpf_reg_types func_ptr_types = { .types = { PTR_TO_FUNC } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9280:35: error: storage class specified for parameter ‘stack_ptr_types’ 9280 | static const struct bpf_reg_types stack_ptr_types = { .types = { PTR_TO_STACK } }; | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9280:21: error: parameter ‘stack_ptr_types’ is initialized 9280 | static const struct bpf_reg_types stack_ptr_types = { .types = { PTR_TO_STACK } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9281:35: error: storage class specified for parameter ‘const_str_ptr_types’ 9281 | static const struct bpf_reg_types const_str_ptr_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9281:21: error: parameter ‘const_str_ptr_types’ is initialized 9281 | static const struct bpf_reg_types const_str_ptr_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9282:35: error: storage class specified for parameter ‘timer_types’ 9282 | static const struct bpf_reg_types timer_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:9282:21: error: parameter ‘timer_types’ is initialized 9282 | static const struct bpf_reg_types timer_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9283:35: error: storage class specified for parameter ‘kptr_xchg_dest_types’ 9283 | static const struct bpf_reg_types kptr_xchg_dest_types = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9283:21: error: parameter ‘kptr_xchg_dest_types’ is initialized 9283 | static const struct bpf_reg_types kptr_xchg_dest_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9289:35: error: storage class specified for parameter ‘dynptr_types’ 9289 | static const struct bpf_reg_types dynptr_types = { | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:9289:21: error: parameter ‘dynptr_types’ is initialized 9289 | static const struct bpf_reg_types dynptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9296:36: error: storage class specified for parameter ‘compatible_reg_types’ 9296 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9296:21: error: parameter ‘compatible_reg_types’ is initialized 9296 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9296:79: error: variable-sized object may not be initialized except with an empty initializer 9296 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { | ^ ../kernel/bpf/verifier.c:9297:10: error: array index in non-array initializer 9297 | [ARG_PTR_TO_MAP_KEY] = &mem_types, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9297:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9297:43: error: initialization of ‘const struct bpf_reg_types **’ from incompatible pointer type ‘const struct bpf_reg_types *’ [-Wincompatible-pointer-types] 9297 | [ARG_PTR_TO_MAP_KEY] = &mem_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_MAP_VALUE] = &mem_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_MAP_VALUE] = &mem_types, | ^ ../kernel/bpf/verifier.c:9298:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9299:10: error: array index in non-array initializer 9299 | [ARG_CONST_SIZE] = &scalar_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_CONST_SIZE] = &scalar_types, | ^ ../kernel/bpf/verifier.c:9299:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9300:10: error: array index in non-array initializer 9300 | [ARG_CONST_SIZE_OR_ZERO] = &scalar_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_CONST_SIZE_OR_ZERO] = &scalar_types, | ^ ../kernel/bpf/verifier.c:9300:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9301:10: error: array index in non-array initializer 9301 | [ARG_CONST_ALLOC_SIZE_OR_ZERO] = &scalar_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_CONST_ALLOC_SIZE_OR_ZERO] = &scalar_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_CONST_MAP_PTR] = &const_map_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_CONST_MAP_PTR] = &const_map_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_CTX] = &context_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_CTX] = &context_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_SOCK_COMMON] = &sock_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_SOCK_COMMON] = &sock_types, | ^ ../kernel/bpf/verifier.c:9304: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_BTF_ID_SOCK_COMMON] = &btf_id_sock_common_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_BTF_ID_SOCK_COMMON] = &btf_id_sock_common_types, | ^ ../kernel/bpf/verifier.c:9306: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_SOCKET] = &fullsock_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_SOCKET] = &fullsock_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_BTF_ID] = &btf_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_BTF_ID] = &btf_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_SPIN_LOCK] = &spin_lock_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_SPIN_LOCK] = &spin_lock_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_MEM] = &mem_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_MEM] = &mem_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_RINGBUF_MEM] = &ringbuf_mem_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_RINGBUF_MEM] = &ringbuf_mem_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_PERCPU_BTF_ID] = &percpu_btf_ptr_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_PERCPU_BTF_ID] = &percpu_btf_ptr_types, | ^ ../kernel/bpf/verifier.c:9313:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9314:10: error: array index in non-array initializer 9314 | [ARG_PTR_TO_FUNC] = &func_ptr_types, | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9314:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9314:43: warning: excess elements in scalar initializer 9314 | [ARG_PTR_TO_FUNC] = &func_ptr_types, | ^ ../kernel/bpf/verifier.c:9314:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9315:10: error: array index in non-array initializer 9315 | [ARG_PTR_TO_STACK] = &stack_ptr_types, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9315:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9315:43: warning: excess elements in scalar initializer 9315 | [ARG_PTR_TO_STACK] = &stack_ptr_types, | ^ ../kernel/bpf/verifier.c:9315:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9316:10: error: array index in non-array initializer 9316 | [ARG_PTR_TO_CONST_STR] = &const_str_ptr_types, | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9316:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9316:43: warning: excess elements in scalar initializer 9316 | [ARG_PTR_TO_CONST_STR] = &const_str_ptr_types, | ^ ../kernel/bpf/verifier.c:9316:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9317:10: error: array index in non-array initializer 9317 | [ARG_PTR_TO_TIMER] = &timer_types, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9317:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9317:43: warning: excess elements in scalar initializer 9317 | [ARG_PTR_TO_TIMER] = &timer_types, | ^ ../kernel/bpf/verifier.c:9317:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9318:10: error: array index in non-array initializer 9318 | [ARG_KPTR_XCHG_DEST] = &kptr_xchg_dest_types, | ^~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9318:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9318:43: warning: excess elements in scalar initializer 9318 | [ARG_KPTR_XCHG_DEST] = &kptr_xchg_dest_types, | ^ ../kernel/bpf/verifier.c:9318:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9319:10: error: array index in non-array initializer 9319 | [ARG_PTR_TO_DYNPTR] = &dynptr_types, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9319:10: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9319:43: warning: excess elements in scalar initializer 9319 | [ARG_PTR_TO_DYNPTR] = &dynptr_types, | ^ ../kernel/bpf/verifier.c:9319:43: note: (near initialization for ‘compatible_reg_types’) ../kernel/bpf/verifier.c:9326:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9326 | { | ^ ../kernel/bpf/verifier.c:9471:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9471 | { | ^ ../kernel/bpf/verifier.c:9489:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9489 | { | ^ ../kernel/bpf/verifier.c:9560:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9560 | { | ^ ../kernel/bpf/verifier.c:9580:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9580 | { | ^ ../kernel/bpf/verifier.c:9593:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9593 | { | ^ ../kernel/bpf/verifier.c:9607:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9607 | { | ^ ../kernel/bpf/verifier.c:9625:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9625 | { | ^ ../kernel/bpf/verifier.c:9676:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9676 | { | ^ ../kernel/bpf/verifier.c:9732:13: error: storage class specified for parameter ‘can_elide_value_nullness’ 9732 | static bool can_elide_value_nullness(enum bpf_map_type type); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9738:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 9738 | { | ^ ../kernel/bpf/verifier.c:10005:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10005 | { | ^ ../kernel/bpf/verifier.c:10043:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10043 | { | ^ ../kernel/bpf/verifier.c:10050:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10050 | { | ^ ../kernel/bpf/verifier.c:10300:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10300 | { | ^ ../kernel/bpf/verifier.c:10322:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10322 | { | ^ ../kernel/bpf/verifier.c:10337:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10337 | { | ^ ../kernel/bpf/verifier.c:10355:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10355 | { | ^ ../kernel/bpf/verifier.c:10374:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10374 | { | ^ ../kernel/bpf/verifier.c:10387:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10387 | { | ^ ../kernel/bpf/verifier.c:10397:1: warning: empty declaration 10397 | enum { | ^~~~ ../kernel/bpf/verifier.c:10403:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10403 | { | ^ ../kernel/bpf/verifier.c:10424:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10424 | { | ^ ../kernel/bpf/verifier.c:10444:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10444 | { | ^ ../kernel/bpf/verifier.c:10463:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10463 | { | ^ ../kernel/bpf/verifier.c:10475:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10475 | { | ^ ../kernel/bpf/verifier.c:10485:15: error: storage class specified for parameter ‘set_callee_state_fn’ 10485 | typedef int (*set_callee_state_fn)(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10490:12: error: storage class specified for parameter ‘set_callee_state’ 10490 | static int set_callee_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10495:29: error: expected declaration specifiers or ‘...’ before ‘set_callee_state_fn’ 10495 | set_callee_state_fn set_callee_state_cb, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10545:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10545 | { | ^ ../kernel/bpf/verifier.c:10645:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10645 | { | ^ ../kernel/bpf/verifier.c:10673:31: error: expected declaration specifiers or ‘...’ before ‘set_callee_state_fn’ 10673 | set_callee_state_fn set_callee_state_cb) | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10742:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10742 | { | ^ ../kernel/bpf/verifier.c:10824:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10824 | { | ^ ../kernel/bpf/verifier.c:10851:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10851 | { | ^ ../kernel/bpf/verifier.c:10866:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10866 | { | ^ ../kernel/bpf/verifier.c:10892:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10892 | { | ^ ../kernel/bpf/verifier.c:10914:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10914 | { | ^ ../kernel/bpf/verifier.c:10944:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10944 | { | ^ ../kernel/bpf/verifier.c:10972:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10972 | { | ^ ../kernel/bpf/verifier.c:10995:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 10995 | { | ^ ../kernel/bpf/verifier.c:11027:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11027 | { | ^ ../kernel/bpf/verifier.c:11053:13: error: storage class specified for parameter ‘is_rbtree_lock_required_kfunc’ 11053 | static bool is_rbtree_lock_required_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11060:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11060 | { | ^ ../kernel/bpf/verifier.c:11080:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11080 | { | ^ ../kernel/bpf/verifier.c:11088:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11088 | { | ^ ../kernel/bpf/verifier.c:11181:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11181 | { | ^ ../kernel/bpf/verifier.c:11218:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11218 | { | ^ ../kernel/bpf/verifier.c:11264:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11264 | { | ^ ../kernel/bpf/verifier.c:11299:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11299 | { | ^ ../kernel/bpf/verifier.c:11326:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11326 | { | ^ ../kernel/bpf/verifier.c:11360:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11360 | { | ^ ../kernel/bpf/verifier.c:11397:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11397 | { | ^ ../kernel/bpf/verifier.c:11418:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11418 | { | ^ ../kernel/bpf/verifier.c:11423:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11423 | { | ^ ../kernel/bpf/verifier.c:11435:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11435 | { | ^ ../kernel/bpf/verifier.c:11457:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11457 | { | ^ ../kernel/bpf/verifier.c:11469:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11469 | { | ^ ../kernel/bpf/verifier.c:11482:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11482 | { | ^ ../kernel/bpf/verifier.c:11491:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 11491 | { | ^ ../kernel/bpf/verifier.c:12011:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12011 | { | ^ ../kernel/bpf/verifier.c:12026:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12026 | { | ^ ../kernel/bpf/verifier.c:12031:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12031 | { | ^ ../kernel/bpf/verifier.c:12036:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12036 | { | ^ ../kernel/bpf/verifier.c:12041:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12041 | { | ^ ../kernel/bpf/verifier.c:12046:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12046 | { | ^ ../kernel/bpf/verifier.c:12051:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12051 | { | ^ ../kernel/bpf/verifier.c:12056:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12056 | { | ^ ../kernel/bpf/verifier.c:12061:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12061 | { | ^ ../kernel/bpf/verifier.c:12068:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12068 | { | ^ ../kernel/bpf/verifier.c:12081:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12081 | { | ^ ../kernel/bpf/verifier.c:12092:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12092 | { | ^ ../kernel/bpf/verifier.c:12097:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12097 | { | ^ ../kernel/bpf/verifier.c:12102:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12102 | { | ^ ../kernel/bpf/verifier.c:12107:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12107 | { | ^ ../kernel/bpf/verifier.c:12112:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12112 | { | ^ ../kernel/bpf/verifier.c:12117:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12117 | { | ^ ../kernel/bpf/verifier.c:12122:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12122 | { | ^ ../kernel/bpf/verifier.c:12127:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12127 | { | ^ ../kernel/bpf/verifier.c:12132:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12132 | { | ^ ../kernel/bpf/verifier.c:12137:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12137 | { | ^ ../kernel/bpf/verifier.c:12142:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12142 | { | ^ ../kernel/bpf/verifier.c:12146:13: error: storage class specified for parameter ‘is_kfunc_arg_prog_aux’ 12146 | static bool is_kfunc_arg_prog_aux(const struct btf *btf, const struct btf_param *arg); | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12149:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12149 | { | ^ ../kernel/bpf/verifier.c:12157:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12157 | { | ^ ../kernel/bpf/verifier.c:12173:1: warning: empty declaration 12173 | enum { | ^~~~ ../kernel/bpf/verifier.c:12185:13: error: storage class specified for parameter ‘kf_arg_btf_ids’ 12185 | 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:12198:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12198 | { | ^ ../kernel/bpf/verifier.c:12214:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12214 | { | ^ ../kernel/bpf/verifier.c:12219:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12219 | { | ^ ../kernel/bpf/verifier.c:12224:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12224 | { | ^ ../kernel/bpf/verifier.c:12229:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12229 | { | ^ ../kernel/bpf/verifier.c:12234:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12234 | { | ^ ../kernel/bpf/verifier.c:12239:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12239 | { | ^ ../kernel/bpf/verifier.c:12244:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12244 | { | ^ ../kernel/bpf/verifier.c:12249:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12249 | { | ^ ../kernel/bpf/verifier.c:12254:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12254 | { | ^ ../kernel/bpf/verifier.c:12259:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12259 | { | ^ ../kernel/bpf/verifier.c:12265:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12265 | { | ^ ../kernel/bpf/verifier.c:12276:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12276 | { | ^ ../kernel/bpf/verifier.c:12284:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12284 | { | ^ ../kernel/bpf/verifier.c:12320:1: warning: empty declaration 12320 | enum kfunc_ptr_arg_type { | ^~~~ ../kernel/bpf/verifier.c:12343:1: warning: empty declaration 12343 | enum special_kfunc_type { | ^~~~ ../kernel/bpf/verifier.c:12400:13: error: storage class specified for parameter ‘special_kfunc_list’ 12400 | 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:12477:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12477 | { | ^ ../kernel/bpf/verifier.c:12485:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12485 | { | ^ ../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:12505:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12505 | { | ^ ../kernel/bpf/verifier.c:12510:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12510 | { | ^ ../kernel/bpf/verifier.c:12515:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12515 | { | ^ ../kernel/bpf/verifier.c:12525:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12525 | { | ^ ../kernel/bpf/verifier.c:12624:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12624 | { | ^ ../kernel/bpf/verifier.c:12692:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12692 | { | ^ ../kernel/bpf/verifier.c:12745:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12745 | { | ^ ../kernel/bpf/verifier.c:12766:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12766 | { | ^ ../kernel/bpf/verifier.c:12842:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12842 | { | ^ ../kernel/bpf/verifier.c:12871:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12871 | { | ^ ../kernel/bpf/verifier.c:12881:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12881 | { | ^ ../kernel/bpf/verifier.c:12891:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12891 | { | ^ ../kernel/bpf/verifier.c:12898:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12898 | { | ^ ../kernel/bpf/verifier.c:12904:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12904 | { | ^ ../kernel/bpf/verifier.c:12912:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12912 | { | ^ ../kernel/bpf/verifier.c:12918:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12918 | { | ^ ../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:12941:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12941 | { | ^ ../kernel/bpf/verifier.c:12947:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12947 | { | ^ ../kernel/bpf/verifier.c:12954:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12954 | { | ^ ../kernel/bpf/verifier.c:12979:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 12979 | { | ^ ../kernel/bpf/verifier.c:13011:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13011 | { | ^ ../kernel/bpf/verifier.c:13059:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13059 | { | ^ ../kernel/bpf/verifier.c:13067:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13067 | { | ^ ../kernel/bpf/verifier.c:13079:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13079 | { | ^ ../kernel/bpf/verifier.c:13140:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13140 | { | ^ ../kernel/bpf/verifier.c:13149:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13149 | { | ^ ../kernel/bpf/verifier.c:13162:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13162 | { | ^ ../kernel/bpf/verifier.c:13179:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13179 | { | ^ ../kernel/bpf/verifier.c:13722:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13722 | { | ^ ../kernel/bpf/verifier.c:13787:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13787 | { | ^ ../kernel/bpf/verifier.c:13959:12: error: storage class specified for parameter ‘check_return_code’ 13959 | static int check_return_code(struct bpf_verifier_env *env, int regno, const char *reg_name); | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:13963:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 13963 | { | ^ ../kernel/bpf/verifier.c:14353:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14353 | { | ^ ../kernel/bpf/verifier.c:14385:1: warning: empty declaration 14385 | enum { | ^~~~ ../kernel/bpf/verifier.c:14395:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14395 | { | ^ ../kernel/bpf/verifier.c:14426:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14426 | { | ^ ../kernel/bpf/verifier.c:14434:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14434 | { | ^ ../kernel/bpf/verifier.c:14451:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14451 | { | ^ ../kernel/bpf/verifier.c:14461:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14461 | { | ^ ../kernel/bpf/verifier.c:14465:1: warning: empty declaration 14465 | struct bpf_sanitize_info { | ^~~~~~ ../kernel/bpf/verifier.c:14473:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14473 | { | ^ ../kernel/bpf/verifier.c:14497:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14497 | { | ^ ../kernel/bpf/verifier.c:14587:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14587 | { | ^ ../kernel/bpf/verifier.c:14603:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14603 | { | ^ ../kernel/bpf/verifier.c:14652:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14652 | { | ^ ../kernel/bpf/verifier.c:14674:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14674 | { | ^ ../kernel/bpf/verifier.c:14712:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14712 | { | ^ ../kernel/bpf/verifier.c:14953:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14953 | { | ^ ../kernel/bpf/verifier.c:14984:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 14984 | { | ^ ../kernel/bpf/verifier.c:15015:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15015 | { | ^ ../kernel/bpf/verifier.c:15047:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15047 | { | ^ ../kernel/bpf/verifier.c:15079:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15079 | { | ^ ../kernel/bpf/verifier.c:15107:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15107 | { | ^ ../kernel/bpf/verifier.c:15135:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15135 | { | ^ ../kernel/bpf/verifier.c:15166:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15166 | { | ^ ../kernel/bpf/verifier.c:15198:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15198 | { | ^ ../kernel/bpf/verifier.c:15229:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15229 | { | ^ ../kernel/bpf/verifier.c:15261:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15261 | { | ^ ../kernel/bpf/verifier.c:15289:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15289 | { | ^ ../kernel/bpf/verifier.c:15319:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15319 | { | ^ ../kernel/bpf/verifier.c:15337:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15337 | { | ^ ../kernel/bpf/verifier.c:15355:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15355 | { | ^ ../kernel/bpf/verifier.c:15385:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15385 | { | ^ ../kernel/bpf/verifier.c:15400:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15400 | { | ^ ../kernel/bpf/verifier.c:15432:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15432 | { | ^ ../kernel/bpf/verifier.c:15466:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15466 | { | ^ ../kernel/bpf/verifier.c:15489:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15489 | { | ^ ../kernel/bpf/verifier.c:15516:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15516 | { | ^ ../kernel/bpf/verifier.c:15563:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15563 | { | ^ ../kernel/bpf/verifier.c:15665:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15665 | { | ^ ../kernel/bpf/verifier.c:15799:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 15799 | { | ^ ../kernel/bpf/verifier.c:16045:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16045 | { | ^ ../kernel/bpf/verifier.c:16125:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16125 | { | ^ ../kernel/bpf/verifier.c:16256:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16256 | { | ^ ../kernel/bpf/verifier.c:16279:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16279 | { | ^ ../kernel/bpf/verifier.c:16325:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16325 | { | ^ ../kernel/bpf/verifier.c:16369:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16369 | { | ^ ../kernel/bpf/verifier.c:16393:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16393 | { | ^ ../kernel/bpf/verifier.c:16573:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16573 | { | ^ ../kernel/bpf/verifier.c:16603:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16603 | { | ^ ../kernel/bpf/verifier.c:16652:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16652 | { | ^ ../kernel/bpf/verifier.c:16675:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16675 | { | ^ ../kernel/bpf/verifier.c:16777:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16777 | { | ^ ../kernel/bpf/verifier.c:16799:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16799 | { | ^ ../kernel/bpf/verifier.c:16825:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16825 | { | ^ ../kernel/bpf/verifier.c:16870:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 16870 | { | ^ ../kernel/bpf/verifier.c:17125:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17125 | { | ^ ../kernel/bpf/verifier.c:17221:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17221 | { | ^ ../kernel/bpf/verifier.c:17248:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17248 | { | ^ ../kernel/bpf/verifier.c:17318:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17318 | { | ^ ../kernel/bpf/verifier.c:17517:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17517 | { | ^ ../kernel/bpf/verifier.c:17525:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17525 | { | ^ ../kernel/bpf/verifier.c:17539:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17539 | { | ^ ../kernel/bpf/verifier.c:17581:1: warning: empty declaration 17581 | enum { | ^~~~ ../kernel/bpf/verifier.c:17589:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17589 | { | ^ ../kernel/bpf/verifier.c:17594:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17594 | { | ^ ../kernel/bpf/verifier.c:17599:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17599 | { | ^ ../kernel/bpf/verifier.c:17604:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17604 | { | ^ ../kernel/bpf/verifier.c:17609:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17609 | { | ^ ../kernel/bpf/verifier.c:17614:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17614 | { | ^ ../kernel/bpf/verifier.c:17618:1: warning: empty declaration 17618 | enum { | ^~~~ ../kernel/bpf/verifier.c:17629:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17629 | { | ^ ../kernel/bpf/verifier.c:17679:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17679 | { | ^ ../kernel/bpf/verifier.c:17709:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17709 | { | ^ ../kernel/bpf/verifier.c:17720:1: warning: empty declaration 17720 | struct call_summary { | ^~~~~~ ../kernel/bpf/verifier.c:17731:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17731 | { | ^ ../kernel/bpf/verifier.c:17847:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17847 | { | ^ ../kernel/bpf/verifier.c:17932:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17932 | { | ^ ../kernel/bpf/verifier.c:17960:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17960 | { | ^ ../kernel/bpf/verifier.c:17981:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 17981 | { | ^ ../kernel/bpf/verifier.c:18103:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18103 | { | ^ ../kernel/bpf/verifier.c:18194:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18194 | { | ^ ../kernel/bpf/verifier.c:18240:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18240 | { | ^ ../kernel/bpf/verifier.c:18263:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18263 | { | ^ ../kernel/bpf/verifier.c:18365:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18365 | { | ^ ../kernel/bpf/verifier.c:18438:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18438 | { | ^ ../kernel/bpf/verifier.c:18456:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18456 | { | ^ ../kernel/bpf/verifier.c:18584:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18584 | { | ^ ../kernel/bpf/verifier.c:18653:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18653 | { | ^ ../kernel/bpf/verifier.c:18681:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18681 | { | ^ ../kernel/bpf/verifier.c:18708:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18708 | { | ^ ../kernel/bpf/verifier.c:18730:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18730 | { | ^ ../kernel/bpf/verifier.c:18763:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18763 | { | ^ ../kernel/bpf/verifier.c:18773:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18773 | { | ^ ../kernel/bpf/verifier.c:18797:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18797 | { | ^ ../kernel/bpf/verifier.c:18840:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18840 | { | ^ ../kernel/bpf/verifier.c:18864:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18864 | { | ^ ../kernel/bpf/verifier.c:18870:1: warning: empty declaration 18870 | enum exact_level { | ^~~~ ../kernel/bpf/verifier.c:18880:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 18880 | { | ^ ../kernel/bpf/verifier.c:19002:29: error: storage class specified for parameter ‘unbound_reg’ 19002 | static struct bpf_reg_state unbound_reg; | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:19005:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19005 | { | ^ ../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:19009:1: note: in expansion of macro ‘late_initcall’ 19009 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19009:1: error: parameter ‘__UNIQUE_ID___addressable_unbound_reg_init2523’ is initialized ../kernel/bpf/verifier.c:19009: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:19009:1: note: in expansion of macro ‘late_initcall’ 19009 | 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:19009:15: error: ‘unbound_reg_init’ undeclared (first use in this function); did you mean ‘unbound_reg’? 19009 | 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:19009:1: note: in expansion of macro ‘late_initcall’ 19009 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19009:15: note: each undeclared identifier is reported only once for each function it appears in 19009 | 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:19009:1: note: in expansion of macro ‘late_initcall’ 19009 | 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:19009:1: note: in expansion of macro ‘late_initcall’ 19009 | 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:19009:1: note: in expansion of macro ‘late_initcall’ 19009 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19009:32: error: expected declaration specifiers before ‘;’ token 19009 | late_initcall(unbound_reg_init); | ^ ../kernel/bpf/verifier.c:19013:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19013 | { | ^ ../kernel/bpf/verifier.c:19028:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19028 | { | ^ ../kernel/bpf/verifier.c:19041:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19041 | { | ^ ../kernel/bpf/verifier.c:19165:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19165 | { | ^ ../kernel/bpf/verifier.c:19238:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19238 | { | ^ ../kernel/bpf/verifier.c:19258:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19258 | { | ^ ../kernel/bpf/verifier.c:19267:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19267 | { | ^ ../kernel/bpf/verifier.c:19308:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19308 | { | ^ ../kernel/bpf/verifier.c:19369:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19369 | { | ^ ../kernel/bpf/verifier.c:19399:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19399 | { | ^ ../kernel/bpf/verifier.c:19416:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19416 | { | ^ ../kernel/bpf/verifier.c:19479:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19479 | { | ^ ../kernel/bpf/verifier.c:19503:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19503 | { | ^ ../kernel/bpf/verifier.c:19859:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19859 | { | ^ ../kernel/bpf/verifier.c:19887:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19887 | { | ^ ../kernel/bpf/verifier.c:19893:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19893 | { | ^ ../kernel/bpf/verifier.c:19904:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19904 | { | ^ ../kernel/bpf/verifier.c:19910:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19910 | { | ^ ../kernel/bpf/verifier.c:19956:1: warning: empty declaration 19956 | enum { | ^~~~ ../kernel/bpf/verifier.c:19963:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 19963 | { | ^ ../kernel/bpf/verifier.c:20007:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20007 | { | ^ ../kernel/bpf/verifier.c:20166:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20166 | { | ^ ../kernel/bpf/verifier.c:20339:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20339 | { | ^ ../kernel/bpf/verifier.c:20375:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20375 | { | ^ ../kernel/bpf/verifier.c:20413:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20413 | { | ^ ../kernel/bpf/verifier.c:20495:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20495 | { | ^ ../kernel/bpf/verifier.c:20528:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20528 | { | ^ ../kernel/bpf/verifier.c:20542:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20542 | { | ^ ../kernel/bpf/verifier.c:20551:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20551 | { | ^ ../kernel/bpf/verifier.c:20665:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20665 | { | ^ ../kernel/bpf/verifier.c:20703:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20703 | { | ^ ../kernel/bpf/verifier.c:20724:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20724 | { | ^ ../kernel/bpf/verifier.c:20867:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20867 | { | ^ ../kernel/bpf/verifier.c:20874:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20874 | { | ^ ../kernel/bpf/verifier.c:20880:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20880 | { | ^ ../kernel/bpf/verifier.c:20900:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20900 | { | ^ ../kernel/bpf/verifier.c:20928:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20928 | { | ^ ../kernel/bpf/verifier.c:20942:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20942 | { | ^ ../kernel/bpf/verifier.c:20957:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20957 | { | ^ ../kernel/bpf/verifier.c:20991:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 20991 | { | ^ ../kernel/bpf/verifier.c:21026:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21026 | { | ^ ../kernel/bpf/verifier.c:21082:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21082 | { | ^ ../kernel/bpf/verifier.c:21145:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21145 | { | ^ ../kernel/bpf/verifier.c:21183:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21183 | { | ^ ../kernel/bpf/verifier.c:21199:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21199 | { | ^ ../kernel/bpf/verifier.c:21213:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21213 | { | ^ ../kernel/bpf/verifier.c:21239:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21239 | { | ^ ../kernel/bpf/verifier.c:21262:30: error: storage class specified for parameter ‘NOP’ 21262 | static const struct bpf_insn NOP = BPF_JMP_IMM(BPF_JA, 0, 0, 0); | ^~~ ../kernel/bpf/verifier.c:21262:21: error: parameter ‘NOP’ is initialized 21262 | static const struct bpf_insn NOP = BPF_JMP_IMM(BPF_JA, 0, 0, 0); | ^~~~~~~~ ../kernel/bpf/verifier.c:21263:30: error: storage class specified for parameter ‘MAY_GOTO_0’ 21263 | static const struct bpf_insn MAY_GOTO_0 = BPF_RAW_INSN(BPF_JMP | BPF_JCOND, 0, 0, 0, 0); | ^~~~~~~~~~ ../kernel/bpf/verifier.c:21263:21: error: parameter ‘MAY_GOTO_0’ is initialized 21263 | static const struct bpf_insn MAY_GOTO_0 = BPF_RAW_INSN(BPF_JMP | BPF_JCOND, 0, 0, 0, 0); | ^~~~~~~~ ../kernel/bpf/verifier.c:21266:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21266 | { | ^ ../kernel/bpf/verifier.c:21292:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21292 | { | ^ ../kernel/bpf/verifier.c:21397:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21397 | { | ^ ../kernel/bpf/verifier.c:21697:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21697 | { | ^ ../kernel/bpf/verifier.c:21963:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 21963 | { | ^ ../kernel/bpf/verifier.c:22015:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22015 | { | ^ ../kernel/bpf/verifier.c:22076:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22076 | { | ^ ../kernel/bpf/verifier.c:22089:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22089 | { | ^ ../kernel/bpf/verifier.c:22201:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22201 | { | ^ ../kernel/bpf/verifier.c:22230:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 22230 | { | ^ ../kernel/bpf/verifier.c:23153:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23153 | { | ^ ../kernel/bpf/verifier.c:23225:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23225 | { | ^ ../kernel/bpf/verifier.c:23241:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23241 | { | ^ ../kernel/bpf/verifier.c:23289:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23289 | { | ^ ../kernel/bpf/verifier.c:23320:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23320 | { | ^ ../kernel/bpf/verifier.c:23363:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23363 | { | ^ ../kernel/bpf/verifier.c:23512:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23512 | { | ^ ../kernel/bpf/verifier.c:23562:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23562 | { | ^ ../kernel/bpf/verifier.c:23574:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23574 | { | ^ ../kernel/bpf/verifier.c:23599:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23599 | { | ^ ../kernel/bpf/verifier.c:23607:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23607 | { | ^ ../kernel/bpf/verifier.c:23718:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23718 | { | ^ ../kernel/bpf/verifier.c:23729:15: error: storage class specified for parameter ‘btf_non_sleepable_error_inject’ 23729 | 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:23729:1: note: in expansion of macro ‘BTF_SET_START’ 23729 | BTF_SET_START(btf_non_sleepable_error_inject) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:23743:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23743 | { | ^ ../kernel/bpf/verifier.c:23752:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 23752 | { | ^ ../kernel/bpf/verifier.c:24078:15: error: storage class specified for parameter ‘btf_id_deny’ 24078 | 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:24078:1: note: in expansion of macro ‘BTF_SET_START’ 24078 | BTF_SET_START(btf_id_deny) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24102:15: error: storage class specified for parameter ‘noreturn_deny’ 24102 | 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:24102:1: note: in expansion of macro ‘BTF_SET_START’ 24102 | BTF_SET_START(noreturn_deny) | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24126:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24126 | { | ^ ../kernel/bpf/verifier.c:24144:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24144 | { | ^ ../kernel/bpf/verifier.c:24234:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24234 | { | ^ ../kernel/bpf/verifier.c:24250:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24250 | { | ^ ../kernel/bpf/verifier.c:24277:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24277 | { | ^ ../kernel/bpf/verifier.c:24312:1: warning: empty declaration 24312 | struct insn_live_regs { | ^~~~~~ ../kernel/bpf/verifier.c:24326:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24326 | { | ^ ../kernel/bpf/verifier.c:24461:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24461 | { | ^ ../kernel/bpf/verifier.c:24555:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24555 | { | ^ ../kernel/bpf/verifier.c:24728:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 24728 | { | ^ ../kernel/bpf/verifier.c:3278:1: error: type of ‘magic_kfuncs’ defaults to ‘int’ [-Wimplicit-int] 3278 | BTF_ID_LIST_END(magic_kfuncs) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:24102:15: error: declaration for parameter ‘noreturn_deny’ but no such parameter 24102 | 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:24078:15: error: declaration for parameter ‘btf_id_deny’ but no such parameter 24078 | 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:23729:15: error: declaration for parameter ‘btf_non_sleepable_error_inject’ but no such parameter 23729 | 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:21263:30: error: declaration for parameter ‘MAY_GOTO_0’ but no such parameter 21263 | static const struct bpf_insn MAY_GOTO_0 = BPF_RAW_INSN(BPF_JMP | BPF_JCOND, 0, 0, 0, 0); | ^~~~~~~~~~ ../kernel/bpf/verifier.c:21262:30: error: declaration for parameter ‘NOP’ but no such parameter 21262 | 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:19009:1: note: in expansion of macro ‘late_initcall’ 19009 | late_initcall(unbound_reg_init); | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:19002:29: error: declaration for parameter ‘unbound_reg’ but no such parameter 19002 | static struct bpf_reg_state unbound_reg; | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:13959:12: error: declaration for parameter ‘check_return_code’ but no such parameter 13959 | static int check_return_code(struct bpf_verifier_env *env, int regno, const char *reg_name); | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:12400:13: error: declaration for parameter ‘special_kfunc_list’ but no such parameter 12400 | 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:12185:13: error: declaration for parameter ‘kf_arg_btf_ids’ but no such parameter 12185 | 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:12146:13: error: declaration for parameter ‘is_kfunc_arg_prog_aux’ but no such parameter 12146 | static bool is_kfunc_arg_prog_aux(const struct btf *btf, const struct btf_param *arg); | ^~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:11053:13: error: declaration for parameter ‘is_rbtree_lock_required_kfunc’ but no such parameter 11053 | static bool is_rbtree_lock_required_kfunc(u32 btf_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10490:12: error: declaration for parameter ‘set_callee_state’ but no such parameter 10490 | static int set_callee_state(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:10485:15: error: declaration for parameter ‘set_callee_state_fn’ but no such parameter 10485 | typedef int (*set_callee_state_fn)(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9732:13: error: declaration for parameter ‘can_elide_value_nullness’ but no such parameter 9732 | static bool can_elide_value_nullness(enum bpf_map_type type); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9296:36: error: declaration for parameter ‘compatible_reg_types’ but no such parameter 9296 | static const struct bpf_reg_types *compatible_reg_types[__BPF_ARG_TYPE_MAX] = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9289:35: error: declaration for parameter ‘dynptr_types’ but no such parameter 9289 | static const struct bpf_reg_types dynptr_types = { | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:9283:35: error: declaration for parameter ‘kptr_xchg_dest_types’ but no such parameter 9283 | static const struct bpf_reg_types kptr_xchg_dest_types = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9282:35: error: declaration for parameter ‘timer_types’ but no such parameter 9282 | static const struct bpf_reg_types timer_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:9281:35: error: declaration for parameter ‘const_str_ptr_types’ but no such parameter 9281 | static const struct bpf_reg_types const_str_ptr_types = { .types = { PTR_TO_MAP_VALUE } }; | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9280:35: error: declaration for parameter ‘stack_ptr_types’ but no such parameter 9280 | static const struct bpf_reg_types stack_ptr_types = { .types = { PTR_TO_STACK } }; | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9279:35: error: declaration for parameter ‘func_ptr_types’ but no such parameter 9279 | static const struct bpf_reg_types func_ptr_types = { .types = { PTR_TO_FUNC } }; | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9272:35: error: declaration for parameter ‘percpu_btf_ptr_types’ but no such parameter 9272 | static const struct bpf_reg_types percpu_btf_ptr_types = { | ^~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9265:35: error: declaration for parameter ‘btf_ptr_types’ but no such parameter 9265 | static const struct bpf_reg_types btf_ptr_types = { | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9264:35: error: declaration for parameter ‘const_map_ptr_types’ but no such parameter 9264 | static const struct bpf_reg_types const_map_ptr_types = { .types = { CONST_PTR_TO_MAP } }; | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9263:35: error: declaration for parameter ‘ringbuf_mem_types’ but no such parameter 9263 | static const struct bpf_reg_types ringbuf_mem_types = { .types = { PTR_TO_MEM | MEM_RINGBUF } }; | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9262:35: error: declaration for parameter ‘context_types’ but no such parameter 9262 | static const struct bpf_reg_types context_types = { .types = { PTR_TO_CTX } }; | ^~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9261:35: error: declaration for parameter ‘scalar_types’ but no such parameter 9261 | static const struct bpf_reg_types scalar_types = { .types = { SCALAR_VALUE } }; | ^~~~~~~~~~~~ ../kernel/bpf/verifier.c:9260:35: error: declaration for parameter ‘fullsock_types’ but no such parameter 9260 | static const struct bpf_reg_types fullsock_types = { .types = { PTR_TO_SOCKET } }; | ^~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9253:35: error: declaration for parameter ‘spin_lock_types’ but no such parameter 9253 | static const struct bpf_reg_types spin_lock_types = { | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9239:35: error: declaration for parameter ‘mem_types’ but no such parameter 9239 | static const struct bpf_reg_types mem_types = { | ^~~~~~~~~ ../kernel/bpf/verifier.c:9226:35: error: declaration for parameter ‘btf_id_sock_common_types’ but no such parameter 9226 | static const struct bpf_reg_types btf_id_sock_common_types = { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:9216:35: error: declaration for parameter ‘sock_types’ but no such parameter 9216 | static const struct bpf_reg_types sock_types = { | ^~~~~~~~~~ ../kernel/bpf/verifier.c:8968:13: error: declaration for parameter ‘regs_exact’ but no such parameter 8968 | static bool regs_exact(const struct bpf_reg_state *rold, | ^~~~~~~~~~ ../kernel/bpf/verifier.c:8967:13: error: declaration for parameter ‘reset_idmap_scratch’ but no such parameter 8967 | static void reset_idmap_scratch(struct bpf_verifier_env *env); | ^~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:7820:12: error: declaration for parameter ‘save_aux_ptr_type’ but no such parameter 7820 | static int save_aux_ptr_type(struct bpf_verifier_env *env, enum bpf_reg_type type, | ^~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:6400:13: error: declaration for parameter ‘reg2btf_ids’ but no such parameter 6400 | static u32 *reg2btf_ids[__BPF_REG_TYPE_MAX] = { | ^~~~~~~~~~~ ../kernel/bpf/verifier.c:5949:15: error: declaration for parameter ‘rcu_protected_types’ but no such parameter 5949 | 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:5569:12: error: declaration for parameter ‘check_stack_range_initialized’ but no such parameter 5569 | static int check_stack_range_initialized(struct bpf_verifier_env *env, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:25013: 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:3278:1: note: the ABI of passing struct with a flexible array member has changed in GCC 4.4 3278 | BTF_ID_LIST_END(magic_kfuncs) | ^~~~~~~~~~~~~~~ ../kernel/bpf/verifier.c:25013: 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/stream.c: In function ‘bpf_stream_vprintk’: ../kernel/bpf/stream.c:386:9: warning: function ‘bpf_stream_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 386 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt__str, data.bin_args); | ^~~ ../kernel/bpf/stream.c:358:17: warning: symbol 'bpf_stream_vprintk' was not declared. Should it be static? 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