../net/ipv6/tcp_ipv6.c:1560:25: warning: context imbalance in 'tcp_v6_syn_recv_sock' - unexpected unlock ../net/ipv6/tcp_ipv6.c:1949:21: warning: context imbalance in 'tcp_v6_rcv' - different lock contexts for basic block ../net/ipv4/tcp_input.c:7338:17: warning: context imbalance in 'tcp_conn_request' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3403:41: warning: incorrect type in argument 1 (different address spaces) ../net/ipv4/tcp_ipv4.c:3403:41: expected void const *data ../net/ipv4/tcp_ipv4.c:3403:41: got struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3525:45: warning: incorrect type in argument 1 (different address spaces) ../net/ipv4/tcp_ipv4.c:3525:45: expected void const *data ../net/ipv4/tcp_ipv4.c:3525:45: got struct tcp_congestion_ops const [noderef] __rcu *extern [addressable] [toplevel] tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3529:50: warning: incorrect type in assignment (different address spaces) ../net/ipv4/tcp_ipv4.c:3529:50: expected struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control ../net/ipv4/tcp_ipv4.c:3529:50: got struct tcp_congestion_ops * ../net/ipv4/tcp_ipv4.c:1839:25: warning: context imbalance in 'tcp_v4_syn_recv_sock' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2131:17: warning: context imbalance in 'tcp_add_backlog' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2391:21: warning: context imbalance in 'tcp_v4_rcv' - different lock contexts for basic block ../net/ipv4/tcp_ipv4.c:2600:13: warning: context imbalance in 'listening_get_first' - wrong count at exit ../net/ipv4/tcp_ipv4.c:2648:29: warning: context imbalance in 'listening_get_next' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2681:13: warning: context imbalance in 'established_get_first' - wrong count at exit ../net/ipv4/tcp_ipv4.c:2726:40: warning: context imbalance in 'established_get_next' - unexpected unlock ../net/ipv4/tcp_ipv4.c:2858:36: warning: context imbalance in 'tcp_seq_stop' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3079:20: warning: context imbalance in 'bpf_iter_tcp_listening_batch' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3107:40: warning: context imbalance in 'bpf_iter_tcp_established_batch' - unexpected unlock ../net/ipv4/tcp_ipv4.c:3404:41: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3404:41: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3526:45: warning: dereference of noderef expression ../net/ipv4/tcp_ipv4.c:3526:45: warning: dereference of noderef expression ../net/ipv4/tcp_cong.c:297:24: warning: incorrect type in initializer (different address spaces) ../net/ipv4/tcp_cong.c:297:24: expected struct tcp_congestion_ops const [noderef] __rcu *__ret ../net/ipv4/tcp_cong.c:297:24: got struct tcp_congestion_ops *[assigned] ca ../net/ipv4/tcp_cong.c:297:22: warning: incorrect type in assignment (different address spaces) ../net/ipv4/tcp_cong.c:297:22: expected struct tcp_congestion_ops const *prev ../net/ipv4/tcp_cong.c:297:22: got struct tcp_congestion_ops const [noderef] __rcu *[assigned] __ret ../kernel/bpf/verifier.c:348:12: warning: symbol 'btf_vmlinux' was not declared. Should it be static? ../kernel/bpf/verifier.c:21880: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 ../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/unix/af_unix.c:234:13: warning: context imbalance in 'unix_table_double_lock' - wrong count at exit ../net/unix/af_unix.c:253:28: warning: context imbalance in 'unix_table_double_unlock' - unexpected unlock ../net/unix/af_unix.c:1386:13: warning: context imbalance in 'unix_state_double_lock' - wrong count at exit ../net/unix/af_unix.c:1403:17: warning: context imbalance in 'unix_state_double_unlock' - unexpected unlock ../net/unix/af_unix.c:1519:54: warning: context imbalance in 'unix_wait_for_peer' - unexpected unlock ../net/unix/af_unix.c:1703:9: warning: context imbalance in 'unix_stream_connect' - different lock contexts for basic block ../net/unix/af_unix.c:2085:25: warning: context imbalance in 'unix_dgram_sendmsg' - unexpected unlock ../net/unix/af_unix.c:3331:20: warning: context imbalance in 'unix_get_first' - wrong count at exit ../net/unix/af_unix.c:3362:34: warning: context imbalance in 'unix_get_next' - unexpected unlock ../net/unix/af_unix.c:3392:42: warning: context imbalance in 'unix_seq_stop' - unexpected unlock ../net/unix/af_unix.c:3495:34: warning: context imbalance in 'bpf_iter_unix_hold_batch' - unexpected unlock ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../net/unix/af_unix.c:1511:9: error: undefined identifier 'other' ../net/unix/af_unix.c:1511:9: error: undefined identifier 'other' ../net/unix/af_unix.c:1511:9: error: undefined identifier 'other' ../net/unix/af_unix.c:1511:9: error: undefined identifier 'other' ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../net/unix/af_unix.c:234:13: warning: context imbalance in 'unix_table_double_lock' - wrong count at exit ../net/unix/af_unix.c:253:28: warning: context imbalance in 'unix_table_double_unlock' - unexpected unlock ../net/unix/af_unix.c:1386:13: warning: context imbalance in 'unix_state_double_lock' - wrong count at exit ../net/unix/af_unix.c:1403:17: warning: context imbalance in 'unix_state_double_unlock' - unexpected unlock ../net/unix/af_unix.c:1519:54: warning: context imbalance in 'unix_wait_for_peer' - unexpected unlock ../net/unix/af_unix.c:1703:9: warning: context imbalance in 'unix_stream_connect' - different lock contexts for basic block ../net/unix/af_unix.c:2085:25: warning: context imbalance in 'unix_dgram_sendmsg' - unexpected unlock ../net/unix/af_unix.c:3331:20: warning: context imbalance in 'unix_get_first' - wrong count at exit ../net/unix/af_unix.c:3362:34: warning: context imbalance in 'unix_get_next' - unexpected unlock ../net/unix/af_unix.c:3392:42: warning: context imbalance in 'unix_seq_stop' - unexpected unlock ../net/unix/af_unix.c:3495:34: warning: context imbalance in 'bpf_iter_unix_hold_batch' - unexpected unlock ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? New errors added --- /tmp/tmp.annLF1G5Yi 2025-02-10 00:29:42.919477511 -0800 +++ /tmp/tmp.1MAfH0yMA1 2025-02-10 00:31:07.363553219 -0800 @@ -1,4 +1,11 @@ -../net/unix/af_unix.c:1511:9: error: undefined identifier 'other' -../net/unix/af_unix.c:1511:9: error: undefined identifier 'other' -../net/unix/af_unix.c:1511:9: error: undefined identifier 'other' -../net/unix/af_unix.c:1511:9: error: undefined identifier 'other' +../net/unix/af_unix.c:234:13: warning: context imbalance in 'unix_table_double_lock' - wrong count at exit +../net/unix/af_unix.c:253:28: warning: context imbalance in 'unix_table_double_unlock' - unexpected unlock +../net/unix/af_unix.c:1386:13: warning: context imbalance in 'unix_state_double_lock' - wrong count at exit +../net/unix/af_unix.c:1403:17: warning: context imbalance in 'unix_state_double_unlock' - unexpected unlock +../net/unix/af_unix.c:1519:54: warning: context imbalance in 'unix_wait_for_peer' - unexpected unlock +../net/unix/af_unix.c:1703:9: warning: context imbalance in 'unix_stream_connect' - different lock contexts for basic block +../net/unix/af_unix.c:2085:25: warning: context imbalance in 'unix_dgram_sendmsg' - unexpected unlock +../net/unix/af_unix.c:3331:20: warning: context imbalance in 'unix_get_first' - wrong count at exit +../net/unix/af_unix.c:3362:34: warning: context imbalance in 'unix_get_next' - unexpected unlock +../net/unix/af_unix.c:3392:42: warning: context imbalance in 'unix_seq_stop' - unexpected unlock +../net/unix/af_unix.c:3495:34: warning: context imbalance in 'bpf_iter_unix_hold_batch' - unexpected unlock Per-file breakdown --- /tmp/tmp.EWZKdx2aey 2025-02-10 00:31:07.371553131 -0800 +++ /tmp/tmp.0ZrYFb4h8F 2025-02-10 00:31:07.374553098 -0800 @@ -1 +1 @@ - 4 ../net/unix/af_unix.c + 11 ../net/unix/af_unix.c