========== build_allmodconfig_warn - FAILED ../net/core/filter.c:1440:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1440:39: expected struct sock_filter const *filter ../net/core/filter.c:1440:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1518:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1518:39: expected struct sock_filter const *filter ../net/core/filter.c:1518:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2341:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2341:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2341:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3949:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4686:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5100:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:8037:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:12009:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:12042:17: warning: symbol 'bpf_dynptr_from_skb_meta' was not declared. Should it be static? ../net/core/filter.c:12061:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:12077:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:12098:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12195:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? ../net/core/filter.c:12328:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1948:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1948:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1948:43: got unsigned long long [usertype] to ../net/core/filter.c:1951:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1951:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1951:36: got unsigned long long [usertype] from ../net/core/filter.c:1951:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1951:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1951:42: got unsigned long long [usertype] to ../net/core/filter.c:1954:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1954:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1954:36: got unsigned long long [usertype] from ../net/core/filter.c:1954:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1954:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1954:42: got unsigned long long [usertype] to ../net/core/filter.c:2000:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2000:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:2000:59: got unsigned long long [usertype] to ../net/core/filter.c:2003:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2003:52: expected restricted __be16 [usertype] from ../net/core/filter.c:2003:52: got unsigned long long [usertype] from ../net/core/filter.c:2003:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:2003:58: expected restricted __be16 [usertype] to ../net/core/filter.c:2003:58: got unsigned long long [usertype] to ../net/core/filter.c:2006:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2006:52: expected restricted __be32 [usertype] from ../net/core/filter.c:2006:52: got unsigned long long [usertype] from ../net/core/filter.c:2006:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:2006:58: expected restricted __be32 [usertype] to ../net/core/filter.c:2006:58: got unsigned long long [usertype] to ../net/core/filter.c:2073:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2073:35: expected unsigned long long ../net/core/filter.c:2073:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5957:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5957:17: expected unsigned int [usertype] spi ../net/core/filter.c:5957:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5965:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5965:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5965: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:1440:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1440:39: expected struct sock_filter const *filter ../net/core/filter.c:1440:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1518:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1518:39: expected struct sock_filter const *filter ../net/core/filter.c:1518:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2341:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2341:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2341:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3949:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4686:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5100:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:8037:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:12009:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:12042:17: warning: symbol 'bpf_dynptr_from_skb_meta' was not declared. Should it be static? ../net/core/filter.c:12061:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:12077:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:12098:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12195:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? ../net/core/filter.c:12214:17: warning: symbol 'bpf_xdp_pull_data' was not declared. Should it be static? ../net/core/filter.c:12380:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1948:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1948:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1948:43: got unsigned long long [usertype] to ../net/core/filter.c:1951:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1951:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1951:36: got unsigned long long [usertype] from ../net/core/filter.c:1951:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1951:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1951:42: got unsigned long long [usertype] to ../net/core/filter.c:1954:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1954:36: expected restricted __be32 [usertype] from ../net/core/filter.c:1954:36: got unsigned long long [usertype] from ../net/core/filter.c:1954:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1954:42: expected restricted __be32 [usertype] to ../net/core/filter.c:1954:42: got unsigned long long [usertype] to ../net/core/filter.c:2000:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2000:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:2000:59: got unsigned long long [usertype] to ../net/core/filter.c:2003:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2003:52: expected restricted __be16 [usertype] from ../net/core/filter.c:2003:52: got unsigned long long [usertype] from ../net/core/filter.c:2003:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:2003:58: expected restricted __be16 [usertype] to ../net/core/filter.c:2003:58: got unsigned long long [usertype] to ../net/core/filter.c:2006:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:2006:52: expected restricted __be32 [usertype] from ../net/core/filter.c:2006:52: got unsigned long long [usertype] from ../net/core/filter.c:2006:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:2006:58: expected restricted __be32 [usertype] to ../net/core/filter.c:2006:58: got unsigned long long [usertype] to ../net/core/filter.c:2073:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2073:35: expected unsigned long long ../net/core/filter.c:2073:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5957:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5957:17: expected unsigned int [usertype] spi ../net/core/filter.c:5957:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5965:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5965:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5965: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.RsivvaA3TG 2025-08-25 14:21:39.699741007 -0700 +++ /tmp/tmp.ca24NPDJJh 2025-08-25 14:24:17.424709537 -0700 @@ -20 +20,2 @@ -../net/core/filter.c:12328:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? +../net/core/filter.c:12214:17: warning: symbol 'bpf_xdp_pull_data' was not declared. Should it be static? +../net/core/filter.c:12380:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? Per-file breakdown --- /tmp/tmp.quuc0cPpAi 2025-08-25 14:24:17.463609311 -0700 +++ /tmp/tmp.6yXo9ioL7h 2025-08-25 14:24:17.468938351 -0700 @@ -1 +1 @@ - 27 ../net/core/filter.c + 28 ../net/core/filter.c