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 tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../net/core/filter.c:1422:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1422:39: expected struct sock_filter const *filter ../net/core/filter.c:1422:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1500:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1500:39: expected struct sock_filter const *filter ../net/core/filter.c:1500:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2339:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2339:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2339:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3913:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4646:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5060:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:7925:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:11880:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:11896:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:11912:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:11933:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12122:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1942:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1942:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1942:43: got unsigned long long [usertype] to ../net/core/filter.c:1945:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1945:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1945:36: got unsigned long long [usertype] from ../net/core/filter.c:1945:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1945:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1945:42: got unsigned long long [usertype] to ../net/core/filter.c:1948:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1948:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1948:36: got unsigned long long [usertype] from ../net/core/filter.c:1948:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1948:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1948:42: got unsigned long long [usertype] to ../net/core/filter.c:1993:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1993:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1993:59: got unsigned long long [usertype] to ../net/core/filter.c:1996:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1996:52: expected restricted __be16 [usertype] from ../net/core/filter.c:1996:52: got unsigned long long [usertype] from ../net/core/filter.c:1996:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1996:58: expected restricted __be16 [usertype] to ../net/core/filter.c:1996:58: got unsigned long long [usertype] to ../net/core/filter.c:1999:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1999:52: expected restricted __be32 [usertype] from ../net/core/filter.c:1999:52: got unsigned long long [usertype] from ../net/core/filter.c:1999:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1999:58: expected restricted __be32 [usertype] to ../net/core/filter.c:1999:58: got unsigned long long [usertype] to ../net/core/filter.c:2049:16: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2049:16: expected unsigned long long ../net/core/filter.c:2049:16: got restricted __wsum [assigned] [usertype] ret ../net/core/filter.c:2071:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2071:35: expected unsigned long long ../net/core/filter.c:2071:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5831:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5831:17: expected unsigned int [usertype] spi ../net/core/filter.c:5831:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5839:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5839:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5839:33: got restricted __be32 const [usertype] a4 ../kernel/trace/bpf_trace.c:191:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:228:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:243:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:278:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:766:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:777:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:792:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1288:28: warning: symbol 'bpf_lookup_user_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1337:28: warning: symbol 'bpf_lookup_system_key' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1361:18: warning: symbol 'bpf_key_put' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1381:17: warning: symbol 'bpf_verify_pkcs7_signature' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:1457:17: warning: symbol 'bpf_get_file_xattr' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3525:18: warning: symbol 'bpf_session_is_return' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:3533:19: warning: symbol 'bpf_session_cookie' was not declared. Should it be static? ../kernel/trace/bpf_trace.c:2648:21: warning: dereference of noderef expression ../kernel/trace/bpf_trace.c:2652: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:869:25: warning: context imbalance in 'uprobe_prog_run' - unexpected unlock ../kernel/bpf/helpers.c:1194:21: warning: incorrect type in assignment (different address spaces) ../kernel/bpf/helpers.c:1194:21: expected unsigned long long ( *[usertype] callback_fn )( ... ) ../kernel/bpf/helpers.c:1194:21: got void [noderef] __rcu * ../kernel/bpf/helpers.c:1882:29: warning: symbol 'bpf_get_current_task_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1883:29: warning: symbol 'bpf_get_current_task_btf_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1884:29: warning: symbol 'bpf_probe_read_user_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1885:29: warning: symbol 'bpf_probe_read_user_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1886:29: warning: symbol 'bpf_probe_read_kernel_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1887:29: warning: symbol 'bpf_probe_read_kernel_str_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:1888:29: warning: symbol 'bpf_task_pt_regs_proto' was not declared. Should it be static? ../kernel/bpf/helpers.c:2114:18: warning: symbol 'bpf_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2128:18: warning: symbol 'bpf_percpu_obj_new_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2159:18: warning: symbol 'bpf_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2167:18: warning: symbol 'bpf_percpu_obj_drop_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2173:18: warning: symbol 'bpf_refcount_acquire_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2218:17: warning: symbol 'bpf_list_push_front_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2228:17: warning: symbol 'bpf_list_push_back_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2261:34: warning: symbol 'bpf_list_pop_front' was not declared. Should it be static? ../kernel/bpf/helpers.c:2266:34: warning: symbol 'bpf_list_pop_back' was not declared. Should it be static? ../kernel/bpf/helpers.c:2271:32: warning: symbol 'bpf_rbtree_remove' was not declared. Should it be static? ../kernel/bpf/helpers.c:2327:17: warning: symbol 'bpf_rbtree_add_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2337:32: warning: symbol 'bpf_rbtree_first' was not declared. Should it be static? ../kernel/bpf/helpers.c:2350:32: warning: symbol 'bpf_task_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2361:18: warning: symbol 'bpf_task_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2366:18: warning: symbol 'bpf_task_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2379:27: warning: symbol 'bpf_cgroup_acquire' was not declared. Should it be static? ../kernel/bpf/helpers.c:2391:18: warning: symbol 'bpf_cgroup_release' was not declared. Should it be static? ../kernel/bpf/helpers.c:2396:18: warning: symbol 'bpf_cgroup_release_dtor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2409:27: warning: symbol 'bpf_cgroup_ancestor' was not declared. Should it be static? ../kernel/bpf/helpers.c:2429:27: warning: symbol 'bpf_cgroup_from_id' was not declared. Should it be static? ../kernel/bpf/helpers.c:2449:18: warning: symbol 'bpf_task_under_cgroup' was not declared. Should it be static? ../kernel/bpf/helpers.c:2469:27: warning: symbol 'bpf_task_get_cgroup1' was not declared. Should it be static? ../kernel/bpf/helpers.c:2486:32: warning: symbol 'bpf_task_from_pid' was not declared. Should it be static? ../kernel/bpf/helpers.c:2527:18: warning: symbol 'bpf_dynptr_slice' was not declared. Should it be static? ../kernel/bpf/helpers.c:2612:18: warning: symbol 'bpf_dynptr_slice_rdwr' was not declared. Should it be static? ../kernel/bpf/helpers.c:2645:17: warning: symbol 'bpf_dynptr_adjust' was not declared. Should it be static? ../kernel/bpf/helpers.c:2664:18: warning: symbol 'bpf_dynptr_is_null' was not declared. Should it be static? ../kernel/bpf/helpers.c:2671:18: warning: symbol 'bpf_dynptr_is_rdonly' was not declared. Should it be static? ../kernel/bpf/helpers.c:2681:19: warning: symbol 'bpf_dynptr_size' was not declared. Should it be static? ../kernel/bpf/helpers.c:2691:17: warning: symbol 'bpf_dynptr_clone' was not declared. Should it be static? ../kernel/bpf/helpers.c:2707:18: warning: symbol 'bpf_cast_to_kern_ctx' was not declared. Should it be static? ../kernel/bpf/helpers.c:2712:18: warning: symbol 'bpf_rdonly_cast' was not declared. Should it be static? ../kernel/bpf/helpers.c:2717:18: warning: symbol 'bpf_rcu_read_lock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2722:18: warning: symbol 'bpf_rcu_read_unlock' was not declared. Should it be static? ../kernel/bpf/helpers.c:2751:18: warning: symbol 'bpf_throw' was not declared. Should it be static? ../kernel/bpf/helpers.c:2770:17: warning: symbol 'bpf_wq_init' was not declared. Should it be static? ../kernel/bpf/helpers.c:2784:17: warning: symbol 'bpf_wq_start' was not declared. Should it be static? ../kernel/bpf/helpers.c:2801:17: warning: symbol 'bpf_wq_set_callback_impl' was not declared. Should it be static? ../kernel/bpf/helpers.c:2815:18: warning: symbol 'bpf_preempt_disable' was not declared. Should it be static? ../kernel/bpf/helpers.c:2820:18: warning: symbol 'bpf_preempt_enable' was not declared. Should it be static? ../kernel/bpf/helpers.c:2853:1: warning: symbol 'bpf_iter_bits_new' was not declared. Should it be static? ../kernel/bpf/helpers.c:2905:17: warning: symbol 'bpf_iter_bits_next' was not declared. Should it be static? ../kernel/bpf/helpers.c:2932:18: warning: symbol 'bpf_iter_bits_destroy' was not declared. Should it be static? ../kernel/bpf/helpers.c:2717: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:869:25: warning: context imbalance in 'bpf_rcu_read_unlock' - 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 ../kernel/bpf/verifier.c:342:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:20573: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 arch/x86/mm/testmmiotrace.o WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/locking/test-ww_mutex.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_objpool.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/mxc-clk.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/clk-imxrt1050.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_simpleondemand.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_performance.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_powersave.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_userspace.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 tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../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 WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/mm/testmmiotrace.o WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/locking/test-ww_mutex.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_objpool.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/mxc-clk.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/clk-imxrt1050.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_simpleondemand.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_performance.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_powersave.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_userspace.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 tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../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 WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/mm/testmmiotrace.o WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/locking/test-ww_mutex.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_objpool.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/mxc-clk.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/clk-imxrt1050.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_simpleondemand.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_performance.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_powersave.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_userspace.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?