WARNING: unmet direct dependencies detected for MODVERSIONS Depends on [n]: MODULES [=y] && !COMPILE_TEST [=y] Selected by [y]: - RANDSTRUCT_FULL [=y] && (CC_HAS_RANDSTRUCT [=y] || GCC_PLUGINS [=n]) && MODULES [=y] WARNING: unmet direct dependencies detected for MODVERSIONS Depends on [n]: MODULES [=y] && !COMPILE_TEST [=y] Selected by [y]: - RANDSTRUCT_FULL [=y] && (CC_HAS_RANDSTRUCT [=y] || GCC_PLUGINS [=n]) && MODULES [=y] WARNING: unmet direct dependencies detected for MODVERSIONS Depends on [n]: MODULES [=y] && !COMPILE_TEST [=y] Selected by [y]: - RANDSTRUCT_FULL [=y] && (CC_HAS_RANDSTRUCT [=y] || GCC_PLUGINS [=n]) && MODULES [=y] tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files WARNING: modpost: missing MODULE_DESCRIPTION() in security/tomoyo/tomoyo.o WARNING: unmet direct dependencies detected for MODVERSIONS Depends on [n]: MODULES [=y] && !COMPILE_TEST [=y] Selected by [y]: - RANDSTRUCT_FULL [=y] && (CC_HAS_RANDSTRUCT [=y] || GCC_PLUGINS [=n]) && MODULES [=y] WARNING: unmet direct dependencies detected for MODVERSIONS Depends on [n]: MODULES [=y] && !COMPILE_TEST [=y] Selected by [y]: - RANDSTRUCT_FULL [=y] && (CC_HAS_RANDSTRUCT [=y] || GCC_PLUGINS [=n]) && MODULES [=y] WARNING: unmet direct dependencies detected for MODVERSIONS Depends on [n]: MODULES [=y] && !COMPILE_TEST [=y] Selected by [y]: - RANDSTRUCT_FULL [=y] && (CC_HAS_RANDSTRUCT [=y] || GCC_PLUGINS [=n]) && MODULES [=y] tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files ../net/core/rtnetlink.c:3281:6: warning: variable 'tgt_net' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 3281 | if (err < 0) | ^~~~~~~ ../net/core/rtnetlink.c:3301:10: note: uninitialized use occurs here 3301 | put_net(tgt_net); | ^~~~~~~ ../net/core/rtnetlink.c:3281:2: note: remove the 'if' if its condition is always false 3281 | if (err < 0) | ^~~~~~~~~~~~ 3282 | goto errout; | ~~~~~~~~~~~ ../net/core/rtnetlink.c:3277:6: warning: variable 'tgt_net' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 3277 | if (err < 0) | ^~~~~~~ ../net/core/rtnetlink.c:3301:10: note: uninitialized use occurs here 3301 | put_net(tgt_net); | ^~~~~~~ ../net/core/rtnetlink.c:3277:2: note: remove the 'if' if its condition is always false 3277 | if (err < 0) | ^~~~~~~~~~~~ 3278 | goto errout; | ~~~~~~~~~~~ ../net/core/rtnetlink.c:3272:21: note: initialize the variable 'tgt_net' to silence this warning 3272 | struct net *tgt_net; | ^ | = NULL 2 warnings generated. WARNING: modpost: missing MODULE_DESCRIPTION() in security/tomoyo/tomoyo.o New errors added --- /tmp/tmp.rOtt4wqSU7 2024-10-10 04:28:59.901375655 -0700 +++ /tmp/tmp.IGt2yyV5zx 2024-10-10 04:30:23.458671863 -0700 @@ -13,0 +14,27 @@ +../net/core/rtnetlink.c:3281:6: warning: variable 'tgt_net' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] + 3281 | if (err < 0) + | ^~~~~~~ +../net/core/rtnetlink.c:3301:10: note: uninitialized use occurs here + 3301 | put_net(tgt_net); + | ^~~~~~~ +../net/core/rtnetlink.c:3281:2: note: remove the 'if' if its condition is always false + 3281 | if (err < 0) + | ^~~~~~~~~~~~ + 3282 | goto errout; + | ~~~~~~~~~~~ +../net/core/rtnetlink.c:3277:6: warning: variable 'tgt_net' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] + 3277 | if (err < 0) + | ^~~~~~~ +../net/core/rtnetlink.c:3301:10: note: uninitialized use occurs here + 3301 | put_net(tgt_net); + | ^~~~~~~ +../net/core/rtnetlink.c:3277:2: note: remove the 'if' if its condition is always false + 3277 | if (err < 0) + | ^~~~~~~~~~~~ + 3278 | goto errout; + | ~~~~~~~~~~~ +../net/core/rtnetlink.c:3272:21: note: initialize the variable 'tgt_net' to silence this warning + 3272 | struct net *tgt_net; + | ^ + | = NULL +2 warnings generated. Per-file breakdown --- /tmp/tmp.cZoCBndaqm 2024-10-10 04:30:52.551426819 -0700 +++ /tmp/tmp.qEGDKC3uGI 2024-10-10 04:30:52.555426785 -0700 @@ -0,0 +1 @@ + 3 ../net/core/rtnetlink.c