.pylintrc: warning: ignored by one of the .gitignore files ../kernel/bpf/helpers.c: In function ‘____bpf_snprintf’: ../kernel/bpf/helpers.c:1063:9: warning: function ‘____bpf_snprintf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1063 | 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:2972:29: warning: symbol 'bpf_seq_printf_btf_proto' was not declared. Should it be static? ../kernel/bpf/core.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../include/trace/events/xdp.h, ../include/linux/bpf_trace.h): ../include/trace/events/xdp.h:321:1: warning: Using plain integer as NULL pointer ../include/trace/events/xdp.h:348:1: warning: Using plain integer as NULL pointer ../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:1193:21: warning: incorrect type in assignment (different address spaces) ../kernel/bpf/helpers.c:1193:21: expected unsigned long long ( *[usertype] callback_fn )( ... ) ../kernel/bpf/helpers.c:1193:21: got void [noderef] __rcu * ../kernel/bpf/helpers.c:1896:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1897:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1898:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1899:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1900:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1901:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1902:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1903:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1904:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1905:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1908:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2168:18: warning: symbol 'bpf_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2182:18: warning: symbol 'bpf_percpu_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2213:18: warning: symbol 'bpf_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2221:18: warning: symbol 'bpf_percpu_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2227:18: warning: symbol 'bpf_refcount_acquire_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2272:17: warning: symbol 'bpf_list_push_front_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2282:17: warning: symbol 'bpf_list_push_back_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2315:34: warning: symbol 'bpf_list_pop_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2320:34: warning: symbol 'bpf_list_pop_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2325:34: warning: symbol 'bpf_list_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2335:34: warning: symbol 'bpf_list_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2345:32: warning: symbol 'bpf_rbtree_remove' was not declared. Should it be static? ../kernel/bpf/helpers.c:2401:17: warning: symbol 'bpf_rbtree_add_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2411:32: warning: symbol 'bpf_rbtree_first' was not declared. Should it be static? ../kernel/bpf/helpers.c:2418:32: warning: symbol 'bpf_rbtree_root' was not declared. Should it be static? ../kernel/bpf/helpers.c:2425:32: warning: symbol 'bpf_rbtree_left' was not declared. Should it be static? ../kernel/bpf/helpers.c:2435:32: warning: symbol 'bpf_rbtree_right' was not declared. Should it be static? ../kernel/bpf/helpers.c:2451:32: warning: symbol 'bpf_task_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2462:18: warning: symbol 'bpf_task_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2467:18: warning: symbol 'bpf_task_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2480:27: warning: symbol 'bpf_cgroup_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2492:18: warning: symbol 'bpf_cgroup_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2497:18: warning: symbol 'bpf_cgroup_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2510:27: warning: symbol 'bpf_cgroup_ancestor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2530:27: warning: symbol 'bpf_cgroup_from_id' was not declared. Should it be static? ../kernel/bpf/helpers.c:2550:18: warning: symbol 'bpf_task_under_cgroup' was not declared. Should it be static? ../kernel/bpf/helpers.c:2593:27: warning: symbol 'bpf_task_get_cgroup1' was not declared. Should it be static? ../kernel/bpf/helpers.c:2610:32: warning: symbol 'bpf_task_from_pid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2629:32: warning: symbol 'bpf_task_from_vpid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2670:18: warning: symbol 'bpf_dynptr_slice' was not declared. Should it be static? ../kernel/bpf/helpers.c:2788:17: warning: symbol 'bpf_dynptr_adjust' was not declared. Should it be static? ../kernel/bpf/helpers.c:2807:18: warning: symbol 'bpf_dynptr_is_null' was not declared. Should it be static? ../kernel/bpf/helpers.c:2814:18: warning: symbol 'bpf_dynptr_is_rdonly' was not declared. Should it be static? ../kernel/bpf/helpers.c:2824:19: warning: symbol 'bpf_dynptr_size' was not declared. Should it be static? ../kernel/bpf/helpers.c:2834:17: warning: symbol 'bpf_dynptr_clone' was not declared. Should it be static? ../kernel/bpf/helpers.c:2861:17: warning: symbol 'bpf_dynptr_copy' was not declared. Should it be static? ../kernel/bpf/helpers.c:2905:18: warning: symbol 'bpf_cast_to_kern_ctx' was not declared. Should it be static? ../kernel/bpf/helpers.c:2910:18: warning: symbol 'bpf_rdonly_cast' was not declared. Should it be static? ../kernel/bpf/helpers.c:2915:18: warning: symbol 'bpf_rcu_read_lock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2920:18: warning: symbol 'bpf_rcu_read_unlock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2949:18: warning: symbol 'bpf_throw' was not declared. Should it be static? ../kernel/bpf/helpers.c:2968:17: warning: symbol 'bpf_wq_init' was not declared. Should it be static? ../kernel/bpf/helpers.c:2982:17: warning: symbol 'bpf_wq_start' was not declared. Should it be static? ../kernel/bpf/helpers.c:2999:17: warning: symbol 'bpf_wq_set_callback_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:3013:18: warning: symbol 'bpf_preempt_disable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3018:18: warning: symbol 'bpf_preempt_enable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3077:1: warning: symbol 'bpf_iter_bits_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:3138:17: warning: symbol 'bpf_iter_bits_next' was not declared. Should it be static? ../kernel/bpf/helpers.c:3164:18: warning: symbol 'bpf_iter_bits_destroy' was not declared. Should it be static? ../kernel/bpf/helpers.c:3188:17: warning: symbol 'bpf_copy_from_user_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3233:17: warning: symbol 'bpf_copy_from_user_task_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3263:18: warning: symbol 'bpf_local_irq_save' was not declared. Should it be static? ../kernel/bpf/helpers.c:3268:18: warning: symbol 'bpf_local_irq_restore' was not declared. Should it be static? ../kernel/bpf/helpers.c:3273:18: warning: symbol '__bpf_trap' was not declared. Should it be static? ../kernel/bpf/helpers.c:2915: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 ../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/bpf/helpers.c: In function ‘____bpf_snprintf’: ../kernel/bpf/helpers.c:1063:9: warning: function ‘____bpf_snprintf’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1063 | err = bstr_printf(str, str_size, fmt, data.bin_args); | ^~~ ../kernel/bpf/helpers.c:1193:21: warning: incorrect type in assignment (different address spaces) ../kernel/bpf/helpers.c:1193:21: expected unsigned long long ( *[usertype] callback_fn )( ... ) ../kernel/bpf/helpers.c:1193:21: got void [noderef] __rcu * ../kernel/bpf/helpers.c:1896:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1897:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1898:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1899:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1900:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1901:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1902:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1903:29: warning: symbol 'bpf_perf_event_read_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1904:29: warning: symbol 'bpf_send_signal_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1905:29: warning: symbol 'bpf_send_signal_thread_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1908:29: warning: symbol 'bpf_get_branch_snapshot_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2168:18: warning: symbol 'bpf_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2182:18: warning: symbol 'bpf_percpu_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2213:18: warning: symbol 'bpf_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2221:18: warning: symbol 'bpf_percpu_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2227:18: warning: symbol 'bpf_refcount_acquire_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2272:17: warning: symbol 'bpf_list_push_front_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2282:17: warning: symbol 'bpf_list_push_back_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2315:34: warning: symbol 'bpf_list_pop_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2320:34: warning: symbol 'bpf_list_pop_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2325:34: warning: symbol 'bpf_list_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2335:34: warning: symbol 'bpf_list_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2345:32: warning: symbol 'bpf_rbtree_remove' was not declared. Should it be static? ../kernel/bpf/helpers.c:2401:17: warning: symbol 'bpf_rbtree_add_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2411:32: warning: symbol 'bpf_rbtree_first' was not declared. Should it be static? ../kernel/bpf/helpers.c:2418:32: warning: symbol 'bpf_rbtree_root' was not declared. Should it be static? ../kernel/bpf/helpers.c:2425:32: warning: symbol 'bpf_rbtree_left' was not declared. Should it be static? ../kernel/bpf/helpers.c:2435:32: warning: symbol 'bpf_rbtree_right' was not declared. Should it be static? ../kernel/bpf/helpers.c:2451:32: warning: symbol 'bpf_task_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2462:18: warning: symbol 'bpf_task_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2467:18: warning: symbol 'bpf_task_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2480:27: warning: symbol 'bpf_cgroup_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2492:18: warning: symbol 'bpf_cgroup_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2497:18: warning: symbol 'bpf_cgroup_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2510:27: warning: symbol 'bpf_cgroup_ancestor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2530:27: warning: symbol 'bpf_cgroup_from_id' was not declared. Should it be static? ../kernel/bpf/helpers.c:2550:18: warning: symbol 'bpf_task_under_cgroup' was not declared. Should it be static? ../kernel/bpf/helpers.c:2593:27: warning: symbol 'bpf_task_get_cgroup1' was not declared. Should it be static? ../kernel/bpf/helpers.c:2610:32: warning: symbol 'bpf_task_from_pid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2629:32: warning: symbol 'bpf_task_from_vpid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2670:18: warning: symbol 'bpf_dynptr_slice' was not declared. Should it be static? ../kernel/bpf/helpers.c:2788:17: warning: symbol 'bpf_dynptr_adjust' was not declared. Should it be static? ../kernel/bpf/helpers.c:2807:18: warning: symbol 'bpf_dynptr_is_null' was not declared. Should it be static? ../kernel/bpf/helpers.c:2814:18: warning: symbol 'bpf_dynptr_is_rdonly' was not declared. Should it be static? ../kernel/bpf/helpers.c:2824:19: warning: symbol 'bpf_dynptr_size' was not declared. Should it be static? ../kernel/bpf/helpers.c:2834:17: warning: symbol 'bpf_dynptr_clone' was not declared. Should it be static? ../kernel/bpf/helpers.c:2861:17: warning: symbol 'bpf_dynptr_copy' was not declared. Should it be static? ../kernel/bpf/helpers.c:2905:18: warning: symbol 'bpf_cast_to_kern_ctx' was not declared. Should it be static? ../kernel/bpf/helpers.c:2910:18: warning: symbol 'bpf_rdonly_cast' was not declared. Should it be static? ../kernel/bpf/helpers.c:2915:18: warning: symbol 'bpf_rcu_read_lock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2920:18: warning: symbol 'bpf_rcu_read_unlock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2951:18: warning: symbol 'bpf_throw' was not declared. Should it be static? ../kernel/bpf/helpers.c:2970:17: warning: symbol 'bpf_wq_init' was not declared. Should it be static? ../kernel/bpf/helpers.c:2984:17: warning: symbol 'bpf_wq_start' was not declared. Should it be static? ../kernel/bpf/helpers.c:3001:17: warning: symbol 'bpf_wq_set_callback_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:3015:18: warning: symbol 'bpf_preempt_disable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3020:18: warning: symbol 'bpf_preempt_enable' was not declared. Should it be static? ../kernel/bpf/helpers.c:3079:1: warning: symbol 'bpf_iter_bits_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:3140:17: warning: symbol 'bpf_iter_bits_next' was not declared. Should it be static? ../kernel/bpf/helpers.c:3166:18: warning: symbol 'bpf_iter_bits_destroy' was not declared. Should it be static? ../kernel/bpf/helpers.c:3190:17: warning: symbol 'bpf_copy_from_user_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3235:17: warning: symbol 'bpf_copy_from_user_task_str' was not declared. Should it be static? ../kernel/bpf/helpers.c:3265:18: warning: symbol 'bpf_local_irq_save' was not declared. Should it be static? ../kernel/bpf/helpers.c:3270:18: warning: symbol 'bpf_local_irq_restore' was not declared. Should it be static? ../kernel/bpf/helpers.c:3275:18: warning: symbol '__bpf_trap' was not declared. Should it be static? ../kernel/bpf/helpers.c:2915: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/core.c:247:49: error: arithmetics on pointers to functions ../kernel/bpf/core.c:2975:29: warning: symbol 'bpf_seq_printf_btf_proto' was not declared. Should it be static? ../kernel/bpf/core.c: note: in included file (through ../include/trace/trace_events.h, ../include/trace/define_trace.h, ../include/trace/events/xdp.h, ../include/linux/bpf_trace.h): ../include/trace/events/xdp.h:321:1: warning: Using plain integer as NULL pointer ../include/trace/events/xdp.h:348:1: warning: Using plain integer as NULL pointer ../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 * ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?