../net/core/xdp.c:898:17: warning: symbol 'bpf_xdp_metadata_rx_timestamp' was not declared. Should it be static? ../net/core/xdp.c:920:17: warning: symbol 'bpf_xdp_metadata_rx_hash' was not declared. Should it be static? ../net/core/xdp.c:953:17: warning: symbol 'bpf_xdp_metadata_rx_vlan_tag' was not declared. Should it be static? ../net/core/filter.c:1423:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1423:39: expected struct sock_filter const *filter ../net/core/filter.c:1423:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1501:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1501:39: expected struct sock_filter const *filter ../net/core/filter.c:1501:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2323:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2323:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2323:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3923:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4655:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5069:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:8006:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:11979:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:11995:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:12011:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:12032:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12129:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? ../net/core/filter.c:12251:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1931:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1931:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1931:43: got unsigned long long [usertype] to ../net/core/filter.c:1934:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1934:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1934:36: got unsigned long long [usertype] from ../net/core/filter.c:1934:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1934:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1934:42: got unsigned long long [usertype] to ../net/core/filter.c:1937:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1937:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1937:36: got unsigned long long [usertype] from ../net/core/filter.c:1937:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1937:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1937:42: got unsigned long long [usertype] to ../net/core/filter.c:1982:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1982:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1982:59: got unsigned long long [usertype] to ../net/core/filter.c:1985:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1985:52: expected restricted __be16 [usertype] from ../net/core/filter.c:1985:52: got unsigned long long [usertype] from ../net/core/filter.c:1985:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1985:58: expected restricted __be16 [usertype] to ../net/core/filter.c:1985:58: got unsigned long long [usertype] to ../net/core/filter.c:1988:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1988:52: expected restricted __be32 [usertype] from ../net/core/filter.c:1988:52: got unsigned long long [usertype] from ../net/core/filter.c:1988:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1988:58: expected restricted __be32 [usertype] to ../net/core/filter.c:1988:58: got unsigned long long [usertype] to ../net/core/filter.c:2055:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2055:35: expected unsigned long long ../net/core/filter.c:2055:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5926:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5926:17: expected unsigned int [usertype] spi ../net/core/filter.c:5926:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5934:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5934:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5934: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:41:25: warning: symbol 'bpf_get_task_exe_file' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:57:18: warning: symbol 'bpf_put_file' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:81:17: warning: symbol 'bpf_path_d_path' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:129:17: warning: symbol 'bpf_get_dentry_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:162:17: warning: symbol 'bpf_get_file_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:288:17: warning: symbol 'bpf_set_dentry_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:314:17: warning: symbol 'bpf_remove_dentry_xattr' was not declared. Should it be static? ../kernel/bpf/helpers.c: In function ‘____bpf_snprintf’: ../kernel/bpf/helpers.c:1065:9: warning: function ‘____bpf_snprintf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1065 | err = bstr_printf(str, str_size, fmt, data.bin_args); | ^~~ ../kernel/events/callchain.c:68:9: error: incompatible types in comparison expression (different address spaces): ../kernel/events/callchain.c:68:9: struct callchain_cpus_entries [noderef] __rcu * ../kernel/events/callchain.c:68:9: struct callchain_cpus_entries * ../kernel/events/callchain.c:98:9: error: incompatible types in comparison expression (different address spaces): ../kernel/events/callchain.c:98:9: struct callchain_cpus_entries [noderef] __rcu * ../kernel/events/callchain.c:98:9: struct callchain_cpus_entries * ../kernel/events/callchain.c:163:19: error: incompatible types in comparison expression (different address spaces): ../kernel/events/callchain.c:163:19: struct callchain_cpus_entries [noderef] __rcu * ../kernel/events/callchain.c:163:19: struct callchain_cpus_entries * ../kernel/bpf/core.c:617:49: error: arithmetics on pointers to functions ../kernel/bpf/core.c:3391: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:321:1: warning: Using plain integer as NULL pointer ../include/trace/events/xdp.h:348:1: warning: Using plain integer as NULL pointer ../include/trace/events/xdp.h:382: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: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: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:787:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:835:41: warning: incorrect type in assignment (different address spaces) ../kernel/trace/bpf_trace.c:835:41: expected void [noderef] __user *[addressable] [assigned] [usertype] sival_ptr ../kernel/trace/bpf_trace.c:835:41: got void * ../kernel/trace/bpf_trace.c:1273:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1322:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1346:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1366:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3521:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3529:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3570:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2619:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2623: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/helpers.c:1195:21: warning: incorrect type in assignment (different address spaces) ../kernel/bpf/helpers.c:1195:21: expected unsigned long long ( *[usertype] callback_fn )( ... ) ../kernel/bpf/helpers.c:1195:21: got void [noderef] __rcu * ../kernel/bpf/helpers.c:1908:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1909:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1910:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1911:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1912:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1913:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1914:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2139:18: warning: symbol 'bpf_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2153:18: warning: symbol 'bpf_percpu_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2184:18: warning: symbol 'bpf_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2192:18: warning: symbol 'bpf_percpu_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2198:18: warning: symbol 'bpf_refcount_acquire_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2243:17: warning: symbol 'bpf_list_push_front_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2253:17: warning: symbol 'bpf_list_push_back_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2286:34: warning: symbol 'bpf_list_pop_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2291:34: warning: symbol 'bpf_list_pop_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2296:32: warning: symbol 'bpf_rbtree_remove' was not declared. Should it be static? ../kernel/bpf/helpers.c:2352:17: warning: symbol 'bpf_rbtree_add_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2362:32: warning: symbol 'bpf_rbtree_first' was not declared. Should it be static? ../kernel/bpf/helpers.c:2375:32: warning: symbol 'bpf_task_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2386:18: warning: symbol 'bpf_task_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2391:18: warning: symbol 'bpf_task_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2404:27: warning: symbol 'bpf_cgroup_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2416:18: warning: symbol 'bpf_cgroup_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2421:18: warning: symbol 'bpf_cgroup_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2434:27: warning: symbol 'bpf_cgroup_ancestor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2454:27: warning: symbol 'bpf_cgroup_from_id' was not declared. Should it be static? ../kernel/bpf/helpers.c:2474:18: warning: symbol 'bpf_task_under_cgroup' was not declared. Should it be static? ../kernel/bpf/helpers.c:2517:27: warning: symbol 'bpf_task_get_cgroup1' was not declared. Should it be static? ../kernel/bpf/helpers.c:2534:32: warning: symbol 'bpf_task_from_pid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2553:32: warning: symbol 'bpf_task_from_vpid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2594:18: warning: symbol 'bpf_dynptr_slice' was not declared. Should it be static? ../kernel/bpf/helpers.c:2679:18: warning: symbol 'bpf_dynptr_slice_rdwr' was not declared. Should it be static? ../kernel/bpf/helpers.c:2712:17: warning: symbol 'bpf_dynptr_adjust' was not declared. Should it be static? ../kernel/bpf/helpers.c:2731:18: warning: symbol 'bpf_dynptr_is_null' was not declared. Should it be static? ../kernel/bpf/helpers.c:2738:18: warning: symbol 'bpf_dynptr_is_rdonly' was not declared. Should it be static? ../kernel/bpf/helpers.c:2748:19: warning: symbol 'bpf_dynptr_size' was not declared. Should it be static? ../kernel/bpf/helpers.c:2758:17: warning: symbol 'bpf_dynptr_clone' was not declared. Should it be static? ../kernel/bpf/helpers.c:2785:17: warning: symbol 'bpf_dynptr_copy' was not declared. Should it be static? ../kernel/bpf/helpers.c:2829:18: warning: symbol 'bpf_cast_to_kern_ctx' was not declared. Should it be static? ../kernel/bpf/helpers.c:2834:18: warning: symbol 'bpf_rdonly_cast' was not declared. Should it be static? ../kernel/bpf/helpers.c:2839:18: warning: symbol 'bpf_rcu_read_lock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2844:18: warning: symbol 'bpf_rcu_read_unlock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2873:18: warning: symbol 'bpf_throw' was not declared. Should it be static? ../kernel/bpf/helpers.c:2892:17: warning: symbol 'bpf_wq_init' was not declared. Should it be static? ../kernel/bpf/helpers.c:2906:17: warning: symbol 'bpf_wq_start' was not declared. Should it be static? ../kernel/bpf/helpers.c:2923:17: warning: symbol 'bpf_wq_set_callback_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2937:18: warning: symbol 'bpf_preempt_disable' was not declared. Should it be static? ../kernel/bpf/helpers.c:2942:18: warning: symbol 'bpf_preempt_enable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3001:1: warning: symbol 'bpf_iter_bits_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:3062:17: warning: symbol 'bpf_iter_bits_next' was not declared. Should it be static? ../kernel/bpf/helpers.c:3088:18: warning: symbol 'bpf_iter_bits_destroy' was not declared. Should it be static? ../kernel/bpf/helpers.c:3112:17: warning: symbol 'bpf_copy_from_user_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3157:17: warning: symbol 'bpf_copy_from_user_task_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3187:18: warning: symbol 'bpf_local_irq_save' was not declared. Should it be static? ../kernel/bpf/helpers.c:3192:18: warning: symbol 'bpf_local_irq_restore' was not declared. Should it be static? ../kernel/bpf/helpers.c:2839: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/map_iter.c:198:17: warning: symbol 'bpf_map_sum_elem_count' was not declared. Should it be static? ../kernel/bpf/bpf_iter.c:785:17: warning: symbol 'bpf_iter_num_new' was not declared. Should it be static? ../kernel/bpf/bpf_iter.c:816:17: warning: symbol 'bpf_iter_num_next' was not declared. Should it be static? ../kernel/bpf/bpf_iter.c:835:18: warning: symbol 'bpf_iter_num_destroy' was not declared. Should it be static? ../kernel/bpf/local_storage.c:91:47: warning: context imbalance in 'cgroup_storage_lookup' - unexpected unlock ../kernel/bpf/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:291:17: warning: symbol 'bpf_set_dentry_xattr' was not declared. Should it be static? ../fs/bpf_fs_kfuncs.c:317:17: warning: symbol 'bpf_remove_dentry_xattr' was not declared. Should it be static? ../kernel/events/callchain.c:70:9: error: incompatible types in comparison expression (different address spaces): ../kernel/events/callchain.c:70:9: struct callchain_cpus_entries [noderef] __rcu * ../kernel/events/callchain.c:70:9: struct callchain_cpus_entries * ../kernel/events/callchain.c:100:9: error: incompatible types in comparison expression (different address spaces): ../kernel/events/callchain.c:100:9: struct callchain_cpus_entries [noderef] __rcu * ../kernel/events/callchain.c:100:9: struct callchain_cpus_entries * ../kernel/events/callchain.c:166:19: error: incompatible types in comparison expression (different address spaces): ../kernel/events/callchain.c:166:19: struct callchain_cpus_entries [noderef] __rcu * ../kernel/events/callchain.c:166:19: struct callchain_cpus_entries * ../net/core/xdp.c:899:17: warning: symbol 'bpf_xdp_metadata_rx_timestamp' was not declared. Should it be static? ../net/core/xdp.c:921:17: warning: symbol 'bpf_xdp_metadata_rx_hash' was not declared. Should it be static? ../net/core/xdp.c:954:17: warning: symbol 'bpf_xdp_metadata_rx_vlan_tag' was not declared. Should it be static? ../kernel/bpf/map_iter.c:199:17: warning: symbol 'bpf_map_sum_elem_count' was not declared. Should it be static? ../kernel/bpf/bpf_iter.c:786:17: warning: symbol 'bpf_iter_num_new' was not declared. Should it be static? ../kernel/bpf/bpf_iter.c:817:17: warning: symbol 'bpf_iter_num_next' was not declared. Should it be static? ../kernel/bpf/bpf_iter.c:836:18: warning: symbol 'bpf_iter_num_destroy' was not declared. Should it be static? ../kernel/bpf/helpers.c: In function ‘____bpf_snprintf’: ../kernel/bpf/helpers.c:1067:9: warning: function ‘____bpf_snprintf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1067 | err = bstr_printf(str, str_size, fmt, data.bin_args); | ^~~ ../kernel/bpf/local_storage.c:92:47: warning: context imbalance in 'cgroup_storage_lookup' - unexpected unlock ../kernel/bpf/helpers.c:1197:21: warning: incorrect type in assignment (different address spaces) ../kernel/bpf/helpers.c:1197:21: expected unsigned long long ( *[usertype] callback_fn )( ... ) ../kernel/bpf/helpers.c:1197:21: got void [noderef] __rcu * ../kernel/bpf/helpers.c:1910:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1911:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1912:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1913:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1914:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1915:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1916:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2141:18: warning: symbol 'bpf_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2155:18: warning: symbol 'bpf_percpu_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2186:18: warning: symbol 'bpf_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2194:18: warning: symbol 'bpf_percpu_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2200:18: warning: symbol 'bpf_refcount_acquire_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2245:17: warning: symbol 'bpf_list_push_front_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2255:17: warning: symbol 'bpf_list_push_back_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2288:34: warning: symbol 'bpf_list_pop_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2293:34: warning: symbol 'bpf_list_pop_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2298:32: warning: symbol 'bpf_rbtree_remove' was not declared. Should it be static? ../kernel/bpf/helpers.c:2354:17: warning: symbol 'bpf_rbtree_add_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2364:32: warning: symbol 'bpf_rbtree_first' was not declared. Should it be static? ../kernel/bpf/helpers.c:2377:32: warning: symbol 'bpf_task_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2388:18: warning: symbol 'bpf_task_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2393:18: warning: symbol 'bpf_task_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2406:27: warning: symbol 'bpf_cgroup_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2418:18: warning: symbol 'bpf_cgroup_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2423:18: warning: symbol 'bpf_cgroup_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2436:27: warning: symbol 'bpf_cgroup_ancestor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2456:27: warning: symbol 'bpf_cgroup_from_id' was not declared. Should it be static? ../kernel/bpf/helpers.c:2476:18: warning: symbol 'bpf_task_under_cgroup' was not declared. Should it be static? ../kernel/bpf/helpers.c:2519:27: warning: symbol 'bpf_task_get_cgroup1' was not declared. Should it be static? ../kernel/bpf/helpers.c:2536:32: warning: symbol 'bpf_task_from_pid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2555:32: warning: symbol 'bpf_task_from_vpid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2596:18: warning: symbol 'bpf_dynptr_slice' was not declared. Should it be static? ../kernel/bpf/helpers.c:2681:18: warning: symbol 'bpf_dynptr_slice_rdwr' was not declared. Should it be static? ../kernel/bpf/helpers.c:2714:17: warning: symbol 'bpf_dynptr_adjust' was not declared. Should it be static? ../kernel/bpf/helpers.c:2733:18: warning: symbol 'bpf_dynptr_is_null' was not declared. Should it be static? ../kernel/bpf/helpers.c:2740:18: warning: symbol 'bpf_dynptr_is_rdonly' was not declared. Should it be static? ../kernel/bpf/helpers.c:2750:19: warning: symbol 'bpf_dynptr_size' was not declared. Should it be static? ../kernel/bpf/helpers.c:2760:17: warning: symbol 'bpf_dynptr_clone' was not declared. Should it be static? ../kernel/bpf/helpers.c:2787:17: warning: symbol 'bpf_dynptr_copy' was not declared. Should it be static? ../kernel/bpf/helpers.c:2831:18: warning: symbol 'bpf_cast_to_kern_ctx' was not declared. Should it be static? ../kernel/bpf/helpers.c:2836:18: warning: symbol 'bpf_rdonly_cast' was not declared. Should it be static? ../kernel/bpf/helpers.c:2841:18: warning: symbol 'bpf_rcu_read_lock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2846:18: warning: symbol 'bpf_rcu_read_unlock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2875:18: warning: symbol 'bpf_throw' was not declared. Should it be static? ../kernel/bpf/helpers.c:2894:17: warning: symbol 'bpf_wq_init' was not declared. Should it be static? ../kernel/bpf/helpers.c:2908:17: warning: symbol 'bpf_wq_start' was not declared. Should it be static? ../kernel/bpf/helpers.c:2925:17: warning: symbol 'bpf_wq_set_callback_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2939:18: warning: symbol 'bpf_preempt_disable' was not declared. Should it be static? ../kernel/bpf/helpers.c:2944:18: warning: symbol 'bpf_preempt_enable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3003:1: warning: symbol 'bpf_iter_bits_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:3064:17: warning: symbol 'bpf_iter_bits_next' was not declared. Should it be static? ../kernel/bpf/helpers.c:3090:18: warning: symbol 'bpf_iter_bits_destroy' was not declared. Should it be static? ../kernel/bpf/helpers.c:3114:17: warning: symbol 'bpf_copy_from_user_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3159:17: warning: symbol 'bpf_copy_from_user_task_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3189:18: warning: symbol 'bpf_local_irq_save' was not declared. Should it be static? ../kernel/bpf/helpers.c:3194:18: warning: symbol 'bpf_local_irq_restore' was not declared. Should it be static? ../kernel/bpf/helpers.c:2841: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/bpf_struct_ops.c:584:27: warning: symbol 'bpf_struct_ops_link_lops' was not declared. Should it be static? ../kernel/bpf/core.c:621:49: error: arithmetics on pointers to functions ../kernel/bpf/core.c:3404: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:321:1: warning: Using plain integer as NULL pointer ../include/trace/events/xdp.h:348:1: warning: Using plain integer as NULL pointer ../include/trace/events/xdp.h:382: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:379:9: warning: function ‘____bpf_trace_printk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 379 | 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:435:9: warning: function ‘____bpf_trace_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 435 | 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:477:9: warning: function ‘____bpf_seq_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 477 | seq_bprintf(m, fmt, data.bin_args); | ^~~~~~~~~~~ ../kernel/trace/bpf_trace.c:191:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:228:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:243:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:278:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:762:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:773:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:788:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:836:41: warning: incorrect type in assignment (different address spaces) ../kernel/trace/bpf_trace.c:836:41: expected void [noderef] __user *[addressable] [assigned] [usertype] sival_ptr ../kernel/trace/bpf_trace.c:836:41: got void * ../kernel/trace/bpf_trace.c:1274:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1323:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1347:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1367:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3530:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3538:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3579:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2628:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2632: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:1424:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1424:39: expected struct sock_filter const *filter ../net/core/filter.c:1424:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1502:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1502:39: expected struct sock_filter const *filter ../net/core/filter.c:1502:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2324:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2324:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2324:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3924:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4656:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5070:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:8011:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:12004:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:12020:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:12036:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:12057:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12154:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? ../net/core/filter.c:12277:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1932:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1932:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1932:43: got unsigned long long [usertype] to ../net/core/filter.c:1935:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1935:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1935:36: got unsigned long long [usertype] from ../net/core/filter.c:1935:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1935:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1935:42: got unsigned long long [usertype] to ../net/core/filter.c:1938:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1938:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1938:36: got unsigned long long [usertype] from ../net/core/filter.c:1938:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1938:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1938:42: got unsigned long long [usertype] to ../net/core/filter.c:1983:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1983:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1983:59: got unsigned long long [usertype] to ../net/core/filter.c:1986:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1986:52: expected restricted __be16 [usertype] from ../net/core/filter.c:1986:52: got unsigned long long [usertype] from ../net/core/filter.c:1986:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1986:58: expected restricted __be16 [usertype] to ../net/core/filter.c:1986:58: got unsigned long long [usertype] to ../net/core/filter.c:1989:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1989:52: expected restricted __be32 [usertype] from ../net/core/filter.c:1989:52: got unsigned long long [usertype] from ../net/core/filter.c:1989:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1989:58: expected restricted __be32 [usertype] to ../net/core/filter.c:1989:58: got unsigned long long [usertype] to ../net/core/filter.c:2056:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2056:35: expected unsigned long long ../net/core/filter.c:2056:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5927:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5927:17: expected unsigned int [usertype] spi ../net/core/filter.c:5927:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5935:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5935:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5935:33: got restricted __be32 const [usertype] a4 ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?