========== build_clang - FAILED 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 ../drivers/net/ovpn/udp.c:196:6: warning: variable 'ret' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 196 | if (unlikely(!bind)) { | ^~~~~~~~~~~~~~~ ../include/linux/compiler.h:77:22: note: expanded from macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ovpn/udp.c:218:9: note: uninitialized use occurs here 218 | return ret; | ^~~ ../drivers/net/ovpn/udp.c:196:2: note: remove the 'if' if its condition is always false 196 | if (unlikely(!bind)) { | ^~~~~~~~~~~~~~~~~~~~~~ 197 | net_warn_ratelimited("%s: no bind for remote peer %u\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 198 | netdev_name(peer->ovpn->dev), peer->id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 199 | goto out; | ~~~~~~~~~ 200 | } | ~ ../drivers/net/ovpn/udp.c:185:9: note: initialize the variable 'ret' to silence this warning 185 | int ret; | ^ | = 0 1 warning generated. 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 drivers/nvme/target/nvmet.o: warning: objtool: nvmet_ctrl_state_show() falls through to next function __cfi_nvmet_ctrl_host_traddr_open() 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 drivers/nvme/target/nvmet.o: warning: objtool: nvmet_ctrl_state_show() falls through to next function __cfi_nvmet_ctrl_host_traddr_open() ../drivers/net/ovpn/udp.c:196:6: warning: variable 'ret' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 196 | if (unlikely(!bind)) { | ^~~~~~~~~~~~~~~ ../include/linux/compiler.h:77:22: note: expanded from macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ovpn/udp.c:218:9: note: uninitialized use occurs here 218 | return ret; | ^~~ ../drivers/net/ovpn/udp.c:196:2: note: remove the 'if' if its condition is always false 196 | if (unlikely(!bind)) { | ^~~~~~~~~~~~~~~~~~~~~~ 197 | net_warn_ratelimited("%s: no bind for remote peer %u\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 198 | netdev_name(peer->ovpn->dev), peer->id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 199 | goto out; | ~~~~~~~~~ 200 | } | ~ ../drivers/net/ovpn/udp.c:185:9: note: initialize the variable 'ret' to silence this warning 185 | int ret; | ^ | = 0 1 warning generated. New errors added --- /tmp/tmp.En93JdBNxd 2024-12-02 09:35:02.613748371 -0800 +++ /tmp/tmp.gRSErb5M5k 2024-12-02 09:38:24.972705674 -0800 @@ -4,0 +5,25 @@ +../drivers/net/ovpn/udp.c:196:6: warning: variable 'ret' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] + 196 | if (unlikely(!bind)) { + | ^~~~~~~~~~~~~~~ +../include/linux/compiler.h:77:22: note: expanded from macro 'unlikely' + 77 | # define unlikely(x) __builtin_expect(!!(x), 0) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ovpn/udp.c:218:9: note: uninitialized use occurs here + 218 | return ret; + | ^~~ +../drivers/net/ovpn/udp.c:196:2: note: remove the 'if' if its condition is always false + 196 | if (unlikely(!bind)) { + | ^~~~~~~~~~~~~~~~~~~~~~ + 197 | net_warn_ratelimited("%s: no bind for remote peer %u\n", + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 198 | netdev_name(peer->ovpn->dev), peer->id); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 199 | goto out; + | ~~~~~~~~~ + 200 | } + | ~ +../drivers/net/ovpn/udp.c:185:9: note: initialize the variable 'ret' to silence this warning + 185 | int ret; + | ^ + | = 0 +1 warning generated. Per-file breakdown --- /tmp/tmp.gELLoQmdDH 2024-12-02 09:41:21.522923500 -0800 +++ /tmp/tmp.5x21hahXtQ 2024-12-02 09:41:21.525923469 -0800 @@ -0,0 +1 @@ + 2 ../drivers/net/ovpn/udp.c