========== build_allmodconfig_warn - FAILED ../net/core/filter.c:1424:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1424:39: expected struct sock_filter const *filter ../net/core/filter.c:1424:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1502:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1502:39: expected struct sock_filter const *filter ../net/core/filter.c:1502:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2324:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2324:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2324:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3924:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4654:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5068:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:7943:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:11916:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:11932:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:11948:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:11969:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12159:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1932:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1932:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1932:43: got unsigned long long [usertype] to ../net/core/filter.c:1935:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1935:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1935:36: got unsigned long long [usertype] from ../net/core/filter.c:1935:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1935:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1935:42: got unsigned long long [usertype] to ../net/core/filter.c:1938:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1938:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1938:36: got unsigned long long [usertype] from ../net/core/filter.c:1938:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1938:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1938:42: got unsigned long long [usertype] to ../net/core/filter.c:1983:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1983:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1983:59: got unsigned long long [usertype] to ../net/core/filter.c:1986:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1986:52: expected restricted __be16 [usertype] from ../net/core/filter.c:1986:52: got unsigned long long [usertype] from ../net/core/filter.c:1986:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1986:58: expected restricted __be16 [usertype] to ../net/core/filter.c:1986:58: got unsigned long long [usertype] to ../net/core/filter.c:1989:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1989:52: expected restricted __be32 [usertype] from ../net/core/filter.c:1989:52: got unsigned long long [usertype] from ../net/core/filter.c:1989:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1989:58: expected restricted __be32 [usertype] to ../net/core/filter.c:1989:58: got unsigned long long [usertype] to ../net/core/filter.c:2056:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2056:35: expected unsigned long long ../net/core/filter.c:2056:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5866:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5866:17: expected unsigned int [usertype] spi ../net/core/filter.c:5866:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5874:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5874:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5874:33: got restricted __be32 const [usertype] a4 ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../net/core/filter.c:1424:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1424:39: expected struct sock_filter const *filter ../net/core/filter.c:1424:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1502:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1502:39: expected struct sock_filter const *filter ../net/core/filter.c:1502:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2324:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2324:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2324:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3924:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4654:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5068:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:7943:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:11916:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:11932:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:11948:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:11969:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12066:17: warning: symbol 'bpf_skb_trait_set' was not declared. Should it be static? ../net/core/filter.c:12078:17: warning: symbol 'bpf_skb_trait_get' was not declared. Should it be static? ../net/core/filter.c:12089:17: warning: symbol 'bpf_skb_trait_del' was not declared. Should it be static? ../net/core/filter.c:12195:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1932:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1932:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1932:43: got unsigned long long [usertype] to ../net/core/filter.c:1935:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1935:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1935:36: got unsigned long long [usertype] from ../net/core/filter.c:1935:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1935:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1935:42: got unsigned long long [usertype] to ../net/core/filter.c:1938:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1938:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1938:36: got unsigned long long [usertype] from ../net/core/filter.c:1938:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1938:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1938:42: got unsigned long long [usertype] to ../net/core/filter.c:1983:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1983:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1983:59: got unsigned long long [usertype] to ../net/core/filter.c:1986:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1986:52: expected restricted __be16 [usertype] from ../net/core/filter.c:1986:52: got unsigned long long [usertype] from ../net/core/filter.c:1986:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1986:58: expected restricted __be16 [usertype] to ../net/core/filter.c:1986:58: got unsigned long long [usertype] to ../net/core/filter.c:1989:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1989:52: expected restricted __be32 [usertype] from ../net/core/filter.c:1989:52: got unsigned long long [usertype] from ../net/core/filter.c:1989:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1989:58: expected restricted __be32 [usertype] to ../net/core/filter.c:1989:58: got unsigned long long [usertype] to ../net/core/filter.c:2056:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2056:35: expected unsigned long long ../net/core/filter.c:2056:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5866:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5866:17: expected unsigned int [usertype] spi ../net/core/filter.c:5866:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5874:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5874:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5874:33: got restricted __be32 const [usertype] a4 ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? New errors added --- /tmp/tmp.GwWV3meA9q 2025-03-05 10:55:11.534281753 -0800 +++ /tmp/tmp.aqgeFhJstI 2025-03-05 10:56:52.209316745 -0800 @@ -18 +18,4 @@ -../net/core/filter.c:12159:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? +../net/core/filter.c:12066:17: warning: symbol 'bpf_skb_trait_set' was not declared. Should it be static? +../net/core/filter.c:12078:17: warning: symbol 'bpf_skb_trait_get' was not declared. Should it be static? +../net/core/filter.c:12089:17: warning: symbol 'bpf_skb_trait_del' was not declared. Should it be static? +../net/core/filter.c:12195:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? Per-file breakdown --- /tmp/tmp.xWoobZZi1I 2025-03-05 10:56:52.217316668 -0800 +++ /tmp/tmp.oXaRLIPKye 2025-03-05 10:56:52.219316648 -0800 @@ -1 +1 @@ - 25 ../net/core/filter.c + 28 ../net/core/filter.c