../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/trace/bpf_trace.c: In function ‘____bpf_trace_printk’: ../kernel/trace/bpf_trace.c:378:9: warning: function ‘____bpf_trace_printk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 378 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_vprintk’: ../kernel/trace/bpf_trace.c:434:9: warning: function ‘____bpf_trace_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 434 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_seq_printf’: ../kernel/trace/bpf_trace.c:476:9: warning: function ‘____bpf_seq_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 476 | seq_bprintf(m, fmt, data.bin_args); | ^~~~~~~~~~~ ../kernel/trace/bpf_trace.c:190:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:227:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:242:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:277:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:575:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:761:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:772:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:786:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:834:41: warning: incorrect type in assignment (different address spaces) ../kernel/trace/bpf_trace.c:834:41: expected void [noderef] __user *[addressable] [assigned] [usertype] sival_ptr ../kernel/trace/bpf_trace.c:834:41: got void * ../kernel/trace/bpf_trace.c:884:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:896:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1187:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1272:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1321:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1345:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1365:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3497:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3505:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3686:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3698:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3695:17: warning: symbol 'bpf_probe_read_user_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3702:17: warning: symbol 'bpf_probe_read_kernel_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3712:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3709:17: warning: symbol 'bpf_probe_read_user_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3716:17: warning: symbol 'bpf_probe_read_kernel_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3726:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3723:17: warning: symbol 'bpf_copy_from_user_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3733:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3730:17: warning: symbol 'bpf_copy_from_user_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3741:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3737:17: warning: symbol 'bpf_copy_from_user_task_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3749:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3745:17: warning: symbol 'bpf_copy_from_user_task_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2512:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2516:66: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.h): ../include/linux/rcupdate.h:871:25: warning: context imbalance in 'uprobe_prog_run' - unexpected unlock ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_printk’: ../kernel/trace/bpf_trace.c:378:9: warning: function ‘____bpf_trace_printk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 378 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_vprintk’: ../kernel/trace/bpf_trace.c:434:9: warning: function ‘____bpf_trace_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 434 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_seq_printf’: ../kernel/trace/bpf_trace.c:476:9: warning: function ‘____bpf_seq_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 476 | seq_bprintf(m, fmt, data.bin_args); | ^~~~~~~~~~~ ../kernel/trace/bpf_trace.c:190:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:227:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:242:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:277:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:575:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:761:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:772:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:786:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:834:41: warning: incorrect type in assignment (different address spaces) ../kernel/trace/bpf_trace.c:834:41: expected void [noderef] __user *[addressable] [assigned] [usertype] sival_ptr ../kernel/trace/bpf_trace.c:834:41: got void * ../kernel/trace/bpf_trace.c:884:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:896:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1187:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1272:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1321:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1345:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1365:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3492:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3500:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3681:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3693:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3690:17: warning: symbol 'bpf_probe_read_user_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3697:17: warning: symbol 'bpf_probe_read_kernel_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3707:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3704:17: warning: symbol 'bpf_probe_read_user_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3711:17: warning: symbol 'bpf_probe_read_kernel_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3721:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3718:17: warning: symbol 'bpf_copy_from_user_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3728:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3725:17: warning: symbol 'bpf_copy_from_user_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3736:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3732:17: warning: symbol 'bpf_copy_from_user_task_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3744:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3740:17: warning: symbol 'bpf_copy_from_user_task_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2512:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2516:66: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.h): ../include/linux/rcupdate.h:871:25: warning: context imbalance in 'uprobe_prog_run' - unexpected unlock ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_printk’: ../kernel/trace/bpf_trace.c:378:9: warning: function ‘____bpf_trace_printk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 378 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_vprintk’: ../kernel/trace/bpf_trace.c:434:9: warning: function ‘____bpf_trace_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 434 | ret = bstr_printf(data.buf, MAX_BPRINTF_BUF, fmt, data.bin_args); | ^~~ ../kernel/trace/bpf_trace.c: In function ‘____bpf_seq_printf’: ../kernel/trace/bpf_trace.c:476:9: warning: function ‘____bpf_seq_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 476 | seq_bprintf(m, fmt, data.bin_args); | ^~~~~~~~~~~ ../kernel/trace/bpf_trace.c:190:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:227:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:242:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:277:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:575:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:761:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:772:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:786:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:834:41: warning: incorrect type in assignment (different address spaces) ../kernel/trace/bpf_trace.c:834:41: expected void [noderef] __user *[addressable] [assigned] [usertype] sival_ptr ../kernel/trace/bpf_trace.c:834:41: got void * ../kernel/trace/bpf_trace.c:884:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:896:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1187:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1272:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1321:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1345:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1365:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3497:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3505:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3686:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3698:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3695:17: warning: symbol 'bpf_probe_read_user_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3702:17: warning: symbol 'bpf_probe_read_kernel_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3712:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3709:17: warning: symbol 'bpf_probe_read_user_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3716:17: warning: symbol 'bpf_probe_read_kernel_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3726:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3723:17: warning: symbol 'bpf_copy_from_user_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3733:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3730:17: warning: symbol 'bpf_copy_from_user_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3741:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3737:17: warning: symbol 'bpf_copy_from_user_task_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3749:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3745:17: warning: symbol 'bpf_copy_from_user_task_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2512:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2516:66: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.h): ../include/linux/rcupdate.h:871:25: warning: context imbalance in 'uprobe_prog_run' - unexpected unlock ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?