../net/xfrm/xfrm_state.c:1578:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1578:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1578:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1578:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1578:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1578:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1578:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1578:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1578:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1578:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1582:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1582:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1582:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1582:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1582:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1582:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1582:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1582:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1582:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1582:25: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1588:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1588:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1588:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1588:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1588:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1588:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1588:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1588:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1588:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1588:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1594:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1594:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1594:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1594:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1594:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1594:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1594:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1594:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1594:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1594:33: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1726:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1726:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1726:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1726:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1726:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1726:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1726:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1726:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1726:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1726:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1730:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1730:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1730:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1730:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1730:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1730:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1730:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1730:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1730:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1730:9: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1737:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1737:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1737:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1737:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1737:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1737:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1737:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1737:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1737:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1737:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1744:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1744:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1744:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1744:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1744:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1744:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1744:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1744:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1744:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1744:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1864:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1864:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1864:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1864:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1864:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1864:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1864:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1864:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1864:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1864:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1867:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1867:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1867:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1867:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1867:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1867:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1867:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1867:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1867:17: warning: cast removes address space '__rcu' of expression ../net/xfrm/xfrm_state.c:1867:17: warning: too many warnings ../net/xfrm/xfrm_state.c: note: in included file: ../include/net/xfrm.h:1963:16: error: incompatible types in comparison expression (different address spaces): ../include/net/xfrm.h:1963:16: struct sock [noderef] __rcu * ../include/net/xfrm.h:1963:16: struct sock * ../net/xfrm/xfrm_policy.c:4146:43: error: incompatible types in comparison expression (different address spaces): ../net/xfrm/xfrm_policy.c:4146:43: struct xfrm_policy_afinfo const [noderef] __rcu * ../net/xfrm/xfrm_policy.c:4146:43: struct xfrm_policy_afinfo const * ../net/xfrm/xfrm_policy.c:4232:29: warning: incorrect type in assignment (different address spaces) ../net/xfrm/xfrm_policy.c:4232:29: expected struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:4232:29: got struct hlist_head * ../net/xfrm/xfrm_policy.c:4259:36: warning: incorrect type in argument 1 (different address spaces) ../net/xfrm/xfrm_policy.c:4259:36: expected struct hlist_head *n ../net/xfrm/xfrm_policy.c:4259:36: got struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:4285:17: warning: incorrect type in argument 1 (different address spaces) ../net/xfrm/xfrm_policy.c:4285:17: expected struct hlist_head const *h ../net/xfrm/xfrm_policy.c:4285:17: got struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:4286:36: warning: incorrect type in argument 1 (different address spaces) ../net/xfrm/xfrm_policy.c:4286:36: expected struct hlist_head *n ../net/xfrm/xfrm_policy.c:4286:36: got struct hlist_head [noderef] __rcu *table ../net/xfrm/xfrm_policy.c:264:9: warning: context imbalance in 'xfrm_policy_get_afinfo' - different lock contexts for basic block ../net/xfrm/xfrm_policy.c: note: in included file (through ../include/linux/rbtree.h, ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.h): ../include/linux/rcupdate.h:871:25: warning: context imbalance in '__xfrm_dst_lookup' - unexpected unlock ../net/xfrm/xfrm_policy.c: note: in included file (through ../include/linux/mm_types.h, ../include/linux/mmzone.h, ../include/linux/gfp.h, ../include/linux/slab.h): ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../include/linux/rbtree.h:74:9: error: incompatible types in comparison expression (different address spaces): ../include/linux/rbtree.h:74:9: struct rb_node [noderef] __rcu * ../include/linux/rbtree.h:74:9: struct rb_node * ../net/core/sock.c: In function ‘__sk_mem_raise_allocated’: ../net/core/sock.c:3284:81: error: expected ‘)’ before ‘;’ token 3284 | charged = mem_cgroup_charge_skmem(memcg, amt, gfp_memcg_charge(); | ~ ^ | ) ../net/core/sock.c:3286:50: error: expected ‘;’ before ‘}’ token 3286 | goto suppress_allocation; | ^ | ; 3287 | } | ~ make[5]: *** [../scripts/Makefile.build:203: net/core/sock.o] Error 1 make[4]: *** [../scripts/Makefile.build:461: net/core] Error 2 make[3]: *** [../scripts/Makefile.build:461: net] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-0/Makefile:2003: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 ../net/core/sock.c:2572:9: warning: context imbalance in 'sk_clone_lock' - different lock contexts for basic block ../net/core/sock.c:4241:13: warning: context imbalance in 'proto_seq_start' - wrong count at exit ../net/core/sock.c:4253:13: warning: context imbalance in 'proto_seq_stop' - wrong count at exit ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../net/core/sock.c: In function ‘__sk_mem_raise_allocated’: ../net/core/sock.c:3284:81: error: expected ‘)’ before ‘;’ token 3284 | charged = mem_cgroup_charge_skmem(memcg, amt, gfp_memcg_charge(); | ~ ^ | ) ../net/core/sock.c:3286:50: error: expected ‘;’ before ‘}’ token 3286 | goto suppress_allocation; | ^ | ; 3287 | } | ~ make[5]: *** [../scripts/Makefile.build:203: net/core/sock.o] Error 1 make[4]: *** [../scripts/Makefile.build:461: net/core] Error 2 make[3]: *** [../scripts/Makefile.build:461: net] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-0/Makefile:2003: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.UEs2I9FEey 2025-05-26 00:32:56.338997451 -0700 +++ /tmp/tmp.VmA1DkrTG4 2025-05-26 00:33:11.459622426 -0700 @@ -1,3 +1,18 @@ -../net/core/sock.c:2572:9: warning: context imbalance in 'sk_clone_lock' - different lock contexts for basic block -../net/core/sock.c:4241:13: warning: context imbalance in 'proto_seq_start' - wrong count at exit -../net/core/sock.c:4253:13: warning: context imbalance in 'proto_seq_stop' - wrong count at exit +../net/core/sock.c: In function ‘__sk_mem_raise_allocated’: +../net/core/sock.c:3284:81: error: expected ‘)’ before ‘;’ token + 3284 | charged = mem_cgroup_charge_skmem(memcg, amt, gfp_memcg_charge(); + | ~ ^ + | ) +../net/core/sock.c:3286:50: error: expected ‘;’ before ‘}’ token + 3286 | goto suppress_allocation; + | ^ + | ; + 3287 | } + | ~ +make[5]: *** [../scripts/Makefile.build:203: net/core/sock.o] Error 1 +make[4]: *** [../scripts/Makefile.build:461: net/core] Error 2 +make[3]: *** [../scripts/Makefile.build:461: net] Error 2 +make[3]: *** Waiting for unfinished jobs.... +make[2]: *** [/home/nipa/net-next/wt-0/Makefile:2003: .] Error 2 +make[1]: *** [/home/nipa/net-next/wt-0/Makefile:248: __sub-make] Error 2 +make: *** [Makefile:248: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.tnCK2Jhjj8 2025-05-26 00:33:11.465213183 -0700 +++ /tmp/tmp.OrZTdHoVVr 2025-05-26 00:33:11.468924867 -0700 @@ -1 +1 @@ - 3 ../net/core/sock.c + 2 ../net/core/sock.c