../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:3914:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4647:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5061:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:7941:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:11905:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:11921:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:11937:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:11958:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12148: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:5859:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5859:17: expected unsigned int [usertype] spi ../net/core/filter.c:5859:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5867:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5867:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5867:33: got restricted __be32 const [usertype] a4 ../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:754:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:765:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:780:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:828:41: warning: incorrect type in assignment (different address spaces) ../kernel/trace/bpf_trace.c:828:41: expected void [noderef] __user *[addressable] [assigned] [usertype] sival_ptr ../kernel/trace/bpf_trace.c:828:41: got void * ../kernel/trace/bpf_trace.c:1279:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1328:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1352:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1372:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3491:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3499:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3540:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2596:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2600: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:880:25: warning: context imbalance in 'uprobe_prog_run' - unexpected unlock ../kernel/bpf/core.c:243:49: error: arithmetics on pointers to functions ../kernel/bpf/core.c:2891: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/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:1883:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1884:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1885:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1886:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1887:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1888:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1889:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2116:18: warning: symbol 'bpf_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2130:18: warning: symbol 'bpf_percpu_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2161:18: warning: symbol 'bpf_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2169:18: warning: symbol 'bpf_percpu_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2175:18: warning: symbol 'bpf_refcount_acquire_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2220:17: warning: symbol 'bpf_list_push_front_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2230:17: warning: symbol 'bpf_list_push_back_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2263:34: warning: symbol 'bpf_list_pop_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2268:34: warning: symbol 'bpf_list_pop_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2273:32: warning: symbol 'bpf_rbtree_remove' was not declared. Should it be static? ../kernel/bpf/helpers.c:2329:17: warning: symbol 'bpf_rbtree_add_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2339:32: warning: symbol 'bpf_rbtree_first' was not declared. Should it be static? ../kernel/bpf/helpers.c:2352:32: warning: symbol 'bpf_task_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2363:18: warning: symbol 'bpf_task_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2368:18: warning: symbol 'bpf_task_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2381:27: warning: symbol 'bpf_cgroup_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2393:18: warning: symbol 'bpf_cgroup_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2398:18: warning: symbol 'bpf_cgroup_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2411:27: warning: symbol 'bpf_cgroup_ancestor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2431:27: warning: symbol 'bpf_cgroup_from_id' was not declared. Should it be static? ../kernel/bpf/helpers.c:2451:18: warning: symbol 'bpf_task_under_cgroup' was not declared. Should it be static? ../kernel/bpf/helpers.c:2494:27: warning: symbol 'bpf_task_get_cgroup1' was not declared. Should it be static? ../kernel/bpf/helpers.c:2511:32: warning: symbol 'bpf_task_from_pid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2530:32: warning: symbol 'bpf_task_from_vpid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2571:18: warning: symbol 'bpf_dynptr_slice' was not declared. Should it be static? ../kernel/bpf/helpers.c:2656:18: warning: symbol 'bpf_dynptr_slice_rdwr' was not declared. Should it be static? ../kernel/bpf/helpers.c:2689:17: warning: symbol 'bpf_dynptr_adjust' was not declared. Should it be static? ../kernel/bpf/helpers.c:2708:18: warning: symbol 'bpf_dynptr_is_null' was not declared. Should it be static? ../kernel/bpf/helpers.c:2715:18: warning: symbol 'bpf_dynptr_is_rdonly' was not declared. Should it be static? ../kernel/bpf/helpers.c:2725:19: warning: symbol 'bpf_dynptr_size' was not declared. Should it be static? ../kernel/bpf/helpers.c:2735:17: warning: symbol 'bpf_dynptr_clone' was not declared. Should it be static? ../kernel/bpf/helpers.c:2751:18: warning: symbol 'bpf_cast_to_kern_ctx' was not declared. Should it be static? ../kernel/bpf/helpers.c:2756:18: warning: symbol 'bpf_rdonly_cast' was not declared. Should it be static? ../kernel/bpf/helpers.c:2761:18: warning: symbol 'bpf_rcu_read_lock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2766:18: warning: symbol 'bpf_rcu_read_unlock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2795:18: warning: symbol 'bpf_throw' was not declared. Should it be static? ../kernel/bpf/helpers.c:2814:17: warning: symbol 'bpf_wq_init' was not declared. Should it be static? ../kernel/bpf/helpers.c:2828:17: warning: symbol 'bpf_wq_start' was not declared. Should it be static? ../kernel/bpf/helpers.c:2845:17: warning: symbol 'bpf_wq_set_callback_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2859:18: warning: symbol 'bpf_preempt_disable' was not declared. Should it be static? ../kernel/bpf/helpers.c:2864:18: warning: symbol 'bpf_preempt_enable' was not declared. Should it be static? ../kernel/bpf/helpers.c:2923:1: warning: symbol 'bpf_iter_bits_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:2984:17: warning: symbol 'bpf_iter_bits_next' was not declared. Should it be static? ../kernel/bpf/helpers.c:3010:18: warning: symbol 'bpf_iter_bits_destroy' was not declared. Should it be static? ../kernel/bpf/helpers.c:3034:17: warning: symbol 'bpf_copy_from_user_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:2761: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:880:25: warning: context imbalance in 'bpf_rcu_read_unlock' - unexpected unlock ../kernel/bpf/verifier.c:347:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:21470: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:539:27: warning: symbol 'bpf_struct_ops_link_lops' was not declared. Should it be static? WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/block/rnull_mod.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../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:1883:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1884:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1885:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1886:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1887:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1888:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1889:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2116:18: warning: symbol 'bpf_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2130:18: warning: symbol 'bpf_percpu_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2161:18: warning: symbol 'bpf_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2169:18: warning: symbol 'bpf_percpu_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2175:18: warning: symbol 'bpf_refcount_acquire_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2220:17: warning: symbol 'bpf_list_push_front_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2230:17: warning: symbol 'bpf_list_push_back_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2263:34: warning: symbol 'bpf_list_pop_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2268:34: warning: symbol 'bpf_list_pop_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2273:32: warning: symbol 'bpf_rbtree_remove' was not declared. Should it be static? ../kernel/bpf/helpers.c:2329:17: warning: symbol 'bpf_rbtree_add_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2339:32: warning: symbol 'bpf_rbtree_first' was not declared. Should it be static? ../kernel/bpf/helpers.c:2352:32: warning: symbol 'bpf_task_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2363:18: warning: symbol 'bpf_task_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2368:18: warning: symbol 'bpf_task_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2381:27: warning: symbol 'bpf_cgroup_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2393:18: warning: symbol 'bpf_cgroup_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2398:18: warning: symbol 'bpf_cgroup_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2411:27: warning: symbol 'bpf_cgroup_ancestor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2431:27: warning: symbol 'bpf_cgroup_from_id' was not declared. Should it be static? ../kernel/bpf/helpers.c:2451:18: warning: symbol 'bpf_task_under_cgroup' was not declared. Should it be static? ../kernel/bpf/helpers.c:2494:27: warning: symbol 'bpf_task_get_cgroup1' was not declared. Should it be static? ../kernel/bpf/helpers.c:2511:32: warning: symbol 'bpf_task_from_pid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2530:32: warning: symbol 'bpf_task_from_vpid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2571:18: warning: symbol 'bpf_dynptr_slice' was not declared. Should it be static? ../kernel/bpf/helpers.c:2656:18: warning: symbol 'bpf_dynptr_slice_rdwr' was not declared. Should it be static? ../kernel/bpf/helpers.c:2689:17: warning: symbol 'bpf_dynptr_adjust' was not declared. Should it be static? ../kernel/bpf/helpers.c:2708:18: warning: symbol 'bpf_dynptr_is_null' was not declared. Should it be static? ../kernel/bpf/helpers.c:2715:18: warning: symbol 'bpf_dynptr_is_rdonly' was not declared. Should it be static? ../kernel/bpf/helpers.c:2725:19: warning: symbol 'bpf_dynptr_size' was not declared. Should it be static? ../kernel/bpf/helpers.c:2735:17: warning: symbol 'bpf_dynptr_clone' was not declared. Should it be static? ../kernel/bpf/helpers.c:2751:18: warning: symbol 'bpf_cast_to_kern_ctx' was not declared. Should it be static? ../kernel/bpf/helpers.c:2756:18: warning: symbol 'bpf_rdonly_cast' was not declared. Should it be static? ../kernel/bpf/helpers.c:2761:18: warning: symbol 'bpf_rcu_read_lock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2766:18: warning: symbol 'bpf_rcu_read_unlock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2795:18: warning: symbol 'bpf_throw' was not declared. Should it be static? ../kernel/bpf/helpers.c:2814:17: warning: symbol 'bpf_wq_init' was not declared. Should it be static? ../kernel/bpf/helpers.c:2828:17: warning: symbol 'bpf_wq_start' was not declared. Should it be static? ../kernel/bpf/helpers.c:2845:17: warning: symbol 'bpf_wq_set_callback_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2859:18: warning: symbol 'bpf_preempt_disable' was not declared. Should it be static? ../kernel/bpf/helpers.c:2864:18: warning: symbol 'bpf_preempt_enable' was not declared. Should it be static? ../kernel/bpf/helpers.c:2923:1: warning: symbol 'bpf_iter_bits_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:2984:17: warning: symbol 'bpf_iter_bits_next' was not declared. Should it be static? ../kernel/bpf/helpers.c:3010:18: warning: symbol 'bpf_iter_bits_destroy' was not declared. Should it be static? ../kernel/bpf/helpers.c:3034:17: warning: symbol 'bpf_copy_from_user_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3065:18: warning: symbol 'bpf_local_irq_save' was not declared. Should it be static? ../kernel/bpf/helpers.c:3070:18: warning: symbol 'bpf_local_irq_restore' was not declared. Should it be static? ../kernel/bpf/helpers.c:2761: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:880:25: warning: context imbalance in 'bpf_rcu_read_unlock' - unexpected unlock ../kernel/bpf/bpf_struct_ops.c:539:27: warning: symbol 'bpf_struct_ops_link_lops' was not declared. Should it be static? ../kernel/bpf/core.c:243:49: error: arithmetics on pointers to functions ../kernel/bpf/core.c:2891: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:754:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:765:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:780:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:828:41: warning: incorrect type in assignment (different address spaces) ../kernel/trace/bpf_trace.c:828:41: expected void [noderef] __user *[addressable] [assigned] [usertype] sival_ptr ../kernel/trace/bpf_trace.c:828:41: got void * ../kernel/trace/bpf_trace.c:1279:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1328:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1352:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1372:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3491:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3499:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3540:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2596:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2600: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:880: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: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:3914:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4647:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5061:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:7941:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:11905:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:11921:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:11937:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:11958:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12148: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:5859:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5859:17: expected unsigned int [usertype] spi ../net/core/filter.c:5859:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5867:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5867:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5867:33: got restricted __be32 const [usertype] a4 ../kernel/bpf/verifier.c:347:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:21765: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 WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/block/rnull_mod.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? New errors added --- /tmp/tmp.LAnUkdS1iS 2024-12-03 20:30:06.835654931 -0800 +++ /tmp/tmp.ls7kce1jof 2024-12-03 20:31:54.503574203 -0800 @@ -1,91 +0,0 @@ -../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:3914:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? -../net/core/filter.c:4647:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? -../net/core/filter.c:5061:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? -../net/core/filter.c:7941:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? -../net/core/filter.c:11905:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? -../net/core/filter.c:11921:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? -../net/core/filter.c:11937:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? -../net/core/filter.c:11958:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? -../net/core/filter.c:12148: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:5859:17: warning: incorrect type in assignment (different base types) -../net/core/filter.c:5859:17: expected unsigned int [usertype] spi -../net/core/filter.c:5859:17: got restricted __be32 const [usertype] spi -../net/core/filter.c:5867:33: warning: incorrect type in assignment (different base types) -../net/core/filter.c:5867:33: expected unsigned int [usertype] remote_ipv4 -../net/core/filter.c:5867:33: got restricted __be32 const [usertype] a4 -../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:754:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:765:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:780:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:828:41: warning: incorrect type in assignment (different address spaces) -../kernel/trace/bpf_trace.c:828:41: expected void [noderef] __user *[addressable] [assigned] [usertype] sival_ptr -../kernel/trace/bpf_trace.c:828:41: got void * -../kernel/trace/bpf_trace.c:1279:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:1328:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:1352:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:1372:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3491:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3499:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3540:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:2596:21: warning: dereference of noderef expression -../kernel/trace/bpf_trace.c:2600: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:880:25: warning: context imbalance in 'uprobe_prog_run' - unexpected unlock -../kernel/bpf/core.c:243:49: error: arithmetics on pointers to functions -../kernel/bpf/core.c:2891: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 * @@ -146,0 +56,2 @@ +../kernel/bpf/helpers.c:3065:18: warning: symbol 'bpf_local_irq_save' was not declared. Should it be static? +../kernel/bpf/helpers.c:3070:18: warning: symbol 'bpf_local_irq_restore' was not declared. Should it be static? @@ -150,3 +61,36 @@ -../kernel/bpf/verifier.c:347:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? -../kernel/bpf/verifier.c:21470: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/bpf_struct_ops.c:539:27: warning: symbol 'bpf_struct_ops_link_lops' was not declared. Should it be static? +../kernel/bpf/core.c:243:49: error: arithmetics on pointers to functions +../kernel/bpf/core.c:2891: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:754:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:765:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:780:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:828:41: warning: incorrect type in assignment (different address spaces) +../kernel/trace/bpf_trace.c:828:41: expected void [noderef] __user *[addressable] [assigned] [usertype] sival_ptr +../kernel/trace/bpf_trace.c:828:41: got void * +../kernel/trace/bpf_trace.c:1279:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:1328:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:1352:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:1372:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3491:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3499:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3540:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:2596:21: warning: dereference of noderef expression +../kernel/trace/bpf_trace.c:2600: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:880: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): @@ -154,0 +99,60 @@ +../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:3914:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? +../net/core/filter.c:4647:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? +../net/core/filter.c:5061:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? +../net/core/filter.c:7941:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? +../net/core/filter.c:11905:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? +../net/core/filter.c:11921:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? +../net/core/filter.c:11937:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? +../net/core/filter.c:11958:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? +../net/core/filter.c:12148: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:5859:17: warning: incorrect type in assignment (different base types) +../net/core/filter.c:5859:17: expected unsigned int [usertype] spi +../net/core/filter.c:5859:17: got restricted __be32 const [usertype] spi +../net/core/filter.c:5867:33: warning: incorrect type in assignment (different base types) +../net/core/filter.c:5867:33: expected unsigned int [usertype] remote_ipv4 +../net/core/filter.c:5867:33: got restricted __be32 const [usertype] a4 +../kernel/bpf/verifier.c:347:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? +../kernel/bpf/verifier.c:21765: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): @@ -161 +164,0 @@ -../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): @@ -164 +166,0 @@ -../kernel/bpf/bpf_struct_ops.c:539:27: warning: symbol 'bpf_struct_ops_link_lops' was not declared. Should it be static? Per-file breakdown --- /tmp/tmp.ZVfoKmsR0g 2024-12-03 20:31:54.513574103 -0800 +++ /tmp/tmp.w8bU3RoZkp 2024-12-03 20:31:54.517574063 -0800 @@ -7 +7 @@ - 54 ../kernel/bpf/helpers.c + 56 ../kernel/bpf/helpers.c