Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_printk’: ../kernel/trace/bpf_trace.c:377:9: warning: function ‘____bpf_trace_printk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 377 | 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:433:9: warning: function ‘____bpf_trace_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 433 | 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:475:9: warning: function ‘____bpf_seq_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 475 | seq_bprintf(m, fmt, data.bin_args); | ^~~~~~~~~~~ ../kernel/trace/bpf_trace.c:189:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:226:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:241:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:276:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:574:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:760:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:771:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:785:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:833:41: warning: incorrect type in assignment (different address spaces) ../kernel/trace/bpf_trace.c:833:41: expected void [noderef] __user *[addressable] [assigned] [usertype] sival_ptr ../kernel/trace/bpf_trace.c:833:41: got void * ../kernel/trace/bpf_trace.c:883:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:895:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1186:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3319:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3327:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3508:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3520:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3517:17: warning: symbol 'bpf_probe_read_user_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3524:17: warning: symbol 'bpf_probe_read_kernel_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3534:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3531:17: warning: symbol 'bpf_probe_read_user_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3538:17: warning: symbol 'bpf_probe_read_kernel_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3548:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3545:17: warning: symbol 'bpf_copy_from_user_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3555:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3552:17: warning: symbol 'bpf_copy_from_user_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3563:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3559:17: warning: symbol 'bpf_copy_from_user_task_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3571:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3567:17: warning: symbol 'bpf_copy_from_user_task_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2330:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2334: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:897:25: warning: context imbalance in 'uprobe_prog_run' - unexpected unlock ../kernel/bpf/verifier.c:355:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:22870: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? Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../kernel/trace/bpf_trace.c: In function ‘____bpf_trace_printk’: ../kernel/trace/bpf_trace.c:377:9: warning: function ‘____bpf_trace_printk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 377 | 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:433:9: warning: function ‘____bpf_trace_vprintk’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 433 | 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:475:9: warning: function ‘____bpf_seq_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 475 | seq_bprintf(m, fmt, data.bin_args); | ^~~~~~~~~~~ ../kernel/trace/bpf_trace.c:189:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:226:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:241:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:276:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:574:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:760:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:771:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:785:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:833:41: warning: incorrect type in assignment (different address spaces) ../kernel/trace/bpf_trace.c:833:41: expected void [noderef] __user *[addressable] [assigned] [usertype] sival_ptr ../kernel/trace/bpf_trace.c:833:41: got void * ../kernel/trace/bpf_trace.c:883:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:895:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1186:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3319:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3327:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3361:18: warning: symbol 'bpf_tracing_is_exit' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3545:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3557:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3554:17: warning: symbol 'bpf_probe_read_user_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3561:17: warning: symbol 'bpf_probe_read_kernel_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3571:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3568:17: warning: symbol 'bpf_probe_read_user_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3575:17: warning: symbol 'bpf_probe_read_kernel_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3585:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3582:17: warning: symbol 'bpf_copy_from_user_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3592:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3589:17: warning: symbol 'bpf_copy_from_user_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3600:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3596:17: warning: symbol 'bpf_copy_from_user_task_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3608:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3604:17: warning: symbol 'bpf_copy_from_user_task_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2330:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2334: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:897:25: warning: context imbalance in 'uprobe_prog_run' - unexpected unlock ../kernel/bpf/verifier.c:355:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:22873:38: error: subtraction of functions? Share your drugs ../kernel/bpf/verifier.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf-cgroup.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? New errors added --- /tmp/tmp.uubzrtl1T6 2025-10-18 08:54:28.468760546 -0700 +++ /tmp/tmp.g6JCCzh7gy 2025-10-18 08:56:29.823448699 -0700 @@ -30,13 +30,5 @@ -../kernel/trace/bpf_trace.c:3508:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3520:52: warning: cast removes address space '__user' of expression -../kernel/trace/bpf_trace.c:3517:17: warning: symbol 'bpf_probe_read_user_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3524:17: warning: symbol 'bpf_probe_read_kernel_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3534:56: warning: cast removes address space '__user' of expression -../kernel/trace/bpf_trace.c:3531:17: warning: symbol 'bpf_probe_read_user_str_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3538:17: warning: symbol 'bpf_probe_read_kernel_str_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3548:52: warning: cast removes address space '__user' of expression -../kernel/trace/bpf_trace.c:3545:17: warning: symbol 'bpf_copy_from_user_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3555:56: warning: cast removes address space '__user' of expression -../kernel/trace/bpf_trace.c:3552:17: warning: symbol 'bpf_copy_from_user_str_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3563:52: warning: cast removes address space '__user' of expression -../kernel/trace/bpf_trace.c:3559:17: warning: symbol 'bpf_copy_from_user_task_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3361:18: warning: symbol 'bpf_tracing_is_exit' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3545:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3557:52: warning: cast removes address space '__user' of expression +../kernel/trace/bpf_trace.c:3554:17: warning: symbol 'bpf_probe_read_user_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3561:17: warning: symbol 'bpf_probe_read_kernel_dynptr' was not declared. Should it be static? @@ -44 +36,10 @@ -../kernel/trace/bpf_trace.c:3567:17: warning: symbol 'bpf_copy_from_user_task_str_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3568:17: warning: symbol 'bpf_probe_read_user_str_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3575:17: warning: symbol 'bpf_probe_read_kernel_str_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3585:52: warning: cast removes address space '__user' of expression +../kernel/trace/bpf_trace.c:3582:17: warning: symbol 'bpf_copy_from_user_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3592:56: warning: cast removes address space '__user' of expression +../kernel/trace/bpf_trace.c:3589:17: warning: symbol 'bpf_copy_from_user_str_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3600:52: warning: cast removes address space '__user' of expression +../kernel/trace/bpf_trace.c:3596:17: warning: symbol 'bpf_copy_from_user_task_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3608:56: warning: cast removes address space '__user' of expression +../kernel/trace/bpf_trace.c:3604:17: warning: symbol 'bpf_copy_from_user_task_str_dynptr' was not declared. Should it be static? @@ -50 +51 @@ -../kernel/bpf/verifier.c:22870:38: error: subtraction of functions? Share your drugs +../kernel/bpf/verifier.c:22873:38: error: subtraction of functions? Share your drugs Per-file breakdown --- /tmp/tmp.fMLaKadI2i 2025-10-18 08:56:29.831761973 -0700 +++ /tmp/tmp.THW6NYdXY3 2025-10-18 08:56:29.833761956 -0700 @@ -4 +4 @@ - 34 ../kernel/trace/bpf_trace.c + 35 ../kernel/trace/bpf_trace.c