========== build_allmodconfig_warn - FAILED ../net/core/filter.c:1440:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1440:39: expected struct sock_filter const *filter ../net/core/filter.c:1440:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1518:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1518:39: expected struct sock_filter const *filter ../net/core/filter.c:1518:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2341:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2341:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2341:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3949:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4681:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5095:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:8032:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:12008:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:12041:17: warning: symbol 'bpf_dynptr_from_skb_meta' was not declared. Should it be static? ../net/core/filter.c:12060:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:12076:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:12097:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12194:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? ../net/core/filter.c:12327:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1948:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1948:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1948:43: got unsigned long long [usertype] to ../net/core/filter.c:1951:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1951:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1951:36: got unsigned long long [usertype] from ../net/core/filter.c:1951:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1951:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1951:42: got unsigned long long [usertype] to ../net/core/filter.c:1954:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1954:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1954:36: got unsigned long long [usertype] from ../net/core/filter.c:1954:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1954:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1954:42: got unsigned long long [usertype] to ../net/core/filter.c:2000:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2000:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:2000:59: got unsigned long long [usertype] to ../net/core/filter.c:2003:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2003:52: expected restricted __be16 [usertype] from ../net/core/filter.c:2003:52: got unsigned long long [usertype] from ../net/core/filter.c:2003:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:2003:58: expected restricted __be16 [usertype] to ../net/core/filter.c:2003:58: got unsigned long long [usertype] to ../net/core/filter.c:2006:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2006:52: expected restricted __be32 [usertype] from ../net/core/filter.c:2006:52: got unsigned long long [usertype] from ../net/core/filter.c:2006:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:2006:58: expected restricted __be32 [usertype] to ../net/core/filter.c:2006:58: got unsigned long long [usertype] to ../net/core/filter.c:2073:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2073:35: expected unsigned long long ../net/core/filter.c:2073:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5952:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5952:17: expected unsigned int [usertype] spi ../net/core/filter.c:5952:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5960:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5960:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5960:33: got restricted __be32 const [usertype] a4 ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_printk’: ../kernel/trace/bpf_trace.c:378:9: warning: function ‘____bpf_trace_printk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 378 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_vprintk’: ../kernel/trace/bpf_trace.c:434:9: warning: function ‘____bpf_trace_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 434 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_seq_printf’: ../kernel/trace/bpf_trace.c:476:9: warning: function ‘____bpf_seq_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 476 | seq_bprintf(m, fmt, data.bin_args); | ^~~~~~~~~~~ ../fs/bpf_fs_kfuncs.c:42:25: warning: symbol 'bpf_get_task_exe_file' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:58:18: warning: symbol 'bpf_put_file' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:82:17: warning: symbol 'bpf_path_d_path' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:130:17: warning: symbol 'bpf_get_dentry_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:163:17: warning: symbol 'bpf_get_file_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:289:17: warning: symbol 'bpf_set_dentry_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:315:17: warning: symbol 'bpf_remove_dentry_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:339:17: warning: symbol 'bpf_cgroup_read_xattr' was not declared. Should it be static? ../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/trace/bpf_trace.c:190:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:227:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:242:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:277:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:575:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:761:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:772:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:786:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:834:41: warning: incorrect type in assignment (different address spaces) ../kernel/trace/bpf_trace.c:834:41: expected void [noderef] __user *[addressable] [assigned] [usertype] sival_ptr ../kernel/trace/bpf_trace.c:834:41: got void * ../kernel/trace/bpf_trace.c:884:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:896:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1187:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1272:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1321:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1345:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1365:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3497:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3505:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3686:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3698:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3695:17: warning: symbol 'bpf_probe_read_user_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3702:17: warning: symbol 'bpf_probe_read_kernel_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3712:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3709:17: warning: symbol 'bpf_probe_read_user_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3716:17: warning: symbol 'bpf_probe_read_kernel_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3726:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3723:17: warning: symbol 'bpf_copy_from_user_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3733:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3730:17: warning: symbol 'bpf_copy_from_user_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3741:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3737:17: warning: symbol 'bpf_copy_from_user_task_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3749:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3745:17: warning: symbol 'bpf_copy_from_user_task_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2512:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2516:66: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.h): ../include/linux/rcupdate.h:871:25: warning: context imbalance in 'uprobe_prog_run' - unexpected unlock ../kernel/bpf/core.c:249:49: error: arithmetics on pointers to functions ../kernel/bpf/core.c:2969:29: warning: symbol 'bpf_seq_printf_btf_proto' was not declared. Should it be static? ../kernel/bpf/core.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../include/trace/events/xdp.h, ../include/linux/bpf_trace.h): ../include/trace/events/xdp.h:304:1: warning: Using plain integer as NULL pointer ../include/trace/events/xdp.h:331:1: warning: Using plain integer as NULL pointer ../kernel/bpf/core.c: note: in included file (through ../include/linux/rbtree_latch.h, ../include/linux/bpf.h, ../include/linux/filter.h): ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../kernel/bpf/helpers.c:1196:21: warning: incorrect type in assignment (different address spaces) ../kernel/bpf/helpers.c:1196:21: expected unsigned long long ( *[usertype] callback_fn )( ... ) ../kernel/bpf/helpers.c:1196:21: got void [noderef] __rcu * ../kernel/bpf/helpers.c:1911:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1912:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1913:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1914:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1915:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1916:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1917:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1918:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1919:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1920:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1923:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2183:18: warning: symbol 'bpf_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2197:18: warning: symbol 'bpf_percpu_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2228:18: warning: symbol 'bpf_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2236:18: warning: symbol 'bpf_percpu_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2242:18: warning: symbol 'bpf_refcount_acquire_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2287:17: warning: symbol 'bpf_list_push_front_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2297:17: warning: symbol 'bpf_list_push_back_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2330:34: warning: symbol 'bpf_list_pop_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2335:34: warning: symbol 'bpf_list_pop_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2340:34: warning: symbol 'bpf_list_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2350:34: warning: symbol 'bpf_list_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2360:32: warning: symbol 'bpf_rbtree_remove' was not declared. Should it be static? ../kernel/bpf/helpers.c:2416:17: warning: symbol 'bpf_rbtree_add_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2426:32: warning: symbol 'bpf_rbtree_first' was not declared. Should it be static? ../kernel/bpf/helpers.c:2433:32: warning: symbol 'bpf_rbtree_root' was not declared. Should it be static? ../kernel/bpf/helpers.c:2440:32: warning: symbol 'bpf_rbtree_left' was not declared. Should it be static? ../kernel/bpf/helpers.c:2450:32: warning: symbol 'bpf_rbtree_right' was not declared. Should it be static? ../kernel/bpf/helpers.c:2466:32: warning: symbol 'bpf_task_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2477:18: warning: symbol 'bpf_task_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2482:18: warning: symbol 'bpf_task_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2495:27: warning: symbol 'bpf_cgroup_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2507:18: warning: symbol 'bpf_cgroup_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2512:18: warning: symbol 'bpf_cgroup_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2525:27: warning: symbol 'bpf_cgroup_ancestor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2545:27: warning: symbol 'bpf_cgroup_from_id' was not declared. Should it be static? ../kernel/bpf/helpers.c:2565:18: warning: symbol 'bpf_task_under_cgroup' was not declared. Should it be static? ../kernel/bpf/helpers.c:2608:27: warning: symbol 'bpf_task_get_cgroup1' was not declared. Should it be static? ../kernel/bpf/helpers.c:2625:32: warning: symbol 'bpf_task_from_pid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2644:32: warning: symbol 'bpf_task_from_vpid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2685:18: warning: symbol 'bpf_dynptr_slice' was not declared. Should it be static? ../kernel/bpf/helpers.c:2805:17: warning: symbol 'bpf_dynptr_adjust' was not declared. Should it be static? ../kernel/bpf/helpers.c:2824:18: warning: symbol 'bpf_dynptr_is_null' was not declared. Should it be static? ../kernel/bpf/helpers.c:2831:18: warning: symbol 'bpf_dynptr_is_rdonly' was not declared. Should it be static? ../kernel/bpf/helpers.c:2841:19: warning: symbol 'bpf_dynptr_size' was not declared. Should it be static? ../kernel/bpf/helpers.c:2851:17: warning: symbol 'bpf_dynptr_clone' was not declared. Should it be static? ../kernel/bpf/helpers.c:2878:17: warning: symbol 'bpf_dynptr_copy' was not declared. Should it be static? ../kernel/bpf/helpers.c:2933:18: warning: symbol 'bpf_dynptr_memset' was not declared. Should it be static? ../kernel/bpf/helpers.c:2968:18: warning: symbol 'bpf_cast_to_kern_ctx' was not declared. Should it be static? ../kernel/bpf/helpers.c:2973:18: warning: symbol 'bpf_rdonly_cast' was not declared. Should it be static? ../kernel/bpf/helpers.c:2978:18: warning: symbol 'bpf_rcu_read_lock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2983:18: warning: symbol 'bpf_rcu_read_unlock' was not declared. Should it be static? ../kernel/bpf/helpers.c:3019:18: warning: symbol 'bpf_throw' was not declared. Should it be static? ../kernel/bpf/helpers.c:3038:17: warning: symbol 'bpf_wq_init' was not declared. Should it be static? ../kernel/bpf/helpers.c:3052:17: warning: symbol 'bpf_wq_start' was not declared. Should it be static? ../kernel/bpf/helpers.c:3069:17: warning: symbol 'bpf_wq_set_callback_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:3083:18: warning: symbol 'bpf_preempt_disable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3088:18: warning: symbol 'bpf_preempt_enable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3147:1: warning: symbol 'bpf_iter_bits_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:3208:17: warning: symbol 'bpf_iter_bits_next' was not declared. Should it be static? ../kernel/bpf/helpers.c:3234:18: warning: symbol 'bpf_iter_bits_destroy' was not declared. Should it be static? ../kernel/bpf/helpers.c:3258:17: warning: symbol 'bpf_copy_from_user_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3303:17: warning: symbol 'bpf_copy_from_user_task_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3333:18: warning: symbol 'bpf_local_irq_save' was not declared. Should it be static? ../kernel/bpf/helpers.c:3338:18: warning: symbol 'bpf_local_irq_restore' was not declared. Should it be static? ../kernel/bpf/helpers.c:3343:18: warning: symbol '__bpf_trap' was not declared. Should it be static? ../kernel/bpf/helpers.c:3398:17: warning: symbol 'bpf_strcmp' was not declared. Should it be static? ../kernel/bpf/helpers.c:3416:17: warning: symbol 'bpf_strcasecmp' was not declared. Should it be static? ../kernel/bpf/helpers.c:3437:17: warning: symbol 'bpf_strnchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3474:17: warning: symbol 'bpf_strchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3491:17: warning: symbol 'bpf_strchrnul' was not declared. Should it be static? ../kernel/bpf/helpers.c:3523:17: warning: symbol 'bpf_strrchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3556:17: warning: symbol 'bpf_strnlen' was not declared. Should it be static? ../kernel/bpf/helpers.c:3586:17: warning: symbol 'bpf_strlen' was not declared. Should it be static? ../kernel/bpf/helpers.c:3604:17: warning: symbol 'bpf_strspn' was not declared. Should it be static? ../kernel/bpf/helpers.c:3648:17: warning: symbol 'bpf_strcspn' was not declared. Should it be static? ../kernel/bpf/helpers.c:3693:17: warning: symbol 'bpf_strnstr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3746:17: warning: symbol 'bpf_strstr' was not declared. Should it be static? ../kernel/bpf/helpers.c:2978: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:871:25: warning: context imbalance in 'bpf_rcu_read_unlock' - unexpected unlock ../kernel/bpf/verifier.c:355:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:22687:38: error: subtraction of functions? Share your drugs ../kernel/bpf/verifier.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf-cgroup.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../kernel/bpf/bpf_struct_ops.c:582:27: warning: symbol 'bpf_struct_ops_link_lops' was not declared. Should it be static? ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:42:25: warning: symbol 'bpf_get_task_exe_file' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:58:18: warning: symbol 'bpf_put_file' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:82:17: warning: symbol 'bpf_path_d_path' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:130:17: warning: symbol 'bpf_get_dentry_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:163:17: warning: symbol 'bpf_get_file_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:289:17: warning: symbol 'bpf_set_dentry_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:315:17: warning: symbol 'bpf_remove_dentry_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:339:17: warning: symbol 'bpf_cgroup_read_xattr' was not declared. Should it be static? ../kernel/bpf/liveness.c: In function ‘bpf_insn_successors’: ../kernel/bpf/liveness.c:456:31: warning: initialized field overwritten [-Woverride-init] 456 | _J(BPF_EXIT, {.can_jump = false, .can_fallthrough = false}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:456:31: note: (near initialization for ‘opcode_info_tbl[149]’) 456 | _J(BPF_EXIT, {.can_jump = false, .can_fallthrough = false}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:456:31: warning: initialized field overwritten [-Woverride-init] 456 | _J(BPF_EXIT, {.can_jump = false, .can_fallthrough = false}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:456:31: note: (near initialization for ‘opcode_info_tbl[150]’) 456 | _J(BPF_EXIT, {.can_jump = false, .can_fallthrough = false}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:457:31: warning: initialized field overwritten [-Woverride-init] 457 | _J(BPF_JA, {.can_jump = true, .can_fallthrough = false}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:457:31: note: (near initialization for ‘opcode_info_tbl[5]’) 457 | _J(BPF_JA, {.can_jump = true, .can_fallthrough = false}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:457:31: warning: initialized field overwritten [-Woverride-init] 457 | _J(BPF_JA, {.can_jump = true, .can_fallthrough = false}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:457:31: note: (near initialization for ‘opcode_info_tbl[6]’) 457 | _J(BPF_JA, {.can_jump = true, .can_fallthrough = false}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:458:31: warning: initialized field overwritten [-Woverride-init] 458 | _J(BPF_JEQ, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:458:31: note: (near initialization for ‘opcode_info_tbl[21]’) 458 | _J(BPF_JEQ, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:458:31: warning: initialized field overwritten [-Woverride-init] 458 | _J(BPF_JEQ, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:458:31: note: (near initialization for ‘opcode_info_tbl[22]’) 458 | _J(BPF_JEQ, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:459:31: warning: initialized field overwritten [-Woverride-init] 459 | _J(BPF_JNE, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:459:31: note: (near initialization for ‘opcode_info_tbl[85]’) 459 | _J(BPF_JNE, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:459:31: warning: initialized field overwritten [-Woverride-init] 459 | _J(BPF_JNE, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:459:31: note: (near initialization for ‘opcode_info_tbl[86]’) 459 | _J(BPF_JNE, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:460:31: warning: initialized field overwritten [-Woverride-init] 460 | _J(BPF_JLT, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:460:31: note: (near initialization for ‘opcode_info_tbl[165]’) 460 | _J(BPF_JLT, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:460:31: warning: initialized field overwritten [-Woverride-init] 460 | _J(BPF_JLT, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:460:31: note: (near initialization for ‘opcode_info_tbl[166]’) 460 | _J(BPF_JLT, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:461:31: warning: initialized field overwritten [-Woverride-init] 461 | _J(BPF_JLE, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:461:31: note: (near initialization for ‘opcode_info_tbl[181]’) 461 | _J(BPF_JLE, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:461:31: warning: initialized field overwritten [-Woverride-init] 461 | _J(BPF_JLE, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:461:31: note: (near initialization for ‘opcode_info_tbl[182]’) 461 | _J(BPF_JLE, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:462:31: warning: initialized field overwritten [-Woverride-init] 462 | _J(BPF_JGT, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:462:31: note: (near initialization for ‘opcode_info_tbl[37]’) 462 | _J(BPF_JGT, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:462:31: warning: initialized field overwritten [-Woverride-init] 462 | _J(BPF_JGT, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:462:31: note: (near initialization for ‘opcode_info_tbl[38]’) 462 | _J(BPF_JGT, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:463:31: warning: initialized field overwritten [-Woverride-init] 463 | _J(BPF_JGE, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:463:31: note: (near initialization for ‘opcode_info_tbl[53]’) 463 | _J(BPF_JGE, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:463:31: warning: initialized field overwritten [-Woverride-init] 463 | _J(BPF_JGE, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:463:31: note: (near initialization for ‘opcode_info_tbl[54]’) 463 | _J(BPF_JGE, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:464:31: warning: initialized field overwritten [-Woverride-init] 464 | _J(BPF_JSGT, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:464:31: note: (near initialization for ‘opcode_info_tbl[101]’) 464 | _J(BPF_JSGT, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:464:31: warning: initialized field overwritten [-Woverride-init] 464 | _J(BPF_JSGT, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:464:31: note: (near initialization for ‘opcode_info_tbl[102]’) 464 | _J(BPF_JSGT, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:465:31: warning: initialized field overwritten [-Woverride-init] 465 | _J(BPF_JSGE, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:465:31: note: (near initialization for ‘opcode_info_tbl[117]’) 465 | _J(BPF_JSGE, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:465:31: warning: initialized field overwritten [-Woverride-init] 465 | _J(BPF_JSGE, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:465:31: note: (near initialization for ‘opcode_info_tbl[118]’) 465 | _J(BPF_JSGE, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:466:31: warning: initialized field overwritten [-Woverride-init] 466 | _J(BPF_JSLT, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:466:31: note: (near initialization for ‘opcode_info_tbl[197]’) 466 | _J(BPF_JSLT, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:466:31: warning: initialized field overwritten [-Woverride-init] 466 | _J(BPF_JSLT, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:466:31: note: (near initialization for ‘opcode_info_tbl[198]’) 466 | _J(BPF_JSLT, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:467:31: warning: initialized field overwritten [-Woverride-init] 467 | _J(BPF_JSLE, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:467:31: note: (near initialization for ‘opcode_info_tbl[213]’) 467 | _J(BPF_JSLE, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:467:31: warning: initialized field overwritten [-Woverride-init] 467 | _J(BPF_JSLE, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:467:31: note: (near initialization for ‘opcode_info_tbl[214]’) 467 | _J(BPF_JSLE, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:468:31: warning: initialized field overwritten [-Woverride-init] 468 | _J(BPF_JCOND, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:468:31: note: (near initialization for ‘opcode_info_tbl[229]’) 468 | _J(BPF_JCOND, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:468:31: warning: initialized field overwritten [-Woverride-init] 468 | _J(BPF_JCOND, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:468:31: note: (near initialization for ‘opcode_info_tbl[230]’) 468 | _J(BPF_JCOND, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:469:31: warning: initialized field overwritten [-Woverride-init] 469 | _J(BPF_JSET, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:469:31: note: (near initialization for ‘opcode_info_tbl[69]’) 469 | _J(BPF_JSET, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ 453 | [BPF_JMP | code] = __VA_ARGS__, \ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:469:31: warning: initialized field overwritten [-Woverride-init] 469 | _J(BPF_JSET, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/liveness.c:469:31: note: (near initialization for ‘opcode_info_tbl[70]’) 469 | _J(BPF_JSET, {.can_jump = true, .can_fallthrough = true}), | ^ ../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ 454 | [BPF_JMP32 | code] = __VA_ARGS__ | ^~~~~~~~~~~ ../kernel/bpf/helpers.c: In function ‘____bpf_snprintf’: ../kernel/bpf/helpers.c:1066:9: warning: function ‘____bpf_snprintf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1066 | err = bstr_printf(str, str_size, fmt, data.bin_args); | ^~~ ../kernel/bpf/bpf_struct_ops.c:582:27: warning: symbol 'bpf_struct_ops_link_lops' was not declared. Should it be static? ../kernel/bpf/helpers.c:1196:21: warning: incorrect type in assignment (different address spaces) ../kernel/bpf/helpers.c:1196:21: expected unsigned long long ( *[usertype] callback_fn )( ... ) ../kernel/bpf/helpers.c:1196:21: got void [noderef] __rcu * ../kernel/bpf/helpers.c:1911:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1912:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1913:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1914:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1915:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1916:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1917:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1918:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1919:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1920:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1923:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2183:18: warning: symbol 'bpf_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2197:18: warning: symbol 'bpf_percpu_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2228:18: warning: symbol 'bpf_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2236:18: warning: symbol 'bpf_percpu_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2242:18: warning: symbol 'bpf_refcount_acquire_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2287:17: warning: symbol 'bpf_list_push_front_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2297:17: warning: symbol 'bpf_list_push_back_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2330:34: warning: symbol 'bpf_list_pop_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2335:34: warning: symbol 'bpf_list_pop_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2340:34: warning: symbol 'bpf_list_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2350:34: warning: symbol 'bpf_list_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2360:32: warning: symbol 'bpf_rbtree_remove' was not declared. Should it be static? ../kernel/bpf/helpers.c:2416:17: warning: symbol 'bpf_rbtree_add_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2426:32: warning: symbol 'bpf_rbtree_first' was not declared. Should it be static? ../kernel/bpf/helpers.c:2433:32: warning: symbol 'bpf_rbtree_root' was not declared. Should it be static? ../kernel/bpf/helpers.c:2440:32: warning: symbol 'bpf_rbtree_left' was not declared. Should it be static? ../kernel/bpf/helpers.c:2450:32: warning: symbol 'bpf_rbtree_right' was not declared. Should it be static? ../kernel/bpf/helpers.c:2466:32: warning: symbol 'bpf_task_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2477:18: warning: symbol 'bpf_task_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2482:18: warning: symbol 'bpf_task_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2495:27: warning: symbol 'bpf_cgroup_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2507:18: warning: symbol 'bpf_cgroup_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2512:18: warning: symbol 'bpf_cgroup_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2525:27: warning: symbol 'bpf_cgroup_ancestor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2545:27: warning: symbol 'bpf_cgroup_from_id' was not declared. Should it be static? ../kernel/bpf/helpers.c:2565:18: warning: symbol 'bpf_task_under_cgroup' was not declared. Should it be static? ../kernel/bpf/helpers.c:2608:27: warning: symbol 'bpf_task_get_cgroup1' was not declared. Should it be static? ../kernel/bpf/helpers.c:2625:32: warning: symbol 'bpf_task_from_pid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2644:32: warning: symbol 'bpf_task_from_vpid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2685:18: warning: symbol 'bpf_dynptr_slice' was not declared. Should it be static? ../kernel/bpf/helpers.c:2805:17: warning: symbol 'bpf_dynptr_adjust' was not declared. Should it be static? ../kernel/bpf/helpers.c:2824:18: warning: symbol 'bpf_dynptr_is_null' was not declared. Should it be static? ../kernel/bpf/helpers.c:2831:18: warning: symbol 'bpf_dynptr_is_rdonly' was not declared. Should it be static? ../kernel/bpf/helpers.c:2841:19: warning: symbol 'bpf_dynptr_size' was not declared. Should it be static? ../kernel/bpf/helpers.c:2851:17: warning: symbol 'bpf_dynptr_clone' was not declared. Should it be static? ../kernel/bpf/helpers.c:2878:17: warning: symbol 'bpf_dynptr_copy' was not declared. Should it be static? ../kernel/bpf/helpers.c:2933:18: warning: symbol 'bpf_dynptr_memset' was not declared. Should it be static? ../kernel/bpf/helpers.c:2968:18: warning: symbol 'bpf_cast_to_kern_ctx' was not declared. Should it be static? ../kernel/bpf/helpers.c:2973:18: warning: symbol 'bpf_rdonly_cast' was not declared. Should it be static? ../kernel/bpf/helpers.c:2978:18: warning: symbol 'bpf_rcu_read_lock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2983:18: warning: symbol 'bpf_rcu_read_unlock' was not declared. Should it be static? ../kernel/bpf/helpers.c:3019:18: warning: symbol 'bpf_throw' was not declared. Should it be static? ../kernel/bpf/helpers.c:3038:17: warning: symbol 'bpf_wq_init' was not declared. Should it be static? ../kernel/bpf/helpers.c:3052:17: warning: symbol 'bpf_wq_start' was not declared. Should it be static? ../kernel/bpf/helpers.c:3069:17: warning: symbol 'bpf_wq_set_callback_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:3083:18: warning: symbol 'bpf_preempt_disable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3088:18: warning: symbol 'bpf_preempt_enable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3147:1: warning: symbol 'bpf_iter_bits_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:3208:17: warning: symbol 'bpf_iter_bits_next' was not declared. Should it be static? ../kernel/bpf/helpers.c:3234:18: warning: symbol 'bpf_iter_bits_destroy' was not declared. Should it be static? ../kernel/bpf/helpers.c:3258:17: warning: symbol 'bpf_copy_from_user_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3303:17: warning: symbol 'bpf_copy_from_user_task_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3333:18: warning: symbol 'bpf_local_irq_save' was not declared. Should it be static? ../kernel/bpf/helpers.c:3338:18: warning: symbol 'bpf_local_irq_restore' was not declared. Should it be static? ../kernel/bpf/helpers.c:3343:18: warning: symbol '__bpf_trap' was not declared. Should it be static? ../kernel/bpf/helpers.c:3398:17: warning: symbol 'bpf_strcmp' was not declared. Should it be static? ../kernel/bpf/helpers.c:3416:17: warning: symbol 'bpf_strcasecmp' was not declared. Should it be static? ../kernel/bpf/helpers.c:3437:17: warning: symbol 'bpf_strnchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3474:17: warning: symbol 'bpf_strchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3491:17: warning: symbol 'bpf_strchrnul' was not declared. Should it be static? ../kernel/bpf/helpers.c:3523:17: warning: symbol 'bpf_strrchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3556:17: warning: symbol 'bpf_strnlen' was not declared. Should it be static? ../kernel/bpf/helpers.c:3586:17: warning: symbol 'bpf_strlen' was not declared. Should it be static? ../kernel/bpf/helpers.c:3604:17: warning: symbol 'bpf_strspn' was not declared. Should it be static? ../kernel/bpf/helpers.c:3648:17: warning: symbol 'bpf_strcspn' was not declared. Should it be static? ../kernel/bpf/helpers.c:3693:17: warning: symbol 'bpf_strnstr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3746:17: warning: symbol 'bpf_strstr' was not declared. Should it be static? ../kernel/bpf/helpers.c:2978: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:871:25: warning: context imbalance in 'bpf_rcu_read_unlock' - unexpected unlock ../kernel/bpf/core.c:249:49: error: arithmetics on pointers to functions ../kernel/bpf/core.c:2969:29: warning: symbol 'bpf_seq_printf_btf_proto' was not declared. Should it be static? ../kernel/bpf/core.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../include/trace/events/xdp.h, ../include/linux/bpf_trace.h): ../include/trace/events/xdp.h:304:1: warning: Using plain integer as NULL pointer ../include/trace/events/xdp.h:331:1: warning: Using plain integer as NULL pointer ../kernel/bpf/core.c: note: in included file (through ../include/linux/rbtree_latch.h, ../include/linux/bpf.h, ../include/linux/filter.h): ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_printk’: ../kernel/trace/bpf_trace.c:378:9: warning: function ‘____bpf_trace_printk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 378 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_vprintk’: ../kernel/trace/bpf_trace.c:434:9: warning: function ‘____bpf_trace_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 434 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_seq_printf’: ../kernel/trace/bpf_trace.c:476:9: warning: function ‘____bpf_seq_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 476 | seq_bprintf(m, fmt, data.bin_args); | ^~~~~~~~~~~ ../kernel/trace/bpf_trace.c:190:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:227:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:242:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:277:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:575:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:761:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:772:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:786:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:834:41: warning: incorrect type in assignment (different address spaces) ../kernel/trace/bpf_trace.c:834:41: expected void [noderef] __user *[addressable] [assigned] [usertype] sival_ptr ../kernel/trace/bpf_trace.c:834:41: got void * ../kernel/trace/bpf_trace.c:884:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:896:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1187:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1272:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1321:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1345:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1365:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3497:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3505:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3686:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3698:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3695:17: warning: symbol 'bpf_probe_read_user_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3702:17: warning: symbol 'bpf_probe_read_kernel_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3712:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3709:17: warning: symbol 'bpf_probe_read_user_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3716:17: warning: symbol 'bpf_probe_read_kernel_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3726:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3723:17: warning: symbol 'bpf_copy_from_user_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3733:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3730:17: warning: symbol 'bpf_copy_from_user_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3741:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3737:17: warning: symbol 'bpf_copy_from_user_task_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3749:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3745:17: warning: symbol 'bpf_copy_from_user_task_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2512:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2516:66: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.h): ../include/linux/rcupdate.h:871:25: warning: context imbalance in 'uprobe_prog_run' - unexpected unlock ../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../net/core/filter.c:1440:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1440:39: expected struct sock_filter const *filter ../net/core/filter.c:1440:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1518:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1518:39: expected struct sock_filter const *filter ../net/core/filter.c:1518:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2341:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2341:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2341:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3949:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4681:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5095:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:8032:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:12008:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:12041:17: warning: symbol 'bpf_dynptr_from_skb_meta' was not declared. Should it be static? ../net/core/filter.c:12060:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:12076:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:12097:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12194:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? ../net/core/filter.c:12327:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1948:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1948:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1948:43: got unsigned long long [usertype] to ../net/core/filter.c:1951:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1951:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1951:36: got unsigned long long [usertype] from ../net/core/filter.c:1951:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1951:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1951:42: got unsigned long long [usertype] to ../net/core/filter.c:1954:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1954:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1954:36: got unsigned long long [usertype] from ../net/core/filter.c:1954:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1954:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1954:42: got unsigned long long [usertype] to ../net/core/filter.c:2000:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2000:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:2000:59: got unsigned long long [usertype] to ../net/core/filter.c:2003:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2003:52: expected restricted __be16 [usertype] from ../net/core/filter.c:2003:52: got unsigned long long [usertype] from ../net/core/filter.c:2003:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:2003:58: expected restricted __be16 [usertype] to ../net/core/filter.c:2003:58: got unsigned long long [usertype] to ../net/core/filter.c:2006:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2006:52: expected restricted __be32 [usertype] from ../net/core/filter.c:2006:52: got unsigned long long [usertype] from ../net/core/filter.c:2006:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:2006:58: expected restricted __be32 [usertype] to ../net/core/filter.c:2006:58: got unsigned long long [usertype] to ../net/core/filter.c:2073:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2073:35: expected unsigned long long ../net/core/filter.c:2073:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5952:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5952:17: expected unsigned int [usertype] spi ../net/core/filter.c:5952:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5960:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5960:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5960:33: got restricted __be32 const [usertype] a4 ../kernel/bpf/verifier.c:355:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:22678:38: error: subtraction of functions? Share your drugs ../kernel/bpf/verifier.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf-cgroup.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? New errors added --- /tmp/tmp.3q7kiqYJt7 2025-09-18 17:10:20.026421871 -0700 +++ /tmp/tmp.H8v4fb2Mwo 2025-09-18 17:12:24.686620413 -0700 @@ -1,71 +0,0 @@ -../net/core/filter.c:1440:39: warning: incorrect type in argument 1 (different address spaces) -../net/core/filter.c:1440:39: expected struct sock_filter const *filter -../net/core/filter.c:1440:39: got struct sock_filter [noderef] __user *filter -../net/core/filter.c:1518:39: warning: incorrect type in argument 1 (different address spaces) -../net/core/filter.c:1518:39: expected struct sock_filter const *filter -../net/core/filter.c:1518:39: got struct sock_filter [noderef] __user *filter -../net/core/filter.c:2341:45: warning: incorrect type in argument 2 (different base types) -../net/core/filter.c:2341:45: expected restricted __be32 [usertype] daddr -../net/core/filter.c:2341:45: got unsigned int [usertype] ipv4_nh -../net/core/filter.c:3949:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? -../net/core/filter.c:4681:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? -../net/core/filter.c:5095:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? -../net/core/filter.c:8032:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? -../net/core/filter.c:12008:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? -../net/core/filter.c:12041:17: warning: symbol 'bpf_dynptr_from_skb_meta' was not declared. Should it be static? -../net/core/filter.c:12060:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? -../net/core/filter.c:12076:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? -../net/core/filter.c:12097:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? -../net/core/filter.c:12194:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? -../net/core/filter.c:12327:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? -../net/core/filter.c:1948:43: warning: incorrect type in argument 2 (different base types) -../net/core/filter.c:1948:43: expected restricted __wsum [usertype] diff -../net/core/filter.c:1948:43: got unsigned long long [usertype] to -../net/core/filter.c:1951:36: warning: incorrect type in argument 2 (different base types) -../net/core/filter.c:1951:36: expected restricted __be16 [usertype] old -../net/core/filter.c:1951:36: got unsigned long long [usertype] from -../net/core/filter.c:1951:42: warning: incorrect type in argument 3 (different base types) -../net/core/filter.c:1951:42: expected restricted __be16 [usertype] new -../net/core/filter.c:1951:42: got unsigned long long [usertype] to -../net/core/filter.c:1954:36: warning: incorrect type in argument 2 (different base types) -../net/core/filter.c:1954:36: expected restricted __be32 [usertype] from -../net/core/filter.c:1954:36: got unsigned long long [usertype] from -../net/core/filter.c:1954:42: warning: incorrect type in argument 3 (different base types) -../net/core/filter.c:1954:42: expected restricted __be32 [usertype] to -../net/core/filter.c:1954:42: got unsigned long long [usertype] to -../net/core/filter.c:2000:59: warning: incorrect type in argument 3 (different base types) -../net/core/filter.c:2000:59: expected restricted __wsum [usertype] diff -../net/core/filter.c:2000:59: got unsigned long long [usertype] to -../net/core/filter.c:2003:52: warning: incorrect type in argument 3 (different base types) -../net/core/filter.c:2003:52: expected restricted __be16 [usertype] from -../net/core/filter.c:2003:52: got unsigned long long [usertype] from -../net/core/filter.c:2003:58: warning: incorrect type in argument 4 (different base types) -../net/core/filter.c:2003:58: expected restricted __be16 [usertype] to -../net/core/filter.c:2003:58: got unsigned long long [usertype] to -../net/core/filter.c:2006:52: warning: incorrect type in argument 3 (different base types) -../net/core/filter.c:2006:52: expected restricted __be32 [usertype] from -../net/core/filter.c:2006:52: got unsigned long long [usertype] from -../net/core/filter.c:2006:58: warning: incorrect type in argument 4 (different base types) -../net/core/filter.c:2006:58: expected restricted __be32 [usertype] to -../net/core/filter.c:2006:58: got unsigned long long [usertype] to -../net/core/filter.c:2073:35: warning: incorrect type in return expression (different base types) -../net/core/filter.c:2073:35: expected unsigned long long -../net/core/filter.c:2073:35: got restricted __wsum [usertype] csum -../net/core/filter.c:5952:17: warning: incorrect type in assignment (different base types) -../net/core/filter.c:5952:17: expected unsigned int [usertype] spi -../net/core/filter.c:5952:17: got restricted __be32 const [usertype] spi -../net/core/filter.c:5960:33: warning: incorrect type in assignment (different base types) -../net/core/filter.c:5960:33: expected unsigned int [usertype] remote_ipv4 -../net/core/filter.c:5960:33: got restricted __be32 const [usertype] a4 -../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_printk’: -../kernel/trace/bpf_trace.c:378:9: warning: function ‘____bpf_trace_printk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] - 378 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); - | ^~~ -../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_vprintk’: -../kernel/trace/bpf_trace.c:434:9: warning: function ‘____bpf_trace_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] - 434 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); - | ^~~ -../kernel/trace/bpf_trace.c: In function ‘____bpf_seq_printf’: -../kernel/trace/bpf_trace.c:476:9: warning: function ‘____bpf_seq_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] - 476 | seq_bprintf(m, fmt, data.bin_args); - | ^~~~~~~~~~~ @@ -79,0 +9,337 @@ +../kernel/bpf/liveness.c: In function ‘bpf_insn_successors’: +../kernel/bpf/liveness.c:456:31: warning: initialized field overwritten [-Woverride-init] + 456 | _J(BPF_EXIT, {.can_jump = false, .can_fallthrough = false}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:456:31: note: (near initialization for ‘opcode_info_tbl[149]’) + 456 | _J(BPF_EXIT, {.can_jump = false, .can_fallthrough = false}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:456:31: warning: initialized field overwritten [-Woverride-init] + 456 | _J(BPF_EXIT, {.can_jump = false, .can_fallthrough = false}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:456:31: note: (near initialization for ‘opcode_info_tbl[150]’) + 456 | _J(BPF_EXIT, {.can_jump = false, .can_fallthrough = false}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:457:31: warning: initialized field overwritten [-Woverride-init] + 457 | _J(BPF_JA, {.can_jump = true, .can_fallthrough = false}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:457:31: note: (near initialization for ‘opcode_info_tbl[5]’) + 457 | _J(BPF_JA, {.can_jump = true, .can_fallthrough = false}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:457:31: warning: initialized field overwritten [-Woverride-init] + 457 | _J(BPF_JA, {.can_jump = true, .can_fallthrough = false}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:457:31: note: (near initialization for ‘opcode_info_tbl[6]’) + 457 | _J(BPF_JA, {.can_jump = true, .can_fallthrough = false}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:458:31: warning: initialized field overwritten [-Woverride-init] + 458 | _J(BPF_JEQ, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:458:31: note: (near initialization for ‘opcode_info_tbl[21]’) + 458 | _J(BPF_JEQ, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:458:31: warning: initialized field overwritten [-Woverride-init] + 458 | _J(BPF_JEQ, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:458:31: note: (near initialization for ‘opcode_info_tbl[22]’) + 458 | _J(BPF_JEQ, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:459:31: warning: initialized field overwritten [-Woverride-init] + 459 | _J(BPF_JNE, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:459:31: note: (near initialization for ‘opcode_info_tbl[85]’) + 459 | _J(BPF_JNE, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:459:31: warning: initialized field overwritten [-Woverride-init] + 459 | _J(BPF_JNE, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:459:31: note: (near initialization for ‘opcode_info_tbl[86]’) + 459 | _J(BPF_JNE, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:460:31: warning: initialized field overwritten [-Woverride-init] + 460 | _J(BPF_JLT, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:460:31: note: (near initialization for ‘opcode_info_tbl[165]’) + 460 | _J(BPF_JLT, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:460:31: warning: initialized field overwritten [-Woverride-init] + 460 | _J(BPF_JLT, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:460:31: note: (near initialization for ‘opcode_info_tbl[166]’) + 460 | _J(BPF_JLT, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:461:31: warning: initialized field overwritten [-Woverride-init] + 461 | _J(BPF_JLE, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:461:31: note: (near initialization for ‘opcode_info_tbl[181]’) + 461 | _J(BPF_JLE, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:461:31: warning: initialized field overwritten [-Woverride-init] + 461 | _J(BPF_JLE, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:461:31: note: (near initialization for ‘opcode_info_tbl[182]’) + 461 | _J(BPF_JLE, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:462:31: warning: initialized field overwritten [-Woverride-init] + 462 | _J(BPF_JGT, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:462:31: note: (near initialization for ‘opcode_info_tbl[37]’) + 462 | _J(BPF_JGT, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:462:31: warning: initialized field overwritten [-Woverride-init] + 462 | _J(BPF_JGT, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:462:31: note: (near initialization for ‘opcode_info_tbl[38]’) + 462 | _J(BPF_JGT, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:463:31: warning: initialized field overwritten [-Woverride-init] + 463 | _J(BPF_JGE, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:463:31: note: (near initialization for ‘opcode_info_tbl[53]’) + 463 | _J(BPF_JGE, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:463:31: warning: initialized field overwritten [-Woverride-init] + 463 | _J(BPF_JGE, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:463:31: note: (near initialization for ‘opcode_info_tbl[54]’) + 463 | _J(BPF_JGE, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:464:31: warning: initialized field overwritten [-Woverride-init] + 464 | _J(BPF_JSGT, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:464:31: note: (near initialization for ‘opcode_info_tbl[101]’) + 464 | _J(BPF_JSGT, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:464:31: warning: initialized field overwritten [-Woverride-init] + 464 | _J(BPF_JSGT, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:464:31: note: (near initialization for ‘opcode_info_tbl[102]’) + 464 | _J(BPF_JSGT, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:465:31: warning: initialized field overwritten [-Woverride-init] + 465 | _J(BPF_JSGE, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:465:31: note: (near initialization for ‘opcode_info_tbl[117]’) + 465 | _J(BPF_JSGE, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:465:31: warning: initialized field overwritten [-Woverride-init] + 465 | _J(BPF_JSGE, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:465:31: note: (near initialization for ‘opcode_info_tbl[118]’) + 465 | _J(BPF_JSGE, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:466:31: warning: initialized field overwritten [-Woverride-init] + 466 | _J(BPF_JSLT, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:466:31: note: (near initialization for ‘opcode_info_tbl[197]’) + 466 | _J(BPF_JSLT, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:466:31: warning: initialized field overwritten [-Woverride-init] + 466 | _J(BPF_JSLT, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:466:31: note: (near initialization for ‘opcode_info_tbl[198]’) + 466 | _J(BPF_JSLT, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:467:31: warning: initialized field overwritten [-Woverride-init] + 467 | _J(BPF_JSLE, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:467:31: note: (near initialization for ‘opcode_info_tbl[213]’) + 467 | _J(BPF_JSLE, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:467:31: warning: initialized field overwritten [-Woverride-init] + 467 | _J(BPF_JSLE, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:467:31: note: (near initialization for ‘opcode_info_tbl[214]’) + 467 | _J(BPF_JSLE, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:468:31: warning: initialized field overwritten [-Woverride-init] + 468 | _J(BPF_JCOND, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:468:31: note: (near initialization for ‘opcode_info_tbl[229]’) + 468 | _J(BPF_JCOND, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:468:31: warning: initialized field overwritten [-Woverride-init] + 468 | _J(BPF_JCOND, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:468:31: note: (near initialization for ‘opcode_info_tbl[230]’) + 468 | _J(BPF_JCOND, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:469:31: warning: initialized field overwritten [-Woverride-init] + 469 | _J(BPF_JSET, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:469:31: note: (near initialization for ‘opcode_info_tbl[69]’) + 469 | _J(BPF_JSET, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:453:38: note: in definition of macro ‘_J’ + 453 | [BPF_JMP | code] = __VA_ARGS__, \ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:469:31: warning: initialized field overwritten [-Woverride-init] + 469 | _J(BPF_JSET, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ +../kernel/bpf/liveness.c:469:31: note: (near initialization for ‘opcode_info_tbl[70]’) + 469 | _J(BPF_JSET, {.can_jump = true, .can_fallthrough = true}), + | ^ +../kernel/bpf/liveness.c:454:38: note: in definition of macro ‘_J’ + 454 | [BPF_JMP32 | code] = __VA_ARGS__ + | ^~~~~~~~~~~ @@ -84,51 +350 @@ -../kernel/trace/bpf_trace.c:190:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:227:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:242:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:277:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:575:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:761:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:772:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:786:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:834:41: warning: incorrect type in assignment (different address spaces) -../kernel/trace/bpf_trace.c:834:41: expected void [noderef] __user *[addressable] [assigned] [usertype] sival_ptr -../kernel/trace/bpf_trace.c:834:41: got void * -../kernel/trace/bpf_trace.c:884:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:896:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:1187:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:1272:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:1321:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:1345:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:1365:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3497:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3505:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3686:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3698:52: warning: cast removes address space '__user' of expression -../kernel/trace/bpf_trace.c:3695:17: warning: symbol 'bpf_probe_read_user_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3702:17: warning: symbol 'bpf_probe_read_kernel_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3712:56: warning: cast removes address space '__user' of expression -../kernel/trace/bpf_trace.c:3709:17: warning: symbol 'bpf_probe_read_user_str_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3716:17: warning: symbol 'bpf_probe_read_kernel_str_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3726:52: warning: cast removes address space '__user' of expression -../kernel/trace/bpf_trace.c:3723:17: warning: symbol 'bpf_copy_from_user_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3733:56: warning: cast removes address space '__user' of expression -../kernel/trace/bpf_trace.c:3730:17: warning: symbol 'bpf_copy_from_user_str_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3741:52: warning: cast removes address space '__user' of expression -../kernel/trace/bpf_trace.c:3737:17: warning: symbol 'bpf_copy_from_user_task_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3749:56: warning: cast removes address space '__user' of expression -../kernel/trace/bpf_trace.c:3745:17: warning: symbol 'bpf_copy_from_user_task_str_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:2512:21: warning: dereference of noderef expression -../kernel/trace/bpf_trace.c:2516:66: warning: dereference of noderef expression -../kernel/trace/bpf_trace.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.h): -../include/linux/rcupdate.h:871:25: warning: context imbalance in 'uprobe_prog_run' - unexpected unlock -../kernel/bpf/core.c:249:49: error: arithmetics on pointers to functions -../kernel/bpf/core.c:2969:29: warning: symbol 'bpf_seq_printf_btf_proto' was not declared. Should it be static? -../kernel/bpf/core.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../include/trace/events/xdp.h, ../include/linux/bpf_trace.h): -../include/trace/events/xdp.h:304:1: warning: Using plain integer as NULL pointer -../include/trace/events/xdp.h:331:1: warning: Using plain integer as NULL pointer -../kernel/bpf/core.c: note: in included file (through ../include/linux/rbtree_latch.h, ../include/linux/bpf.h, ../include/linux/filter.h): -../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): -../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * -../include/linux/rbtree.h:74:9: struct rb_node * -../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): -../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * -../include/linux/rbtree.h:74:9: struct rb_node * +../kernel/bpf/bpf_struct_ops.c:582:27: warning: symbol 'bpf_struct_ops_link_lops' was not declared. Should it be static? @@ -219,3 +435,64 @@ -../kernel/bpf/verifier.c:355:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? -../kernel/bpf/verifier.c:22687:38: error: subtraction of functions? Share your drugs -../kernel/bpf/verifier.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf-cgroup.h): +../kernel/bpf/core.c:249:49: error: arithmetics on pointers to functions +../kernel/bpf/core.c:2969:29: warning: symbol 'bpf_seq_printf_btf_proto' was not declared. Should it be static? +../kernel/bpf/core.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../include/trace/events/xdp.h, ../include/linux/bpf_trace.h): +../include/trace/events/xdp.h:304:1: warning: Using plain integer as NULL pointer +../include/trace/events/xdp.h:331:1: warning: Using plain integer as NULL pointer +../kernel/bpf/core.c: note: in included file (through ../include/linux/rbtree_latch.h, ../include/linux/bpf.h, ../include/linux/filter.h): +../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): +../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * +../include/linux/rbtree.h:74:9: struct rb_node * +../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): +../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * +../include/linux/rbtree.h:74:9: struct rb_node * +../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_printk’: +../kernel/trace/bpf_trace.c:378:9: warning: function ‘____bpf_trace_printk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] + 378 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); + | ^~~ +../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_vprintk’: +../kernel/trace/bpf_trace.c:434:9: warning: function ‘____bpf_trace_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] + 434 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); + | ^~~ +../kernel/trace/bpf_trace.c: In function ‘____bpf_seq_printf’: +../kernel/trace/bpf_trace.c:476:9: warning: function ‘____bpf_seq_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] + 476 | seq_bprintf(m, fmt, data.bin_args); + | ^~~~~~~~~~~ +../kernel/trace/bpf_trace.c:190:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:227:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:242:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:277:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:575:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:761:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:772:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:786:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:834:41: warning: incorrect type in assignment (different address spaces) +../kernel/trace/bpf_trace.c:834:41: expected void [noderef] __user *[addressable] [assigned] [usertype] sival_ptr +../kernel/trace/bpf_trace.c:834:41: got void * +../kernel/trace/bpf_trace.c:884:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:896:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:1187:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:1272:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:1321:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:1345:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:1365:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3497:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3505:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3686:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3698:52: warning: cast removes address space '__user' of expression +../kernel/trace/bpf_trace.c:3695:17: warning: symbol 'bpf_probe_read_user_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3702:17: warning: symbol 'bpf_probe_read_kernel_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3712:56: warning: cast removes address space '__user' of expression +../kernel/trace/bpf_trace.c:3709:17: warning: symbol 'bpf_probe_read_user_str_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3716:17: warning: symbol 'bpf_probe_read_kernel_str_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3726:52: warning: cast removes address space '__user' of expression +../kernel/trace/bpf_trace.c:3723:17: warning: symbol 'bpf_copy_from_user_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3733:56: warning: cast removes address space '__user' of expression +../kernel/trace/bpf_trace.c:3730:17: warning: symbol 'bpf_copy_from_user_str_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3741:52: warning: cast removes address space '__user' of expression +../kernel/trace/bpf_trace.c:3737:17: warning: symbol 'bpf_copy_from_user_task_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3749:56: warning: cast removes address space '__user' of expression +../kernel/trace/bpf_trace.c:3745:17: warning: symbol 'bpf_copy_from_user_task_str_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:2512:21: warning: dereference of noderef expression +../kernel/trace/bpf_trace.c:2516:66: warning: dereference of noderef expression +../kernel/trace/bpf_trace.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.h): +../include/linux/rcupdate.h:871:25: warning: context imbalance in 'uprobe_prog_run' - unexpected unlock +../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): @@ -223,0 +501,62 @@ +../net/core/filter.c:1440:39: warning: incorrect type in argument 1 (different address spaces) +../net/core/filter.c:1440:39: expected struct sock_filter const *filter +../net/core/filter.c:1440:39: got struct sock_filter [noderef] __user *filter +../net/core/filter.c:1518:39: warning: incorrect type in argument 1 (different address spaces) +../net/core/filter.c:1518:39: expected struct sock_filter const *filter +../net/core/filter.c:1518:39: got struct sock_filter [noderef] __user *filter +../net/core/filter.c:2341:45: warning: incorrect type in argument 2 (different base types) +../net/core/filter.c:2341:45: expected restricted __be32 [usertype] daddr +../net/core/filter.c:2341:45: got unsigned int [usertype] ipv4_nh +../net/core/filter.c:3949:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? +../net/core/filter.c:4681:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? +../net/core/filter.c:5095:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? +../net/core/filter.c:8032:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? +../net/core/filter.c:12008:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? +../net/core/filter.c:12041:17: warning: symbol 'bpf_dynptr_from_skb_meta' was not declared. Should it be static? +../net/core/filter.c:12060:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? +../net/core/filter.c:12076:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? +../net/core/filter.c:12097:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? +../net/core/filter.c:12194:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? +../net/core/filter.c:12327:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? +../net/core/filter.c:1948:43: warning: incorrect type in argument 2 (different base types) +../net/core/filter.c:1948:43: expected restricted __wsum [usertype] diff +../net/core/filter.c:1948:43: got unsigned long long [usertype] to +../net/core/filter.c:1951:36: warning: incorrect type in argument 2 (different base types) +../net/core/filter.c:1951:36: expected restricted __be16 [usertype] old +../net/core/filter.c:1951:36: got unsigned long long [usertype] from +../net/core/filter.c:1951:42: warning: incorrect type in argument 3 (different base types) +../net/core/filter.c:1951:42: expected restricted __be16 [usertype] new +../net/core/filter.c:1951:42: got unsigned long long [usertype] to +../net/core/filter.c:1954:36: warning: incorrect type in argument 2 (different base types) +../net/core/filter.c:1954:36: expected restricted __be32 [usertype] from +../net/core/filter.c:1954:36: got unsigned long long [usertype] from +../net/core/filter.c:1954:42: warning: incorrect type in argument 3 (different base types) +../net/core/filter.c:1954:42: expected restricted __be32 [usertype] to +../net/core/filter.c:1954:42: got unsigned long long [usertype] to +../net/core/filter.c:2000:59: warning: incorrect type in argument 3 (different base types) +../net/core/filter.c:2000:59: expected restricted __wsum [usertype] diff +../net/core/filter.c:2000:59: got unsigned long long [usertype] to +../net/core/filter.c:2003:52: warning: incorrect type in argument 3 (different base types) +../net/core/filter.c:2003:52: expected restricted __be16 [usertype] from +../net/core/filter.c:2003:52: got unsigned long long [usertype] from +../net/core/filter.c:2003:58: warning: incorrect type in argument 4 (different base types) +../net/core/filter.c:2003:58: expected restricted __be16 [usertype] to +../net/core/filter.c:2003:58: got unsigned long long [usertype] to +../net/core/filter.c:2006:52: warning: incorrect type in argument 3 (different base types) +../net/core/filter.c:2006:52: expected restricted __be32 [usertype] from +../net/core/filter.c:2006:52: got unsigned long long [usertype] from +../net/core/filter.c:2006:58: warning: incorrect type in argument 4 (different base types) +../net/core/filter.c:2006:58: expected restricted __be32 [usertype] to +../net/core/filter.c:2006:58: got unsigned long long [usertype] to +../net/core/filter.c:2073:35: warning: incorrect type in return expression (different base types) +../net/core/filter.c:2073:35: expected unsigned long long +../net/core/filter.c:2073:35: got restricted __wsum [usertype] csum +../net/core/filter.c:5952:17: warning: incorrect type in assignment (different base types) +../net/core/filter.c:5952:17: expected unsigned int [usertype] spi +../net/core/filter.c:5952:17: got restricted __be32 const [usertype] spi +../net/core/filter.c:5960:33: warning: incorrect type in assignment (different base types) +../net/core/filter.c:5960:33: expected unsigned int [usertype] remote_ipv4 +../net/core/filter.c:5960:33: got restricted __be32 const [usertype] a4 +../kernel/bpf/verifier.c:355:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? +../kernel/bpf/verifier.c:22678:38: error: subtraction of functions? Share your drugs +../kernel/bpf/verifier.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf-cgroup.h): @@ -230 +568,0 @@ -../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): @@ -233 +570,0 @@ -../kernel/bpf/bpf_struct_ops.c:582:27: warning: symbol 'bpf_struct_ops_link_lops' was not declared. Should it be static? Per-file breakdown --- /tmp/tmp.VZWiehPwQg 2025-09-18 17:12:24.697341771 -0700 +++ /tmp/tmp.wJuSCc98Fy 2025-09-18 17:12:24.702507951 -0700 @@ -8,0 +9 @@ + 28 ../kernel/bpf/liveness.c