../security/tomoyo/common.c:907:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:907:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:907:9: struct list_head * ../security/tomoyo/common.c:907:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:907:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:907:9: struct list_head * ../security/tomoyo/common.c:1592:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1592:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1592:9: struct list_head * ../security/tomoyo/common.c:1592:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1592:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1592:9: struct list_head * ../security/tomoyo/common.c:1614:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1614:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1614:9: struct list_head * ../security/tomoyo/common.c:1614:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1614:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1614:9: struct list_head * ../security/tomoyo/common.c:1795:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1795:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1795:9: struct list_head * ../security/tomoyo/common.c:1799:17: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1799:17: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1799:17: struct list_head * ../security/tomoyo/common.c:1799:17: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1799:17: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1799:17: struct list_head * ../security/tomoyo/common.c:1795:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1795:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1795:9: struct list_head * ../security/tomoyo/common.c:1854:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1854:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1854:9: struct list_head * ../security/tomoyo/common.c:1854:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1854:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1854:9: struct list_head * ../security/tomoyo/common.c:940:26: warning: dereference of noderef expression ../security/tomoyo/common.c:940:26: warning: dereference of noderef expression ../security/tomoyo/common.c:941:26: warning: dereference of noderef expression ../security/tomoyo/common.c:941:26: warning: dereference of noderef expression ../security/selinux/avc.c:467:58: warning: context imbalance in 'avc_alloc_node' - different lock contexts for basic block ../net/unix/af_unix.c:225:13: warning: context imbalance in 'unix_table_double_lock' - wrong count at exit ../net/unix/af_unix.c:244:28: warning: context imbalance in 'unix_table_double_unlock' - unexpected unlock ../net/unix/af_unix.c:1377:13: warning: context imbalance in 'unix_state_double_lock' - wrong count at exit ../net/unix/af_unix.c:1394:17: warning: context imbalance in 'unix_state_double_unlock' - unexpected unlock ../net/unix/af_unix.c:1510:54: warning: context imbalance in 'unix_wait_for_peer' - unexpected unlock ../net/unix/af_unix.c:1694:9: warning: context imbalance in 'unix_stream_connect' - different lock contexts for basic block ../net/unix/af_unix.c:2076:25: warning: context imbalance in 'unix_dgram_sendmsg' - unexpected unlock ../net/unix/af_unix.c:3336:20: warning: context imbalance in 'unix_get_first' - wrong count at exit ../net/unix/af_unix.c:3367:34: warning: context imbalance in 'unix_get_next' - unexpected unlock ../net/unix/af_unix.c:3397:42: warning: context imbalance in 'unix_seq_stop' - unexpected unlock ../net/unix/af_unix.c:3500:34: warning: context imbalance in 'bpf_iter_unix_hold_batch' - unexpected unlock ../security/selinux/hooks.c:5515:22: warning: restricted __be16 degrades to integer ../security/selinux/hooks.c:5516:22: warning: restricted __be16 degrades to integer ../net/core/filter.c:1431:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1431:39: expected struct sock_filter const *filter ../net/core/filter.c:1431:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1509:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1509:39: expected struct sock_filter const *filter ../net/core/filter.c:1509:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2331:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2331:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2331:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3931:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4663:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5077:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:8014:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:11987:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:12003:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:12019:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:12040:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12137:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? ../net/core/filter.c:12259:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1939:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1939:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1939:43: got unsigned long long [usertype] to ../net/core/filter.c:1942:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1942:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1942:36: got unsigned long long [usertype] from ../net/core/filter.c:1942:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1942:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1942:42: 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 __be32 [usertype] from ../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 __be32 [usertype] to ../net/core/filter.c:1945:42: got unsigned long long [usertype] to ../net/core/filter.c:1990:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1990:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1990:59: got unsigned long long [usertype] to ../net/core/filter.c:1993:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1993:52: expected restricted __be16 [usertype] from ../net/core/filter.c:1993:52: got unsigned long long [usertype] from ../net/core/filter.c:1993:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1993:58: expected restricted __be16 [usertype] to ../net/core/filter.c:1993:58: 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 __be32 [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 __be32 [usertype] to ../net/core/filter.c:1996:58: got unsigned long long [usertype] to ../net/core/filter.c:2063:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2063:35: expected unsigned long long ../net/core/filter.c:2063:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5934:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5934:17: expected unsigned int [usertype] spi ../net/core/filter.c:5934:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5942:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5942:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5942:33: got restricted __be32 const [usertype] a4 ERROR: modpost: "scm_fp_destroy" [net/bluetooth/bluetooth.ko] undefined! make[3]: *** [../scripts/Makefile.modpost:147: Module.symvers] Error 1 make[2]: *** [/home/nipa/bpf-next/wt-0/Makefile:1961: modpost] Error 2 make[1]: *** [/home/nipa/bpf-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 ../security/selinux/avc.c:467:58: warning: context imbalance in 'avc_alloc_node' - different lock contexts for basic block ../security/tomoyo/common.c:907:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:907:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:907:9: struct list_head * ../security/tomoyo/common.c:907:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:907:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:907:9: struct list_head * ../security/tomoyo/common.c:1592:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1592:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1592:9: struct list_head * ../security/tomoyo/common.c:1592:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1592:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1592:9: struct list_head * ../security/tomoyo/common.c:1614:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1614:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1614:9: struct list_head * ../security/tomoyo/common.c:1614:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1614:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1614:9: struct list_head * ../security/tomoyo/common.c:1795:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1795:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1795:9: struct list_head * ../security/tomoyo/common.c:1799:17: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1799:17: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1799:17: struct list_head * ../security/tomoyo/common.c:1799:17: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1799:17: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1799:17: struct list_head * ../security/tomoyo/common.c:1795:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1795:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1795:9: struct list_head * ../security/tomoyo/common.c:1854:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1854:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1854:9: struct list_head * ../security/tomoyo/common.c:1854:9: error: incompatible types in comparison expression (different address spaces): ../security/tomoyo/common.c:1854:9: struct list_head [noderef] __rcu * ../security/tomoyo/common.c:1854:9: struct list_head * ../security/tomoyo/common.c:940:26: warning: dereference of noderef expression ../security/tomoyo/common.c:940:26: warning: dereference of noderef expression ../security/tomoyo/common.c:941:26: warning: dereference of noderef expression ../security/tomoyo/common.c:941:26: warning: dereference of noderef expression ../net/unix/af_unix.c:225:13: warning: context imbalance in 'unix_table_double_lock' - wrong count at exit ../net/unix/af_unix.c:244:28: warning: context imbalance in 'unix_table_double_unlock' - unexpected unlock ../net/unix/af_unix.c:1377:13: warning: context imbalance in 'unix_state_double_lock' - wrong count at exit ../net/unix/af_unix.c:1394:17: warning: context imbalance in 'unix_state_double_unlock' - unexpected unlock ../net/unix/af_unix.c:1510:54: warning: context imbalance in 'unix_wait_for_peer' - unexpected unlock ../net/unix/af_unix.c:1694:9: warning: context imbalance in 'unix_stream_connect' - different lock contexts for basic block ../net/unix/af_unix.c:2091:25: warning: context imbalance in 'unix_dgram_sendmsg' - unexpected unlock ../net/unix/af_unix.c:3351:20: warning: context imbalance in 'unix_get_first' - wrong count at exit ../net/unix/af_unix.c:3382:34: warning: context imbalance in 'unix_get_next' - unexpected unlock ../net/unix/af_unix.c:3412:42: warning: context imbalance in 'unix_seq_stop' - unexpected unlock ../net/unix/af_unix.c:3515:34: warning: context imbalance in 'bpf_iter_unix_hold_batch' - unexpected unlock ../security/selinux/hooks.c:5515:22: warning: restricted __be16 degrades to integer ../security/selinux/hooks.c:5516:22: warning: restricted __be16 degrades to integer ../net/core/filter.c:1431:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1431:39: expected struct sock_filter const *filter ../net/core/filter.c:1431:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:1509:39: warning: incorrect type in argument 1 (different address spaces) ../net/core/filter.c:1509:39: expected struct sock_filter const *filter ../net/core/filter.c:1509:39: got struct sock_filter [noderef] __user *filter ../net/core/filter.c:2331:45: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:2331:45: expected restricted __be32 [usertype] daddr ../net/core/filter.c:2331:45: got unsigned int [usertype] ipv4_nh ../net/core/filter.c:3931:29: warning: symbol 'bpf_xdp_get_buff_len_trace_proto' was not declared. Should it be static? ../net/core/filter.c:4663:29: warning: symbol 'bpf_skb_output_proto' was not declared. Should it be static? ../net/core/filter.c:5077:29: warning: symbol 'bpf_xdp_output_proto' was not declared. Should it be static? ../net/core/filter.c:8014:29: warning: symbol 'bpf_sk_storage_get_cg_sock_proto' was not declared. Should it be static? ../net/core/filter.c:11987:17: warning: symbol 'bpf_dynptr_from_skb' was not declared. Should it be static? ../net/core/filter.c:12003:17: warning: symbol 'bpf_dynptr_from_xdp' was not declared. Should it be static? ../net/core/filter.c:12019:17: warning: symbol 'bpf_sock_addr_set_sun_path' was not declared. Should it be static? ../net/core/filter.c:12040:17: warning: symbol 'bpf_sk_assign_tcp_reqsk' was not declared. Should it be static? ../net/core/filter.c:12137:17: warning: symbol 'bpf_sock_ops_enable_tx_tstamp' was not declared. Should it be static? ../net/core/filter.c:12156:17: warning: symbol 'bpf_unix_scrub_fds' was not declared. Should it be static? ../net/core/filter.c:12274:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? ../net/core/filter.c:1939:43: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1939:43: expected restricted __wsum [usertype] diff ../net/core/filter.c:1939:43: got unsigned long long [usertype] to ../net/core/filter.c:1942:36: warning: incorrect type in argument 2 (different base types) ../net/core/filter.c:1942:36: expected restricted __be16 [usertype] old ../net/core/filter.c:1942:36: got unsigned long long [usertype] from ../net/core/filter.c:1942:42: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1942:42: expected restricted __be16 [usertype] new ../net/core/filter.c:1942:42: 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 __be32 [usertype] from ../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 __be32 [usertype] to ../net/core/filter.c:1945:42: got unsigned long long [usertype] to ../net/core/filter.c:1990:59: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1990:59: expected restricted __wsum [usertype] diff ../net/core/filter.c:1990:59: got unsigned long long [usertype] to ../net/core/filter.c:1993:52: warning: incorrect type in argument 3 (different base types) ../net/core/filter.c:1993:52: expected restricted __be16 [usertype] from ../net/core/filter.c:1993:52: got unsigned long long [usertype] from ../net/core/filter.c:1993:58: warning: incorrect type in argument 4 (different base types) ../net/core/filter.c:1993:58: expected restricted __be16 [usertype] to ../net/core/filter.c:1993:58: 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 __be32 [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 __be32 [usertype] to ../net/core/filter.c:1996:58: got unsigned long long [usertype] to ../net/core/filter.c:2063:35: warning: incorrect type in return expression (different base types) ../net/core/filter.c:2063:35: expected unsigned long long ../net/core/filter.c:2063:35: got restricted __wsum [usertype] csum ../net/core/filter.c:5934:17: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5934:17: expected unsigned int [usertype] spi ../net/core/filter.c:5934:17: got restricted __be32 const [usertype] spi ../net/core/filter.c:5942:33: warning: incorrect type in assignment (different base types) ../net/core/filter.c:5942:33: expected unsigned int [usertype] remote_ipv4 ../net/core/filter.c:5942:33: got restricted __be32 const [usertype] a4 ERROR: modpost: "scm_fp_destroy" [net/bluetooth/bluetooth.ko] undefined! make[3]: *** [../scripts/Makefile.modpost:147: Module.symvers] Error 1 make[2]: *** [/home/nipa/bpf-next/wt-0/Makefile:1961: modpost] Error 2 make[1]: *** [/home/nipa/bpf-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.J3JUgaZBoC 2025-05-05 16:39:39.638659043 -0700 +++ /tmp/tmp.hvQ5coJj4h 2025-05-05 16:40:53.441386164 -0700 @@ -0,0 +1 @@ +../security/selinux/avc.c:467:58: warning: context imbalance in 'avc_alloc_node' - different lock contexts for basic block @@ -41 +41,0 @@ -../security/selinux/avc.c:467:58: warning: context imbalance in 'avc_alloc_node' - different lock contexts for basic block @@ -48,5 +48,5 @@ -../net/unix/af_unix.c:2076:25: warning: context imbalance in 'unix_dgram_sendmsg' - unexpected unlock -../net/unix/af_unix.c:3336:20: warning: context imbalance in 'unix_get_first' - wrong count at exit -../net/unix/af_unix.c:3367:34: warning: context imbalance in 'unix_get_next' - unexpected unlock -../net/unix/af_unix.c:3397:42: warning: context imbalance in 'unix_seq_stop' - unexpected unlock -../net/unix/af_unix.c:3500:34: warning: context imbalance in 'bpf_iter_unix_hold_batch' - unexpected unlock +../net/unix/af_unix.c:2091:25: warning: context imbalance in 'unix_dgram_sendmsg' - unexpected unlock +../net/unix/af_unix.c:3351:20: warning: context imbalance in 'unix_get_first' - wrong count at exit +../net/unix/af_unix.c:3382:34: warning: context imbalance in 'unix_get_next' - unexpected unlock +../net/unix/af_unix.c:3412:42: warning: context imbalance in 'unix_seq_stop' - unexpected unlock +../net/unix/af_unix.c:3515:34: warning: context imbalance in 'bpf_iter_unix_hold_batch' - unexpected unlock @@ -73 +73,2 @@ -../net/core/filter.c:12259:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? +../net/core/filter.c:12156:17: warning: symbol 'bpf_unix_scrub_fds' was not declared. Should it be static? +../net/core/filter.c:12274:17: warning: symbol 'bpf_sock_destroy' was not declared. Should it be static? Per-file breakdown --- /tmp/tmp.XwyCKG7IwN 2025-05-05 16:40:53.450456615 -0700 +++ /tmp/tmp.S8yzwjRGR5 2025-05-05 16:40:53.453456589 -0700 @@ -1 +1 @@ - 26 ../net/core/filter.c + 27 ../net/core/filter.c