========== 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 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:11891:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:11907:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:11923:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:11944:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12133: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 ../net/ipv4/tcp_cong.c:296:24: warning: incorrect type in initializer (different address spaces) ../net/ipv4/tcp_cong.c:296:24: expected struct tcp_congestion_ops const [noderef] __rcu *__ret ../net/ipv4/tcp_cong.c:296:24: got struct tcp_congestion_ops *[assigned] ca ../net/ipv4/tcp_cong.c:296:22: warning: incorrect type in assignment (different address spaces) ../net/ipv4/tcp_cong.c:296:22: expected struct tcp_congestion_ops const *prev ../net/ipv4/tcp_cong.c:296:22: got struct tcp_congestion_ops const [noderef] __rcu *[assigned] __ret ../net/ipv6/tcp_ipv6.c:1556:25: warning: context imbalance in 'tcp_v6_syn_recv_sock' - unexpected unlock ../net/ipv6/tcp_ipv6.c:1947:21: warning: context imbalance in 'tcp_v6_rcv' - different lock contexts for basic block ../net/ipv4/tcp_input.c:7280:17: warning: context imbalance in 'tcp_conn_request' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3377:41: warning: incorrect type in argument 1 (different address spaces) ../net/ipv4/tcp_ipv4.c:3377:41: expected void const *data ../net/ipv4/tcp_ipv4.c:3377:41: got struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3498:45: warning: incorrect type in argument 1 (different address spaces) ../net/ipv4/tcp_ipv4.c:3498:45: expected void const *data ../net/ipv4/tcp_ipv4.c:3498:45: got struct tcp_congestion_ops const [noderef] __rcu *extern [addressable] [toplevel] tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3502:50: warning: incorrect type in assignment (different address spaces) ../net/ipv4/tcp_ipv4.c:3502:50: expected struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3502:50: got struct tcp_congestion_ops * ../net/ipv4/tcp_ipv4.c:1830:25: warning: context imbalance in 'tcp_v4_syn_recv_sock' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2122:17: warning: context imbalance in 'tcp_add_backlog' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2382:21: warning: context imbalance in 'tcp_v4_rcv' - different lock contexts for basic block ../net/ipv4/tcp_ipv4.c:2576:13: warning: context imbalance in 'listening_get_first' - wrong count at exit ../net/ipv4/tcp_ipv4.c:2624:29: warning: context imbalance in 'listening_get_next' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2657:13: warning: context imbalance in 'established_get_first' - wrong count at exit ../net/ipv4/tcp_ipv4.c:2702:40: warning: context imbalance in 'established_get_next' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2834:36: warning: context imbalance in 'tcp_seq_stop' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3053:20: warning: context imbalance in 'bpf_iter_tcp_listening_batch' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3081:40: warning: context imbalance in 'bpf_iter_tcp_established_batch' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3378:41: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3378:41: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3499:45: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3499:45: warning: dereference of noderef expression ../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:21184: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 ../kernel/bpf/verifier.c:20538:33: warning: cast truncates bits from constant value (8000000000000000 becomes 0) ../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/verifier.c:342:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:21161: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/verifier.c:342:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:21184: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 ../kernel/bpf/verifier.c:20538:33: warning: cast truncates bits from constant value (8000000000000000 becomes 0) ../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? New errors added --- /tmp/tmp.tz7mWFi6Wj 2024-09-13 00:17:25.709339736 -0700 +++ /tmp/tmp.wozNzhcd2K 2024-09-13 00:18:44.524960466 -0700 @@ -9 +9 @@ -../kernel/bpf/verifier.c:21161:38: error: subtraction of functions? Share your drugs +../kernel/bpf/verifier.c:21184:38: error: subtraction of functions? Share your drugs @@ -16,0 +17 @@ +../kernel/bpf/verifier.c:20538:33: warning: cast truncates bits from constant value (8000000000000000 becomes 0) Per-file breakdown --- /tmp/tmp.SJeE9fycBs 2024-09-13 00:18:44.532960631 -0700 +++ /tmp/tmp.jDMc24Gaw1 2024-09-13 00:18:44.535960692 -0700 @@ -2 +2 @@ - 2 ../kernel/bpf/verifier.c + 3 ../kernel/bpf/verifier.c