========== build_allmodconfig_warn - FAILED tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files ../net/core/filter.c:1423:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1423:39: expected struct sock_filter const *filter ../net/core/filter.c:1423:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1501:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1501:39: expected struct sock_filter const *filter ../net/core/filter.c:1501:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2340:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2340:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2340:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3915:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4648:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5062:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:7947:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:11913:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:11929:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:11945:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:11966:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12156:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1943:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1943:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1943:43: got unsigned long long [usertype] to ../net/core/filter.c:1946:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1946:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1946:36: got unsigned long long [usertype] from ../net/core/filter.c:1946:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1946:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1946:42: got unsigned long long [usertype] to ../net/core/filter.c:1949:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1949:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1949:36: got unsigned long long [usertype] from ../net/core/filter.c:1949:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1949:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1949:42: got unsigned long long [usertype] to ../net/core/filter.c:1994:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1994:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1994:59: got unsigned long long [usertype] to ../net/core/filter.c:1997:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1997:52: expected restricted __be16 [usertype] from ../net/core/filter.c:1997:52: got unsigned long long [usertype] from ../net/core/filter.c:1997:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1997:58: expected restricted __be16 [usertype] to ../net/core/filter.c:1997:58: got unsigned long long [usertype] to ../net/core/filter.c:2000:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2000:52: expected restricted __be32 [usertype] from ../net/core/filter.c:2000:52: got unsigned long long [usertype] from ../net/core/filter.c:2000:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:2000:58: expected restricted __be32 [usertype] to ../net/core/filter.c:2000:58: got unsigned long long [usertype] to ../net/core/filter.c:2050:16: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2050:16: expected unsigned long long ../net/core/filter.c:2050:16: got restricted __wsum [assigned] [usertype] ret ../net/core/filter.c:2072:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2072:35: expected unsigned long long ../net/core/filter.c:2072:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5849:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5849:17: expected unsigned int [usertype] spi ../net/core/filter.c:5849:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5857:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5857:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5857:33: got restricted __be32 const [usertype] a4 ../kernel/bpf/core.c:243:49: error: arithmetics on pointers to functions ../kernel/bpf/core.c:2910: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 ../include/trace/events/xdp.h:382: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: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:765:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:776:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:791:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1266:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1315:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1339:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1359:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3441:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3449:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2560:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2564: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:880:25: warning: context imbalance in 'uprobe_prog_run' - unexpected unlock ../kernel/bpf/verifier.c:346:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:21339: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/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../kernel/bpf/bpf_struct_ops.c:553:27: warning: symbol 'bpf_struct_ops_link_lops' was not declared. Should it be static? WARNING: modpost: missing MODULE_DESCRIPTION() in security/tomoyo/tomoyo.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/block/rnull_mod.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files ../arch/x86/net/bpf_jit_comp.c:1487:44: warning: cast removes address space '__percpu' of expression ../arch/x86/net/bpf_jit_comp.c:1488:31: warning: cast removes address space '__percpu' of expression ../kernel/bpf/bpf_struct_ops.c:553:27: warning: symbol 'bpf_struct_ops_link_lops' was not declared. Should it be static? ../kernel/bpf/core.c:243:49: error: arithmetics on pointers to functions ../kernel/bpf/core.c:2910: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 ../include/trace/events/xdp.h:382: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: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:765:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:776:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:791:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1266:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1315:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1339:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1359:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3441:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3449:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2560:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2564: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:880:25: warning: context imbalance in 'uprobe_prog_run' - unexpected unlock ../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): ../include/linux/bpfptr.h:65:40: warning: cast to non-scalar ../include/linux/bpfptr.h:65:40: warning: cast from non-scalar ../net/core/filter.c:1423:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1423:39: expected struct sock_filter const *filter ../net/core/filter.c:1423:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1501:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1501:39: expected struct sock_filter const *filter ../net/core/filter.c:1501:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2340:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2340:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2340:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3915:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4648:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5062:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:7947:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:11913:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:11929:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:11945:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:11966:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12156:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1943:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1943:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1943:43: got unsigned long long [usertype] to ../net/core/filter.c:1946:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1946:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1946:36: got unsigned long long [usertype] from ../net/core/filter.c:1946:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1946:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1946:42: got unsigned long long [usertype] to ../net/core/filter.c:1949:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1949:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1949:36: got unsigned long long [usertype] from ../net/core/filter.c:1949:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1949:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1949:42: got unsigned long long [usertype] to ../net/core/filter.c:1994:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1994:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1994:59: got unsigned long long [usertype] to ../net/core/filter.c:1997:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1997:52: expected restricted __be16 [usertype] from ../net/core/filter.c:1997:52: got unsigned long long [usertype] from ../net/core/filter.c:1997:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1997:58: expected restricted __be16 [usertype] to ../net/core/filter.c:1997:58: got unsigned long long [usertype] to ../net/core/filter.c:2000:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2000:52: expected restricted __be32 [usertype] from ../net/core/filter.c:2000:52: got unsigned long long [usertype] from ../net/core/filter.c:2000:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:2000:58: expected restricted __be32 [usertype] to ../net/core/filter.c:2000:58: got unsigned long long [usertype] to ../net/core/filter.c:2050:16: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2050:16: expected unsigned long long ../net/core/filter.c:2050:16: got restricted __wsum [assigned] [usertype] ret ../net/core/filter.c:2072:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2072:35: expected unsigned long long ../net/core/filter.c:2072:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5849:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5849:17: expected unsigned int [usertype] spi ../net/core/filter.c:5849:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5857:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5857:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5857:33: got restricted __be32 const [usertype] a4 ../kernel/bpf/verifier.c:346:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:21339: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 WARNING: modpost: missing MODULE_DESCRIPTION() in security/tomoyo/tomoyo.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/block/rnull_mod.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? New errors added --- /tmp/tmp.tlPwERncJ1 2024-10-20 15:36:17.576917481 -0700 +++ /tmp/tmp.PJqJMcN4r8 2024-10-20 15:38:01.226130153 -0700 @@ -3,0 +4,36 @@ +../arch/x86/net/bpf_jit_comp.c:1487:44: warning: cast removes address space '__percpu' of expression +../arch/x86/net/bpf_jit_comp.c:1488:31: warning: cast removes address space '__percpu' of expression +../kernel/bpf/bpf_struct_ops.c:553:27: warning: symbol 'bpf_struct_ops_link_lops' was not declared. Should it be static? +../kernel/bpf/core.c:243:49: error: arithmetics on pointers to functions +../kernel/bpf/core.c:2910: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 +../include/trace/events/xdp.h:382: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: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:765:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:776:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:791:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:1266:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:1315:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:1339:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:1359:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3441:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:3449:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? +../kernel/trace/bpf_trace.c:2560:21: warning: dereference of noderef expression +../kernel/trace/bpf_trace.c:2564: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:880:25: warning: context imbalance in 'uprobe_prog_run' - unexpected unlock +../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): +../include/linux/bpfptr.h:65:40: warning: cast to non-scalar +../include/linux/bpfptr.h:65:40: warning: cast from non-scalar @@ -64,30 +99,0 @@ -../kernel/bpf/core.c:243:49: error: arithmetics on pointers to functions -../kernel/bpf/core.c:2910: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 -../include/trace/events/xdp.h:382: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: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:765:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:776:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:791:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:1266:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:1315:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:1339:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:1359:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3441:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:3449:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? -../kernel/trace/bpf_trace.c:2560:21: warning: dereference of noderef expression -../kernel/trace/bpf_trace.c:2564: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:880:25: warning: context imbalance in 'uprobe_prog_run' - unexpected unlock @@ -105,4 +110,0 @@ -../kernel/bpf/btf.c: note: in included file (through ../include/linux/bpf.h, ../include/linux/bpf_verifier.h): -../include/linux/bpfptr.h:65:40: warning: cast to non-scalar -../include/linux/bpfptr.h:65:40: warning: cast from non-scalar -../kernel/bpf/bpf_struct_ops.c:553:27: warning: symbol 'bpf_struct_ops_link_lops' was not declared. Should it be static? Per-file breakdown --- /tmp/tmp.ZcqGz6zJwg 2024-10-20 15:38:01.236130077 -0700 +++ /tmp/tmp.Xdpw85DpnA 2024-10-20 15:38:01.240130046 -0700 @@ -0,0 +1 @@ + 2 ../arch/x86/net/bpf_jit_comp.c