In file included from : ../drivers/net/wireguard/allowedips.c: In function ‘remove_node’: ../include/linux/stddef.h:16:33: error: ‘*0’ is a pointer; did you mean to use ‘->’? 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:575:23: note: in definition of macro ‘__compiletime_assert’ 575 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:595:9: note: in expansion of macro ‘_compiletime_assert’ 595 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ ../include/linux/rcupdate.h:1098:17: note: in expansion of macro ‘BUILD_BUG_ON’ 1098 | BUILD_BUG_ON(offsetof(typeof(*(ptr)), rhf) >= 4096); \ | ^~~~~~~~~~~~ ../include/linux/rcupdate.h:1098:30: note: in expansion of macro ‘offsetof’ 1098 | BUILD_BUG_ON(offsetof(typeof(*(ptr)), rhf) >= 4096); \ | ^~~~~~~~ ../include/linux/rcupdate.h:1061:29: note: in expansion of macro ‘kvfree_rcu_arg_2’ 1061 | #define kfree_rcu(ptr, rhf) kvfree_rcu_arg_2(ptr, rhf) | ^~~~~~~~~~~~~~~~ ../drivers/net/wireguard/allowedips.c:269:9: note: in expansion of macro ‘kfree_rcu’ 269 | kfree_rcu(&node, rcu); | ^~~~~~~~~ In file included from ../include/linux/rculist.h:11, from ../include/linux/dcache.h:8, from ../include/linux/fs.h:9, from ../include/linux/highmem.h:5, from ../include/linux/bvec.h:10, from ../include/linux/skbuff.h:17, from ../include/linux/ip.h:16, from ../drivers/net/wireguard/allowedips.h:10, from ../drivers/net/wireguard/allowedips.c:6: ../include/linux/rcupdate.h:1099:41: error: ‘___p’ is a pointer to pointer; did you mean to dereference it before applying ‘->’ to it? 1099 | kvfree_call_rcu(&((___p)->rhf), (void *) (___p)); \ | ^~ ../include/linux/rcupdate.h:1061:29: note: in expansion of macro ‘kvfree_rcu_arg_2’ 1061 | #define kfree_rcu(ptr, rhf) kvfree_rcu_arg_2(ptr, rhf) | ^~~~~~~~~~~~~~~~ ../drivers/net/wireguard/allowedips.c:269:9: note: in expansion of macro ‘kfree_rcu’ 269 | kfree_rcu(&node, rcu); | ^~~~~~~~~ ../include/linux/stddef.h:16:33: error: ‘*0’ is a pointer; did you mean to use ‘->’? 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:575:23: note: in definition of macro ‘__compiletime_assert’ 575 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:595:9: note: in expansion of macro ‘_compiletime_assert’ 595 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ ../include/linux/rcupdate.h:1098:17: note: in expansion of macro ‘BUILD_BUG_ON’ 1098 | BUILD_BUG_ON(offsetof(typeof(*(ptr)), rhf) >= 4096); \ | ^~~~~~~~~~~~ ../include/linux/rcupdate.h:1098:30: note: in expansion of macro ‘offsetof’ 1098 | BUILD_BUG_ON(offsetof(typeof(*(ptr)), rhf) >= 4096); \ | ^~~~~~~~ ../include/linux/rcupdate.h:1061:29: note: in expansion of macro ‘kvfree_rcu_arg_2’ 1061 | #define kfree_rcu(ptr, rhf) kvfree_rcu_arg_2(ptr, rhf) | ^~~~~~~~~~~~~~~~ ../drivers/net/wireguard/allowedips.c:275:9: note: in expansion of macro ‘kfree_rcu’ 275 | kfree_rcu(&parent, rcu); | ^~~~~~~~~ ../include/linux/rcupdate.h:1099:41: error: ‘___p’ is a pointer to pointer; did you mean to dereference it before applying ‘->’ to it? 1099 | kvfree_call_rcu(&((___p)->rhf), (void *) (___p)); \ | ^~ ../include/linux/rcupdate.h:1061:29: note: in expansion of macro ‘kvfree_rcu_arg_2’ 1061 | #define kfree_rcu(ptr, rhf) kvfree_rcu_arg_2(ptr, rhf) | ^~~~~~~~~~~~~~~~ ../drivers/net/wireguard/allowedips.c:275:9: note: in expansion of macro ‘kfree_rcu’ 275 | kfree_rcu(&parent, rcu); | ^~~~~~~~~ make[6]: *** [../scripts/Makefile.build:287: drivers/net/wireguard/allowedips.o] Error 1 make[5]: *** [../scripts/Makefile.build:556: drivers/net/wireguard] Error 2 make[4]: *** [../scripts/Makefile.build:556: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:556: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:2009: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 In file included from : ../drivers/net/wireguard/allowedips.c: In function ‘remove_node’: ../include/linux/stddef.h:16:33: error: ‘*0’ is a pointer; did you mean to use ‘->’? 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:575:23: note: in definition of macro ‘__compiletime_assert’ 575 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:595:9: note: in expansion of macro ‘_compiletime_assert’ 595 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ ../include/linux/rcupdate.h:1098:17: note: in expansion of macro ‘BUILD_BUG_ON’ 1098 | BUILD_BUG_ON(offsetof(typeof(*(ptr)), rhf) >= 4096); \ | ^~~~~~~~~~~~ ../include/linux/rcupdate.h:1098:30: note: in expansion of macro ‘offsetof’ 1098 | BUILD_BUG_ON(offsetof(typeof(*(ptr)), rhf) >= 4096); \ | ^~~~~~~~ ../include/linux/rcupdate.h:1061:29: note: in expansion of macro ‘kvfree_rcu_arg_2’ 1061 | #define kfree_rcu(ptr, rhf) kvfree_rcu_arg_2(ptr, rhf) | ^~~~~~~~~~~~~~~~ ../drivers/net/wireguard/allowedips.c:269:9: note: in expansion of macro ‘kfree_rcu’ 269 | kfree_rcu(&node, rcu); | ^~~~~~~~~ In file included from ../include/linux/rculist.h:11, from ../include/linux/dcache.h:8, from ../include/linux/fs.h:9, from ../include/linux/highmem.h:5, from ../include/linux/bvec.h:10, from ../include/linux/skbuff.h:17, from ../include/linux/ip.h:16, from ../drivers/net/wireguard/allowedips.h:10, from ../drivers/net/wireguard/allowedips.c:6: ../include/linux/rcupdate.h:1099:41: error: ‘___p’ is a pointer to pointer; did you mean to dereference it before applying ‘->’ to it? 1099 | kvfree_call_rcu(&((___p)->rhf), (void *) (___p)); \ | ^~ ../include/linux/rcupdate.h:1061:29: note: in expansion of macro ‘kvfree_rcu_arg_2’ 1061 | #define kfree_rcu(ptr, rhf) kvfree_rcu_arg_2(ptr, rhf) | ^~~~~~~~~~~~~~~~ ../drivers/net/wireguard/allowedips.c:269:9: note: in expansion of macro ‘kfree_rcu’ 269 | kfree_rcu(&node, rcu); | ^~~~~~~~~ ../include/linux/stddef.h:16:33: error: ‘*0’ is a pointer; did you mean to use ‘->’? 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ ./../include/linux/compiler_types.h:575:23: note: in definition of macro ‘__compiletime_assert’ 575 | if (!(condition)) \ | ^~~~~~~~~ ./../include/linux/compiler_types.h:595:9: note: in expansion of macro ‘_compiletime_assert’ 595 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ ../include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ ../include/linux/rcupdate.h:1098:17: note: in expansion of macro ‘BUILD_BUG_ON’ 1098 | BUILD_BUG_ON(offsetof(typeof(*(ptr)), rhf) >= 4096); \ | ^~~~~~~~~~~~ ../include/linux/rcupdate.h:1098:30: note: in expansion of macro ‘offsetof’ 1098 | BUILD_BUG_ON(offsetof(typeof(*(ptr)), rhf) >= 4096); \ | ^~~~~~~~ ../include/linux/rcupdate.h:1061:29: note: in expansion of macro ‘kvfree_rcu_arg_2’ 1061 | #define kfree_rcu(ptr, rhf) kvfree_rcu_arg_2(ptr, rhf) | ^~~~~~~~~~~~~~~~ ../drivers/net/wireguard/allowedips.c:275:9: note: in expansion of macro ‘kfree_rcu’ 275 | kfree_rcu(&parent, rcu); | ^~~~~~~~~ ../include/linux/rcupdate.h:1099:41: error: ‘___p’ is a pointer to pointer; did you mean to dereference it before applying ‘->’ to it? 1099 | kvfree_call_rcu(&((___p)->rhf), (void *) (___p)); \ | ^~ ../include/linux/rcupdate.h:1061:29: note: in expansion of macro ‘kvfree_rcu_arg_2’ 1061 | #define kfree_rcu(ptr, rhf) kvfree_rcu_arg_2(ptr, rhf) | ^~~~~~~~~~~~~~~~ ../drivers/net/wireguard/allowedips.c:275:9: note: in expansion of macro ‘kfree_rcu’ 275 | kfree_rcu(&parent, rcu); | ^~~~~~~~~ make[6]: *** [../scripts/Makefile.build:287: drivers/net/wireguard/allowedips.o] Error 1 make[5]: *** [../scripts/Makefile.build:556: drivers/net/wireguard] Error 2 make[4]: *** [../scripts/Makefile.build:556: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:556: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:2009: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.OPlj8mGKFV 2025-10-05 05:36:59.868504186 -0700 +++ /tmp/tmp.kDWGcDVoXZ 2025-10-05 05:37:15.289813170 -0700 @@ -0,0 +1,91 @@ +In file included from : +../drivers/net/wireguard/allowedips.c: In function ‘remove_node’: +../include/linux/stddef.h:16:33: error: ‘*0’ is a pointer; did you mean to use ‘->’? + 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) + | ^~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:575:23: note: in definition of macro ‘__compiletime_assert’ + 575 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:595:9: note: in expansion of macro ‘_compiletime_assert’ + 595 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ + 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) + | ^~~~~~~~~~~~~~~~ +../include/linux/rcupdate.h:1098:17: note: in expansion of macro ‘BUILD_BUG_ON’ + 1098 | BUILD_BUG_ON(offsetof(typeof(*(ptr)), rhf) >= 4096); \ + | ^~~~~~~~~~~~ +../include/linux/rcupdate.h:1098:30: note: in expansion of macro ‘offsetof’ + 1098 | BUILD_BUG_ON(offsetof(typeof(*(ptr)), rhf) >= 4096); \ + | ^~~~~~~~ +../include/linux/rcupdate.h:1061:29: note: in expansion of macro ‘kvfree_rcu_arg_2’ + 1061 | #define kfree_rcu(ptr, rhf) kvfree_rcu_arg_2(ptr, rhf) + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireguard/allowedips.c:269:9: note: in expansion of macro ‘kfree_rcu’ + 269 | kfree_rcu(&node, rcu); + | ^~~~~~~~~ +In file included from ../include/linux/rculist.h:11, + from ../include/linux/dcache.h:8, + from ../include/linux/fs.h:9, + from ../include/linux/highmem.h:5, + from ../include/linux/bvec.h:10, + from ../include/linux/skbuff.h:17, + from ../include/linux/ip.h:16, + from ../drivers/net/wireguard/allowedips.h:10, + from ../drivers/net/wireguard/allowedips.c:6: +../include/linux/rcupdate.h:1099:41: error: ‘___p’ is a pointer to pointer; did you mean to dereference it before applying ‘->’ to it? + 1099 | kvfree_call_rcu(&((___p)->rhf), (void *) (___p)); \ + | ^~ +../include/linux/rcupdate.h:1061:29: note: in expansion of macro ‘kvfree_rcu_arg_2’ + 1061 | #define kfree_rcu(ptr, rhf) kvfree_rcu_arg_2(ptr, rhf) + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireguard/allowedips.c:269:9: note: in expansion of macro ‘kfree_rcu’ + 269 | kfree_rcu(&node, rcu); + | ^~~~~~~~~ +../include/linux/stddef.h:16:33: error: ‘*0’ is a pointer; did you mean to use ‘->’? + 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) + | ^~~~~~~~~~~~~~~~~~ +./../include/linux/compiler_types.h:575:23: note: in definition of macro ‘__compiletime_assert’ + 575 | if (!(condition)) \ + | ^~~~~~~~~ +./../include/linux/compiler_types.h:595:9: note: in expansion of macro ‘_compiletime_assert’ + 595 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) + | ^~~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’ + 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ + 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) + | ^~~~~~~~~~~~~~~~ +../include/linux/rcupdate.h:1098:17: note: in expansion of macro ‘BUILD_BUG_ON’ + 1098 | BUILD_BUG_ON(offsetof(typeof(*(ptr)), rhf) >= 4096); \ + | ^~~~~~~~~~~~ +../include/linux/rcupdate.h:1098:30: note: in expansion of macro ‘offsetof’ + 1098 | BUILD_BUG_ON(offsetof(typeof(*(ptr)), rhf) >= 4096); \ + | ^~~~~~~~ +../include/linux/rcupdate.h:1061:29: note: in expansion of macro ‘kvfree_rcu_arg_2’ + 1061 | #define kfree_rcu(ptr, rhf) kvfree_rcu_arg_2(ptr, rhf) + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireguard/allowedips.c:275:9: note: in expansion of macro ‘kfree_rcu’ + 275 | kfree_rcu(&parent, rcu); + | ^~~~~~~~~ +../include/linux/rcupdate.h:1099:41: error: ‘___p’ is a pointer to pointer; did you mean to dereference it before applying ‘->’ to it? + 1099 | kvfree_call_rcu(&((___p)->rhf), (void *) (___p)); \ + | ^~ +../include/linux/rcupdate.h:1061:29: note: in expansion of macro ‘kvfree_rcu_arg_2’ + 1061 | #define kfree_rcu(ptr, rhf) kvfree_rcu_arg_2(ptr, rhf) + | ^~~~~~~~~~~~~~~~ +../drivers/net/wireguard/allowedips.c:275:9: note: in expansion of macro ‘kfree_rcu’ + 275 | kfree_rcu(&parent, rcu); + | ^~~~~~~~~ +make[6]: *** [../scripts/Makefile.build:287: drivers/net/wireguard/allowedips.o] Error 1 +make[5]: *** [../scripts/Makefile.build:556: drivers/net/wireguard] Error 2 +make[4]: *** [../scripts/Makefile.build:556: drivers/net] Error 2 +make[4]: *** Waiting for unfinished jobs.... +make[3]: *** [../scripts/Makefile.build:556: drivers] Error 2 +make[2]: *** [/home/nipa/net-next/wt-1/Makefile:2009: .] Error 2 +make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 +make: *** [Makefile:248: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.GHejg1sgjj 2025-10-05 05:37:15.295367230 -0700 +++ /tmp/tmp.ArPkSkeNm8 2025-10-05 05:37:15.299367194 -0700 @@ -0,0 +1,2 @@ + 2 ../include/linux/rcupdate.h + 2 ../include/linux/stddef.h