../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:2323:45: warning: incorrect type in argument 2 (different base types)
../net/core/filter.c:2323:45:    expected restricted __be32 [usertype] daddr
../net/core/filter.c:2323:45:    got unsigned int [usertype] ipv4_nh
../net/core/filter.c:3923:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static?
../net/core/filter.c:4655:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static?
../net/core/filter.c:5069:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static?
../net/core/filter.c:7984:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static?
../net/core/filter.c:11955:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static?
../net/core/filter.c:11971:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static?
../net/core/filter.c:11987:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static?
../net/core/filter.c:12008:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static?
../net/core/filter.c:12198:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static?
../net/core/filter.c:1931:43: warning: incorrect type in argument 2 (different base types)
../net/core/filter.c:1931:43:    expected restricted __wsum [usertype] diff
../net/core/filter.c:1931:43:    got unsigned long long [usertype] to
../net/core/filter.c:1934:36: warning: incorrect type in argument 2 (different base types)
../net/core/filter.c:1934:36:    expected restricted __be16 [usertype] old
../net/core/filter.c:1934:36:    got unsigned long long [usertype] from
../net/core/filter.c:1934:42: warning: incorrect type in argument 3 (different base types)
../net/core/filter.c:1934:42:    expected restricted __be16 [usertype] new
../net/core/filter.c:1934:42:    got unsigned long long [usertype] to
../net/core/filter.c:1937:36: warning: incorrect type in argument 2 (different base types)
../net/core/filter.c:1937:36:    expected restricted __be32 [usertype] from
../net/core/filter.c:1937:36:    got unsigned long long [usertype] from
../net/core/filter.c:1937:42: warning: incorrect type in argument 3 (different base types)
../net/core/filter.c:1937:42:    expected restricted __be32 [usertype] to
../net/core/filter.c:1937:42:    got unsigned long long [usertype] to
../net/core/filter.c:1982:59: warning: incorrect type in argument 3 (different base types)
../net/core/filter.c:1982:59:    expected restricted __wsum [usertype] diff
../net/core/filter.c:1982:59:    got unsigned long long [usertype] to
../net/core/filter.c:1985:52: warning: incorrect type in argument 3 (different base types)
../net/core/filter.c:1985:52:    expected restricted __be16 [usertype] from
../net/core/filter.c:1985:52:    got unsigned long long [usertype] from
../net/core/filter.c:1985:58: warning: incorrect type in argument 4 (different base types)
../net/core/filter.c:1985:58:    expected restricted __be16 [usertype] to
../net/core/filter.c:1985:58:    got unsigned long long [usertype] to
../net/core/filter.c:1988:52: warning: incorrect type in argument 3 (different base types)
../net/core/filter.c:1988:52:    expected restricted __be32 [usertype] from
../net/core/filter.c:1988:52:    got unsigned long long [usertype] from
../net/core/filter.c:1988:58: warning: incorrect type in argument 4 (different base types)
../net/core/filter.c:1988:58:    expected restricted __be32 [usertype] to
../net/core/filter.c:1988:58:    got unsigned long long [usertype] to
../net/core/filter.c:2055:35: warning: incorrect type in return expression (different base types)
../net/core/filter.c:2055:35:    expected unsigned long long
../net/core/filter.c:2055:35:    got restricted __wsum [usertype] csum
../net/core/filter.c:5904:17: warning: incorrect type in assignment (different base types)
../net/core/filter.c:5904:17:    expected unsigned int [usertype] spi
../net/core/filter.c:5904:17:    got restricted __be32 const [usertype] spi
../net/core/filter.c:5912:33: warning: incorrect type in assignment (different base types)
../net/core/filter.c:5912:33:    expected unsigned int [usertype] remote_ipv4
../net/core/filter.c:5912:33:    got restricted __be32 const [usertype] a4
../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
../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static?
../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:2323:45: warning: incorrect type in argument 2 (different base types)
../net/core/filter.c:2323:45:    expected restricted __be32 [usertype] daddr
../net/core/filter.c:2323:45:    got unsigned int [usertype] ipv4_nh
../net/core/filter.c:3923:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static?
../net/core/filter.c:4655:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static?
../net/core/filter.c:5069:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static?
../net/core/filter.c:7984:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static?
../net/core/filter.c:11955:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static?
../net/core/filter.c:11971:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static?
../net/core/filter.c:11987:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static?
../net/core/filter.c:12008:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static?
../net/core/filter.c:12105:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static?
../net/core/filter.c:12223:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static?
../net/core/filter.c:1931:43: warning: incorrect type in argument 2 (different base types)
../net/core/filter.c:1931:43:    expected restricted __wsum [usertype] diff
../net/core/filter.c:1931:43:    got unsigned long long [usertype] to
../net/core/filter.c:1934:36: warning: incorrect type in argument 2 (different base types)
../net/core/filter.c:1934:36:    expected restricted __be16 [usertype] old
../net/core/filter.c:1934:36:    got unsigned long long [usertype] from
../net/core/filter.c:1934:42: warning: incorrect type in argument 3 (different base types)
../net/core/filter.c:1934:42:    expected restricted __be16 [usertype] new
../net/core/filter.c:1934:42:    got unsigned long long [usertype] to
../net/core/filter.c:1937:36: warning: incorrect type in argument 2 (different base types)
../net/core/filter.c:1937:36:    expected restricted __be32 [usertype] from
../net/core/filter.c:1937:36:    got unsigned long long [usertype] from
../net/core/filter.c:1937:42: warning: incorrect type in argument 3 (different base types)
../net/core/filter.c:1937:42:    expected restricted __be32 [usertype] to
../net/core/filter.c:1937:42:    got unsigned long long [usertype] to
../net/core/filter.c:1982:59: warning: incorrect type in argument 3 (different base types)
../net/core/filter.c:1982:59:    expected restricted __wsum [usertype] diff
../net/core/filter.c:1982:59:    got unsigned long long [usertype] to
../net/core/filter.c:1985:52: warning: incorrect type in argument 3 (different base types)
../net/core/filter.c:1985:52:    expected restricted __be16 [usertype] from
../net/core/filter.c:1985:52:    got unsigned long long [usertype] from
../net/core/filter.c:1985:58: warning: incorrect type in argument 4 (different base types)
../net/core/filter.c:1985:58:    expected restricted __be16 [usertype] to
../net/core/filter.c:1985:58:    got unsigned long long [usertype] to
../net/core/filter.c:1988:52: warning: incorrect type in argument 3 (different base types)
../net/core/filter.c:1988:52:    expected restricted __be32 [usertype] from
../net/core/filter.c:1988:52:    got unsigned long long [usertype] from
../net/core/filter.c:1988:58: warning: incorrect type in argument 4 (different base types)
../net/core/filter.c:1988:58:    expected restricted __be32 [usertype] to
../net/core/filter.c:1988:58:    got unsigned long long [usertype] to
../net/core/filter.c:2055:35: warning: incorrect type in return expression (different base types)
../net/core/filter.c:2055:35:    expected unsigned long long
../net/core/filter.c:2055:35:    got restricted __wsum [usertype] csum
../net/core/filter.c:5904:17: warning: incorrect type in assignment (different base types)
../net/core/filter.c:5904:17:    expected unsigned int [usertype] spi
../net/core/filter.c:5904:17:    got restricted __be32 const [usertype] spi
../net/core/filter.c:5912:33: warning: incorrect type in assignment (different base types)
../net/core/filter.c:5912:33:    expected unsigned int [usertype] remote_ipv4
../net/core/filter.c:5912: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.jGFhW8UZQU	2025-02-08 07:42:35.165638952 -0800
+++ /tmp/tmp.UtBfI3pb8M	2025-02-08 07:44:13.953677128 -0800
@@ -0,0 +1,3 @@
+../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
@@ -18 +21,2 @@
-../net/core/filter.c:12198:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static?
+../net/core/filter.c:12105:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static?
+../net/core/filter.c:12223:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static?
@@ -58,3 +61,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
Per-file breakdown
--- /tmp/tmp.qBEKr5VUJH	2025-02-08 07:44:13.961677050 -0800
+++ /tmp/tmp.7VsVdG29vk	2025-02-08 07:44:13.964677021 -0800
@@ -2 +2 @@
-     25 ../net/core/filter.c
+     26 ../net/core/filter.c