.pylintrc: warning: ignored by one of the .gitignore files ../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:787:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:835:41: warning: incorrect type in assignment (different address spaces) ../kernel/trace/bpf_trace.c:835:41: expected void [noderef] __user *[addressable] [assigned] [usertype] sival_ptr ../kernel/trace/bpf_trace.c:835:41: got void * ../kernel/trace/bpf_trace.c:885:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:897:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1188:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1273:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1322:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1346:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1366:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3424:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3432:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3613:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3625:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3622:17: warning: symbol 'bpf_probe_read_user_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3629:17: warning: symbol 'bpf_probe_read_kernel_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3639:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3636:17: warning: symbol 'bpf_probe_read_user_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3643:17: warning: symbol 'bpf_probe_read_kernel_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3653:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3650:17: warning: symbol 'bpf_copy_from_user_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3660:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3657:17: warning: symbol 'bpf_copy_from_user_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3668:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3664:17: warning: symbol 'bpf_copy_from_user_task_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3676:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3672:17: warning: symbol 'bpf_copy_from_user_task_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2514:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2518: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? .pylintrc: warning: ignored by one of the .gitignore files ../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:709:17: warning: symbol 'bpf_perf_event_aux_pause' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:816:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:827:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:842:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:890:41: warning: incorrect type in assignment (different address spaces) ../kernel/trace/bpf_trace.c:890:41: expected void [noderef] __user *[addressable] [assigned] [usertype] sival_ptr ../kernel/trace/bpf_trace.c:890:41: got void * ../kernel/trace/bpf_trace.c:940:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:952:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1243:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1328:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1377:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1401:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1421:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3479:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3487:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3668:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3680:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3677:17: warning: symbol 'bpf_probe_read_user_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3684:17: warning: symbol 'bpf_probe_read_kernel_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3694:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3691:17: warning: symbol 'bpf_probe_read_user_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3698:17: warning: symbol 'bpf_probe_read_kernel_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3708:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3705:17: warning: symbol 'bpf_copy_from_user_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3715:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3712:17: warning: symbol 'bpf_copy_from_user_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3723:52: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3719:17: warning: symbol 'bpf_copy_from_user_task_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3731:56: warning: cast removes address space '__user' of expression ../kernel/trace/bpf_trace.c:3727:17: warning: symbol 'bpf_copy_from_user_task_str_dynptr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2569:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2573: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? New errors added --- /tmp/tmp.RPkEO7rM5t 2025-07-25 04:16:51.702176248 -0700 +++ /tmp/tmp.PQuB6Of6MW 2025-07-25 04:18:47.794384428 -0700 @@ -19,32 +19,33 @@ -../kernel/trace/bpf_trace.c:761:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:772:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:787:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:835:41: warning: incorrect type in assignment (different address spaces) -../kernel/trace/bpf_trace.c:835:41: expected void [noderef] __user *[addressable] [assigned] [usertype] sival_ptr -../kernel/trace/bpf_trace.c:835:41: got void * -../kernel/trace/bpf_trace.c:885:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:897:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:1188:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:1273:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:1322:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:1346:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:1366:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3424:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3432:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3613:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3625:52: warning: cast removes address space '__user' of expression -../kernel/trace/bpf_trace.c:3622:17: warning: symbol 'bpf_probe_read_user_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3629:17: warning: symbol 'bpf_probe_read_kernel_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3639:56: warning: cast removes address space '__user' of expression -../kernel/trace/bpf_trace.c:3636:17: warning: symbol 'bpf_probe_read_user_str_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3643:17: warning: symbol 'bpf_probe_read_kernel_str_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3653:52: warning: cast removes address space '__user' of expression -../kernel/trace/bpf_trace.c:3650:17: warning: symbol 'bpf_copy_from_user_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3660:56: warning: cast removes address space '__user' of expression -../kernel/trace/bpf_trace.c:3657:17: warning: symbol 'bpf_copy_from_user_str_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3668:52: warning: cast removes address space '__user' of expression -../kernel/trace/bpf_trace.c:3664:17: warning: symbol 'bpf_copy_from_user_task_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3676:56: warning: cast removes address space '__user' of expression -../kernel/trace/bpf_trace.c:3672:17: warning: symbol 'bpf_copy_from_user_task_str_dynptr' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:2514:21: warning: dereference of noderef expression -../kernel/trace/bpf_trace.c:2518:66: warning: dereference of noderef expression +../kernel/trace/bpf_trace.c:709:17: warning: symbol 'bpf_perf_event_aux_pause' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:816:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:827:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:842:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:890:41: warning: incorrect type in assignment (different address spaces) +../kernel/trace/bpf_trace.c:890:41: expected void [noderef] __user *[addressable] [assigned] [usertype] sival_ptr +../kernel/trace/bpf_trace.c:890:41: got void * +../kernel/trace/bpf_trace.c:940:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:952:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:1243:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:1328:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:1377:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:1401:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:1421:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3479:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3487:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3668:17: warning: symbol 'bpf_send_signal_task' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3680:52: warning: cast removes address space '__user' of expression +../kernel/trace/bpf_trace.c:3677:17: warning: symbol 'bpf_probe_read_user_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3684:17: warning: symbol 'bpf_probe_read_kernel_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3694:56: warning: cast removes address space '__user' of expression +../kernel/trace/bpf_trace.c:3691:17: warning: symbol 'bpf_probe_read_user_str_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3698:17: warning: symbol 'bpf_probe_read_kernel_str_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3708:52: warning: cast removes address space '__user' of expression +../kernel/trace/bpf_trace.c:3705:17: warning: symbol 'bpf_copy_from_user_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3715:56: warning: cast removes address space '__user' of expression +../kernel/trace/bpf_trace.c:3712:17: warning: symbol 'bpf_copy_from_user_str_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3723:52: warning: cast removes address space '__user' of expression +../kernel/trace/bpf_trace.c:3719:17: warning: symbol 'bpf_copy_from_user_task_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3731:56: warning: cast removes address space '__user' of expression +../kernel/trace/bpf_trace.c:3727:17: warning: symbol 'bpf_copy_from_user_task_str_dynptr' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:2569:21: warning: dereference of noderef expression +../kernel/trace/bpf_trace.c:2573:66: warning: dereference of noderef expression Per-file breakdown --- /tmp/tmp.DhJWEBlqyG 2025-07-25 04:18:47.800614080 -0700 +++ /tmp/tmp.hySToRCHTZ 2025-07-25 04:18:47.803614066 -0700 @@ -2 +2 @@ - 38 ../kernel/trace/bpf_trace.c + 39 ../kernel/trace/bpf_trace.c