../net/core/dev.c:5649:5: warning: symbol 'br_fdb_test_addr_hook' was not declared. Should it be static? ../net/core/dev.c:4126:17: warning: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block ../net/core/dev.c:5607:17: warning: context imbalance in 'net_tx_action' - different lock contexts for basic block ../kernel/bpf/rqspinlock.c:102:39: warning: incorrect type in initializer (different address spaces) ../kernel/bpf/rqspinlock.c:102:39: expected void const [noderef] __percpu *__vpp_verify ../kernel/bpf/rqspinlock.c:102:39: got struct rqspinlock_held * ../kernel/bpf/rqspinlock.c:124:39: warning: incorrect type in initializer (different address spaces) ../kernel/bpf/rqspinlock.c:124:39: expected void const [noderef] __percpu *__vpp_verify ../kernel/bpf/rqspinlock.c:124:39: got struct rqspinlock_held * ../kernel/bpf/rqspinlock.c:137:51: warning: incorrect type in initializer (different address spaces) ../kernel/bpf/rqspinlock.c:137:51: expected void const [noderef] __percpu *__vpp_verify ../kernel/bpf/rqspinlock.c:137:51: got struct rqspinlock_held * ../kernel/bpf/rqspinlock.c:671:39: warning: incorrect type in initializer (different address spaces) ../kernel/bpf/rqspinlock.c:671:39: expected void const [noderef] __percpu *__vpp_verify ../kernel/bpf/rqspinlock.c:671:39: got struct rqspinlock_held * ../kernel/bpf/rqspinlock.c:690:17: warning: symbol 'bpf_res_spin_lock' was not declared. Should it be static? ../kernel/bpf/rqspinlock.c:707:18: warning: symbol 'bpf_res_spin_unlock' was not declared. Should it be static? ../kernel/bpf/rqspinlock.c:713:17: warning: symbol 'bpf_res_spin_lock_irqsave' was not declared. Should it be static? ../kernel/bpf/rqspinlock.c:732:18: warning: symbol 'bpf_res_spin_unlock_irqrestore' was not declared. Should it be static? ../kernel/bpf/crypto.c:145:35: warning: symbol 'bpf_crypto_ctx_create' was not declared. Should it be static? ../kernel/bpf/crypto.c:242:35: warning: symbol 'bpf_crypto_ctx_acquire' was not declared. Should it be static? ../kernel/bpf/crypto.c:258:18: warning: symbol 'bpf_crypto_ctx_release' was not declared. Should it be static? ../kernel/bpf/crypto.c:313:17: warning: symbol 'bpf_crypto_decrypt' was not declared. Should it be static? ../kernel/bpf/crypto.c:334:17: warning: symbol 'bpf_crypto_encrypt' was not declared. Should it be static? ../kernel/bpf/helpers.c: In function ‘____bpf_snprintf’: ../kernel/bpf/helpers.c:1069:9: warning: function ‘____bpf_snprintf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1069 | err = bstr_printf(str, str_size, fmt, data.bin_args); | ^~~ ../kernel/bpf/core.c:247:49: error: arithmetics on pointers to functions ../kernel/bpf/core.c:3000: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:1199:21: warning: incorrect type in assignment (different address spaces) ../kernel/bpf/helpers.c:1199:21: expected unsigned long long ( *[usertype] callback_fn )( ... ) ../kernel/bpf/helpers.c:1199:21: got void [noderef] __rcu * ../kernel/bpf/helpers.c:1905:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1906:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1907:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1908:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1909:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1910:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1911:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1912:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1913:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1914:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1917:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2177:18: warning: symbol 'bpf_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2191:18: warning: symbol 'bpf_percpu_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2222:18: warning: symbol 'bpf_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2230:18: warning: symbol 'bpf_percpu_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2236:18: warning: symbol 'bpf_refcount_acquire_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2281:17: warning: symbol 'bpf_list_push_front_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2291:17: warning: symbol 'bpf_list_push_back_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2324:34: warning: symbol 'bpf_list_pop_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2329:34: warning: symbol 'bpf_list_pop_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2334:34: warning: symbol 'bpf_list_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2344:34: warning: symbol 'bpf_list_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2354:32: warning: symbol 'bpf_rbtree_remove' was not declared. Should it be static? ../kernel/bpf/helpers.c:2410:17: warning: symbol 'bpf_rbtree_add_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2420:32: warning: symbol 'bpf_rbtree_first' was not declared. Should it be static? ../kernel/bpf/helpers.c:2427:32: warning: symbol 'bpf_rbtree_root' was not declared. Should it be static? ../kernel/bpf/helpers.c:2434:32: warning: symbol 'bpf_rbtree_left' was not declared. Should it be static? ../kernel/bpf/helpers.c:2444:32: warning: symbol 'bpf_rbtree_right' was not declared. Should it be static? ../kernel/bpf/helpers.c:2460:32: warning: symbol 'bpf_task_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2471:18: warning: symbol 'bpf_task_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2476:18: warning: symbol 'bpf_task_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2489:27: warning: symbol 'bpf_cgroup_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2501:18: warning: symbol 'bpf_cgroup_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2506:18: warning: symbol 'bpf_cgroup_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2519:27: warning: symbol 'bpf_cgroup_ancestor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2539:27: warning: symbol 'bpf_cgroup_from_id' was not declared. Should it be static? ../kernel/bpf/helpers.c:2559:18: warning: symbol 'bpf_task_under_cgroup' was not declared. Should it be static? ../kernel/bpf/helpers.c:2602:27: warning: symbol 'bpf_task_get_cgroup1' was not declared. Should it be static? ../kernel/bpf/helpers.c:2619:32: warning: symbol 'bpf_task_from_pid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2638:32: warning: symbol 'bpf_task_from_vpid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2679:18: warning: symbol 'bpf_dynptr_slice' was not declared. Should it be static? ../kernel/bpf/helpers.c:2797:17: warning: symbol 'bpf_dynptr_adjust' was not declared. Should it be static? ../kernel/bpf/helpers.c:2816:18: warning: symbol 'bpf_dynptr_is_null' was not declared. Should it be static? ../kernel/bpf/helpers.c:2823:18: warning: symbol 'bpf_dynptr_is_rdonly' was not declared. Should it be static? ../kernel/bpf/helpers.c:2833:19: warning: symbol 'bpf_dynptr_size' was not declared. Should it be static? ../kernel/bpf/helpers.c:2843:17: warning: symbol 'bpf_dynptr_clone' was not declared. Should it be static? ../kernel/bpf/helpers.c:2870:17: warning: symbol 'bpf_dynptr_copy' was not declared. Should it be static? ../kernel/bpf/helpers.c:2925:18: warning: symbol 'bpf_dynptr_memset' was not declared. Should it be static? ../kernel/bpf/helpers.c:2960:18: warning: symbol 'bpf_cast_to_kern_ctx' was not declared. Should it be static? ../kernel/bpf/helpers.c:2965:18: warning: symbol 'bpf_rdonly_cast' was not declared. Should it be static? ../kernel/bpf/helpers.c:2970:18: warning: symbol 'bpf_rcu_read_lock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2975:18: warning: symbol 'bpf_rcu_read_unlock' was not declared. Should it be static? ../kernel/bpf/helpers.c:3011:18: warning: symbol 'bpf_throw' was not declared. Should it be static? ../kernel/bpf/helpers.c:3030:17: warning: symbol 'bpf_wq_init' was not declared. Should it be static? ../kernel/bpf/helpers.c:3044:17: warning: symbol 'bpf_wq_start' was not declared. Should it be static? ../kernel/bpf/helpers.c:3061:17: warning: symbol 'bpf_wq_set_callback_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:3075:18: warning: symbol 'bpf_preempt_disable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3080:18: warning: symbol 'bpf_preempt_enable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3139:1: warning: symbol 'bpf_iter_bits_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:3200:17: warning: symbol 'bpf_iter_bits_next' was not declared. Should it be static? ../kernel/bpf/helpers.c:3226:18: warning: symbol 'bpf_iter_bits_destroy' was not declared. Should it be static? ../kernel/bpf/helpers.c:3250:17: warning: symbol 'bpf_copy_from_user_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3295:17: warning: symbol 'bpf_copy_from_user_task_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3325:18: warning: symbol 'bpf_local_irq_save' was not declared. Should it be static? ../kernel/bpf/helpers.c:3330:18: warning: symbol 'bpf_local_irq_restore' was not declared. Should it be static? ../kernel/bpf/helpers.c:3335:18: warning: symbol '__bpf_trap' was not declared. Should it be static? ../kernel/bpf/helpers.c:3360:17: warning: symbol 'bpf_strcmp' was not declared. Should it be static? ../kernel/bpf/helpers.c:3402:17: warning: symbol 'bpf_strnchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3439:17: warning: symbol 'bpf_strchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3456:17: warning: symbol 'bpf_strchrnul' was not declared. Should it be static? ../kernel/bpf/helpers.c:3488:17: warning: symbol 'bpf_strrchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3521:17: warning: symbol 'bpf_strnlen' was not declared. Should it be static? ../kernel/bpf/helpers.c:3551:17: warning: symbol 'bpf_strlen' was not declared. Should it be static? ../kernel/bpf/helpers.c:3569:17: warning: symbol 'bpf_strspn' was not declared. Should it be static? ../kernel/bpf/helpers.c:3613:17: warning: symbol 'bpf_strcspn' was not declared. Should it be static? ../kernel/bpf/helpers.c:3658:17: warning: symbol 'bpf_strnstr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3711:17: warning: symbol 'bpf_strstr' was not declared. Should it be static? ../kernel/bpf/helpers.c:2970: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:22847: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? ../kernel/sys.c:1144:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1144:32: expected struct task_struct *p1 ../kernel/sys.c:1144:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1894:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../kernel/bpf/helpers.c: In function ‘____bpf_snprintf’: ../kernel/bpf/helpers.c:1069:9: warning: function ‘____bpf_snprintf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1069 | err = bstr_printf(str, str_size, fmt, data.bin_args); | ^~~ ../kernel/bpf/core.c:247:49: error: arithmetics on pointers to functions ../kernel/bpf/core.c:2998: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:1199:21: warning: incorrect type in assignment (different address spaces) ../kernel/bpf/helpers.c:1199:21: expected unsigned long long ( *[usertype] callback_fn )( ... ) ../kernel/bpf/helpers.c:1199:21: got void [noderef] __rcu * ../kernel/bpf/helpers.c:1902:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1903:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1904:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1905:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1906:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1907:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1908:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1909:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1910:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1911:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1914:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2174:18: warning: symbol 'bpf_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2188:18: warning: symbol 'bpf_percpu_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2219:18: warning: symbol 'bpf_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2227:18: warning: symbol 'bpf_percpu_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2233:18: warning: symbol 'bpf_refcount_acquire_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2278:17: warning: symbol 'bpf_list_push_front_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2288:17: warning: symbol 'bpf_list_push_back_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2321:34: warning: symbol 'bpf_list_pop_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2326:34: warning: symbol 'bpf_list_pop_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2331:34: warning: symbol 'bpf_list_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2341:34: warning: symbol 'bpf_list_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2351:32: warning: symbol 'bpf_rbtree_remove' was not declared. Should it be static? ../kernel/bpf/helpers.c:2407:17: warning: symbol 'bpf_rbtree_add_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2417:32: warning: symbol 'bpf_rbtree_first' was not declared. Should it be static? ../kernel/bpf/helpers.c:2424:32: warning: symbol 'bpf_rbtree_root' was not declared. Should it be static? ../kernel/bpf/helpers.c:2431:32: warning: symbol 'bpf_rbtree_left' was not declared. Should it be static? ../kernel/bpf/helpers.c:2441:32: warning: symbol 'bpf_rbtree_right' was not declared. Should it be static? ../kernel/bpf/helpers.c:2457:32: warning: symbol 'bpf_task_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2468:18: warning: symbol 'bpf_task_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2473:18: warning: symbol 'bpf_task_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2486:27: warning: symbol 'bpf_cgroup_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2498:18: warning: symbol 'bpf_cgroup_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2503:18: warning: symbol 'bpf_cgroup_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2516:27: warning: symbol 'bpf_cgroup_ancestor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2536:27: warning: symbol 'bpf_cgroup_from_id' was not declared. Should it be static? ../kernel/bpf/helpers.c:2556:18: warning: symbol 'bpf_task_under_cgroup' was not declared. Should it be static? ../kernel/bpf/helpers.c:2599:27: warning: symbol 'bpf_task_get_cgroup1' was not declared. Should it be static? ../kernel/bpf/helpers.c:2616:32: warning: symbol 'bpf_task_from_pid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2635:32: warning: symbol 'bpf_task_from_vpid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2676:18: warning: symbol 'bpf_dynptr_slice' was not declared. Should it be static? ../kernel/bpf/helpers.c:2794:17: warning: symbol 'bpf_dynptr_adjust' was not declared. Should it be static? ../kernel/bpf/helpers.c:2813:18: warning: symbol 'bpf_dynptr_is_null' was not declared. Should it be static? ../kernel/bpf/helpers.c:2820:18: warning: symbol 'bpf_dynptr_is_rdonly' was not declared. Should it be static? ../kernel/bpf/helpers.c:2830:19: warning: symbol 'bpf_dynptr_size' was not declared. Should it be static? ../kernel/bpf/helpers.c:2840:17: warning: symbol 'bpf_dynptr_clone' was not declared. Should it be static? ../kernel/bpf/helpers.c:2867:17: warning: symbol 'bpf_dynptr_copy' was not declared. Should it be static? ../kernel/bpf/helpers.c:2922:18: warning: symbol 'bpf_dynptr_memset' was not declared. Should it be static? ../kernel/bpf/helpers.c:2957:18: warning: symbol 'bpf_cast_to_kern_ctx' was not declared. Should it be static? ../kernel/bpf/helpers.c:2962:18: warning: symbol 'bpf_rdonly_cast' was not declared. Should it be static? ../kernel/bpf/helpers.c:2967:18: warning: symbol 'bpf_rcu_read_lock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2972:18: warning: symbol 'bpf_rcu_read_unlock' was not declared. Should it be static? ../kernel/bpf/helpers.c:3008:18: warning: symbol 'bpf_throw' was not declared. Should it be static? ../kernel/bpf/helpers.c:3027:17: warning: symbol 'bpf_wq_init' was not declared. Should it be static? ../kernel/bpf/helpers.c:3041:17: warning: symbol 'bpf_wq_start' was not declared. Should it be static? ../kernel/bpf/helpers.c:3058:17: warning: symbol 'bpf_wq_set_callback_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:3072:18: warning: symbol 'bpf_preempt_disable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3077:18: warning: symbol 'bpf_preempt_enable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3136:1: warning: symbol 'bpf_iter_bits_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:3197:17: warning: symbol 'bpf_iter_bits_next' was not declared. Should it be static? ../kernel/bpf/helpers.c:3223:18: warning: symbol 'bpf_iter_bits_destroy' was not declared. Should it be static? ../kernel/bpf/helpers.c:3247:17: warning: symbol 'bpf_copy_from_user_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3292:17: warning: symbol 'bpf_copy_from_user_task_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3322:18: warning: symbol 'bpf_local_irq_save' was not declared. Should it be static? ../kernel/bpf/helpers.c:3327:18: warning: symbol 'bpf_local_irq_restore' was not declared. Should it be static? ../kernel/bpf/helpers.c:3332:18: warning: symbol '__bpf_trap' was not declared. Should it be static? ../kernel/bpf/helpers.c:3357:17: warning: symbol 'bpf_strcmp' was not declared. Should it be static? ../kernel/bpf/helpers.c:3399:17: warning: symbol 'bpf_strnchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3436:17: warning: symbol 'bpf_strchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3453:17: warning: symbol 'bpf_strchrnul' was not declared. Should it be static? ../kernel/bpf/helpers.c:3485:17: warning: symbol 'bpf_strrchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3518:17: warning: symbol 'bpf_strnlen' was not declared. Should it be static? ../kernel/bpf/helpers.c:3548:17: warning: symbol 'bpf_strlen' was not declared. Should it be static? ../kernel/bpf/helpers.c:3566:17: warning: symbol 'bpf_strspn' was not declared. Should it be static? ../kernel/bpf/helpers.c:3610:17: warning: symbol 'bpf_strcspn' was not declared. Should it be static? ../kernel/bpf/helpers.c:3655:17: warning: symbol 'bpf_strnstr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3701:17: warning: symbol 'bpf_strstr' was not declared. Should it be static? ../kernel/bpf/helpers.c:2967: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:22843: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/crypto.c:145:35: warning: symbol 'bpf_crypto_ctx_create' was not declared. Should it be static? ../kernel/bpf/crypto.c:242:35: warning: symbol 'bpf_crypto_ctx_acquire' was not declared. Should it be static? ../kernel/bpf/crypto.c:258:18: warning: symbol 'bpf_crypto_ctx_release' was not declared. Should it be static? ../kernel/bpf/crypto.c:313:17: warning: symbol 'bpf_crypto_decrypt' was not declared. Should it be static? ../kernel/bpf/crypto.c:334:17: warning: symbol 'bpf_crypto_encrypt' was not declared. Should it be static? ../kernel/bpf/rqspinlock.c:102:39: warning: incorrect type in initializer (different address spaces) ../kernel/bpf/rqspinlock.c:102:39: expected void const [noderef] __percpu *__vpp_verify ../kernel/bpf/rqspinlock.c:102:39: got struct rqspinlock_held * ../kernel/bpf/rqspinlock.c:124:39: warning: incorrect type in initializer (different address spaces) ../kernel/bpf/rqspinlock.c:124:39: expected void const [noderef] __percpu *__vpp_verify ../kernel/bpf/rqspinlock.c:124:39: got struct rqspinlock_held * ../kernel/bpf/rqspinlock.c:137:51: warning: incorrect type in initializer (different address spaces) ../kernel/bpf/rqspinlock.c:137:51: expected void const [noderef] __percpu *__vpp_verify ../kernel/bpf/rqspinlock.c:137:51: got struct rqspinlock_held * ../kernel/bpf/rqspinlock.c:671:39: warning: incorrect type in initializer (different address spaces) ../kernel/bpf/rqspinlock.c:671:39: expected void const [noderef] __percpu *__vpp_verify ../kernel/bpf/rqspinlock.c:671:39: got struct rqspinlock_held * ../kernel/bpf/rqspinlock.c:690:17: warning: symbol 'bpf_res_spin_lock' was not declared. Should it be static? ../kernel/bpf/rqspinlock.c:707:18: warning: symbol 'bpf_res_spin_unlock' was not declared. Should it be static? ../kernel/bpf/rqspinlock.c:713:17: warning: symbol 'bpf_res_spin_lock_irqsave' was not declared. Should it be static? ../kernel/bpf/rqspinlock.c:732:18: warning: symbol 'bpf_res_spin_unlock_irqrestore' was not declared. Should it be static? ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:434:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../kernel/sys.c:1144:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1144:32: expected struct task_struct *p1 ../kernel/sys.c:1144:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1894:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../kernel/bpf/helpers.c: In function ‘____bpf_snprintf’: ../kernel/bpf/helpers.c:1069:9: warning: function ‘____bpf_snprintf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1069 | err = bstr_printf(str, str_size, fmt, data.bin_args); | ^~~ ../kernel/bpf/rqspinlock.c:102:39: warning: incorrect type in initializer (different address spaces) ../kernel/bpf/rqspinlock.c:102:39: expected void const [noderef] __percpu *__vpp_verify ../kernel/bpf/rqspinlock.c:102:39: got struct rqspinlock_held * ../kernel/bpf/rqspinlock.c:124:39: warning: incorrect type in initializer (different address spaces) ../kernel/bpf/rqspinlock.c:124:39: expected void const [noderef] __percpu *__vpp_verify ../kernel/bpf/rqspinlock.c:124:39: got struct rqspinlock_held * ../kernel/bpf/rqspinlock.c:137:51: warning: incorrect type in initializer (different address spaces) ../kernel/bpf/rqspinlock.c:137:51: expected void const [noderef] __percpu *__vpp_verify ../kernel/bpf/rqspinlock.c:137:51: got struct rqspinlock_held * ../kernel/bpf/rqspinlock.c:671:39: warning: incorrect type in initializer (different address spaces) ../kernel/bpf/rqspinlock.c:671:39: expected void const [noderef] __percpu *__vpp_verify ../kernel/bpf/rqspinlock.c:671:39: got struct rqspinlock_held * ../kernel/bpf/rqspinlock.c:690:17: warning: symbol 'bpf_res_spin_lock' was not declared. Should it be static? ../kernel/bpf/rqspinlock.c:707:18: warning: symbol 'bpf_res_spin_unlock' was not declared. Should it be static? ../kernel/bpf/rqspinlock.c:713:17: warning: symbol 'bpf_res_spin_lock_irqsave' was not declared. Should it be static? ../kernel/bpf/rqspinlock.c:732:18: warning: symbol 'bpf_res_spin_unlock_irqrestore' was not declared. Should it be static? ../kernel/bpf/core.c:247:49: error: arithmetics on pointers to functions ../kernel/bpf/core.c:3000: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:1199:21: warning: incorrect type in assignment (different address spaces) ../kernel/bpf/helpers.c:1199:21: expected unsigned long long ( *[usertype] callback_fn )( ... ) ../kernel/bpf/helpers.c:1199:21: got void [noderef] __rcu * ../kernel/bpf/helpers.c:1905:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1906:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1907:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1908:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1909:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1910:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1911:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1912:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1913:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1914:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1917:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2177:18: warning: symbol 'bpf_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2191:18: warning: symbol 'bpf_percpu_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2222:18: warning: symbol 'bpf_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2230:18: warning: symbol 'bpf_percpu_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2236:18: warning: symbol 'bpf_refcount_acquire_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2281:17: warning: symbol 'bpf_list_push_front_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2291:17: warning: symbol 'bpf_list_push_back_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2324:34: warning: symbol 'bpf_list_pop_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2329:34: warning: symbol 'bpf_list_pop_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2334:34: warning: symbol 'bpf_list_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2344:34: warning: symbol 'bpf_list_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2354:32: warning: symbol 'bpf_rbtree_remove' was not declared. Should it be static? ../kernel/bpf/helpers.c:2410:17: warning: symbol 'bpf_rbtree_add_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2420:32: warning: symbol 'bpf_rbtree_first' was not declared. Should it be static? ../kernel/bpf/helpers.c:2427:32: warning: symbol 'bpf_rbtree_root' was not declared. Should it be static? ../kernel/bpf/helpers.c:2434:32: warning: symbol 'bpf_rbtree_left' was not declared. Should it be static? ../kernel/bpf/helpers.c:2444:32: warning: symbol 'bpf_rbtree_right' was not declared. Should it be static? ../kernel/bpf/helpers.c:2460:32: warning: symbol 'bpf_task_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2471:18: warning: symbol 'bpf_task_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2476:18: warning: symbol 'bpf_task_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2489:27: warning: symbol 'bpf_cgroup_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2501:18: warning: symbol 'bpf_cgroup_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2506:18: warning: symbol 'bpf_cgroup_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2519:27: warning: symbol 'bpf_cgroup_ancestor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2539:27: warning: symbol 'bpf_cgroup_from_id' was not declared. Should it be static? ../kernel/bpf/helpers.c:2559:18: warning: symbol 'bpf_task_under_cgroup' was not declared. Should it be static? ../kernel/bpf/helpers.c:2602:27: warning: symbol 'bpf_task_get_cgroup1' was not declared. Should it be static? ../kernel/bpf/helpers.c:2619:32: warning: symbol 'bpf_task_from_pid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2638:32: warning: symbol 'bpf_task_from_vpid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2679:18: warning: symbol 'bpf_dynptr_slice' was not declared. Should it be static? ../kernel/bpf/helpers.c:2797:17: warning: symbol 'bpf_dynptr_adjust' was not declared. Should it be static? ../kernel/bpf/helpers.c:2816:18: warning: symbol 'bpf_dynptr_is_null' was not declared. Should it be static? ../kernel/bpf/helpers.c:2823:18: warning: symbol 'bpf_dynptr_is_rdonly' was not declared. Should it be static? ../kernel/bpf/helpers.c:2833:19: warning: symbol 'bpf_dynptr_size' was not declared. Should it be static? ../kernel/bpf/helpers.c:2843:17: warning: symbol 'bpf_dynptr_clone' was not declared. Should it be static? ../kernel/bpf/helpers.c:2870:17: warning: symbol 'bpf_dynptr_copy' was not declared. Should it be static? ../kernel/bpf/helpers.c:2925:18: warning: symbol 'bpf_dynptr_memset' was not declared. Should it be static? ../kernel/bpf/helpers.c:2960:18: warning: symbol 'bpf_cast_to_kern_ctx' was not declared. Should it be static? ../kernel/bpf/helpers.c:2965:18: warning: symbol 'bpf_rdonly_cast' was not declared. Should it be static? ../kernel/bpf/helpers.c:2970:18: warning: symbol 'bpf_rcu_read_lock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2975:18: warning: symbol 'bpf_rcu_read_unlock' was not declared. Should it be static? ../kernel/bpf/helpers.c:3011:18: warning: symbol 'bpf_throw' was not declared. Should it be static? ../kernel/bpf/helpers.c:3030:17: warning: symbol 'bpf_wq_init' was not declared. Should it be static? ../kernel/bpf/helpers.c:3044:17: warning: symbol 'bpf_wq_start' was not declared. Should it be static? ../kernel/bpf/helpers.c:3061:17: warning: symbol 'bpf_wq_set_callback_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:3075:18: warning: symbol 'bpf_preempt_disable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3080:18: warning: symbol 'bpf_preempt_enable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3139:1: warning: symbol 'bpf_iter_bits_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:3200:17: warning: symbol 'bpf_iter_bits_next' was not declared. Should it be static? ../kernel/bpf/helpers.c:3226:18: warning: symbol 'bpf_iter_bits_destroy' was not declared. Should it be static? ../kernel/bpf/helpers.c:3250:17: warning: symbol 'bpf_copy_from_user_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3295:17: warning: symbol 'bpf_copy_from_user_task_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3325:18: warning: symbol 'bpf_local_irq_save' was not declared. Should it be static? ../kernel/bpf/helpers.c:3330:18: warning: symbol 'bpf_local_irq_restore' was not declared. Should it be static? ../kernel/bpf/helpers.c:3335:18: warning: symbol '__bpf_trap' was not declared. Should it be static? ../kernel/bpf/helpers.c:3360:17: warning: symbol 'bpf_strcmp' was not declared. Should it be static? ../kernel/bpf/helpers.c:3402:17: warning: symbol 'bpf_strnchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3439:17: warning: symbol 'bpf_strchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3456:17: warning: symbol 'bpf_strchrnul' was not declared. Should it be static? ../kernel/bpf/helpers.c:3488:17: warning: symbol 'bpf_strrchr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3521:17: warning: symbol 'bpf_strnlen' was not declared. Should it be static? ../kernel/bpf/helpers.c:3551:17: warning: symbol 'bpf_strlen' was not declared. Should it be static? ../kernel/bpf/helpers.c:3569:17: warning: symbol 'bpf_strspn' was not declared. Should it be static? ../kernel/bpf/helpers.c:3613:17: warning: symbol 'bpf_strcspn' was not declared. Should it be static? ../kernel/bpf/helpers.c:3658:17: warning: symbol 'bpf_strnstr' was not declared. Should it be static? ../kernel/bpf/helpers.c:3711:17: warning: symbol 'bpf_strstr' was not declared. Should it be static? ../kernel/bpf/helpers.c:2970: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:22847: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/crypto.c:145:35: warning: symbol 'bpf_crypto_ctx_create' was not declared. Should it be static? ../kernel/bpf/crypto.c:242:35: warning: symbol 'bpf_crypto_ctx_acquire' was not declared. Should it be static? ../kernel/bpf/crypto.c:258:18: warning: symbol 'bpf_crypto_ctx_release' was not declared. Should it be static? ../kernel/bpf/crypto.c:313:17: warning: symbol 'bpf_crypto_decrypt' was not declared. Should it be static? ../kernel/bpf/crypto.c:334:17: warning: symbol 'bpf_crypto_encrypt' was not declared. Should it be static? ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:434:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?