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:270:6: warning: variable 'ret' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 270 | 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:292:9: note: uninitialized use occurs here 292 | return ret; | ^~~ ../drivers/net/ovpn/udp.c:270:2: note: remove the 'if' if its condition is always false 270 | if (unlikely(!bind)) { | ^~~~~~~~~~~~~~~~~~~~~~ 271 | net_warn_ratelimited("%s: no bind for remote peer %u\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | netdev_name(peer->ovpn->dev), peer->id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | goto out; | ~~~~~~~~~ 274 | } | ~ ../drivers/net/ovpn/udp.c:259:9: note: initialize the variable 'ret' to silence this warning 259 | int ret; | ^ | = 0 1 warning generated. ../drivers/net/ovpn/peer.c:268:11: warning: variable '__tbl' is uninitialized when used within its own initialization [-Wuninitialized] 268 | nhead = ovpn_get_hash_head(peer->ovpn->peers->by_transp_addr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | &bind->remote, salen); | ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ovpn/peer.c:148:48: note: expanded from macro 'ovpn_get_hash_head' 148 | &(*__tbl)[ovpn_get_hash_slot(_key, _key_len, *__tbl)]; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/ovpn/peer.c:142:26: note: expanded from macro 'ovpn_get_hash_slot' 142 | typeof(_tbl) *__tbl = &(_tbl); \ | ~~~~~ ^~~~ ../drivers/net/ovpn/peer.c:606:9: warning: variable '__tbl' is uninitialized when used within its own initialization [-Wuninitialized] 606 | head = ovpn_get_hash_head(ovpn->peers->by_id, &peer_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 607 | sizeof(peer_id)); | ~~~~~~~~~~~~~~~~ ../drivers/net/ovpn/peer.c:148:48: note: expanded from macro 'ovpn_get_hash_head' 148 | &(*__tbl)[ovpn_get_hash_slot(_key, _key_len, *__tbl)]; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/ovpn/peer.c:142:26: note: expanded from macro 'ovpn_get_hash_slot' 142 | typeof(_tbl) *__tbl = &(_tbl); \ | ~~~~~ ^~~~ ../drivers/net/ovpn/peer.c:830:11: warning: variable '__tbl' is uninitialized when used within its own initialization [-Wuninitialized] 830 | nhead = ovpn_get_hash_head(peer->ovpn->peers->by_vpn_addr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 831 | &peer->vpn_addrs.ipv6, | ~~~~~~~~~~~~~~~~~~~~~~ 832 | sizeof(peer->vpn_addrs.ipv6)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ovpn/peer.c:148:48: note: expanded from macro 'ovpn_get_hash_head' 148 | &(*__tbl)[ovpn_get_hash_slot(_key, _key_len, *__tbl)]; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/ovpn/peer.c:142:26: note: expanded from macro 'ovpn_get_hash_slot' 142 | typeof(_tbl) *__tbl = &(_tbl); \ | ~~~~~ ^~~~ ../drivers/net/ovpn/peer.c:820:11: warning: variable '__tbl' is uninitialized when used within its own initialization [-Wuninitialized] 820 | nhead = ovpn_get_hash_head(peer->ovpn->peers->by_vpn_addr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 821 | &peer->vpn_addrs.ipv4, | ~~~~~~~~~~~~~~~~~~~~~~ 822 | sizeof(peer->vpn_addrs.ipv4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ovpn/peer.c:148:48: note: expanded from macro 'ovpn_get_hash_head' 148 | &(*__tbl)[ovpn_get_hash_slot(_key, _key_len, *__tbl)]; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/ovpn/peer.c:142:26: note: expanded from macro 'ovpn_get_hash_slot' 142 | typeof(_tbl) *__tbl = &(_tbl); \ | ~~~~~ ^~~~ ../drivers/net/ovpn/peer.c:895:7: warning: variable '__tbl' is uninitialized when used within its own initialization [-Wuninitialized] 895 | ovpn_get_hash_head(ovpn->peers->by_id, &peer->id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 896 | sizeof(peer->id))); | ~~~~~~~~~~~~~~~~~ ../drivers/net/ovpn/peer.c:148:48: note: expanded from macro 'ovpn_get_hash_head' 148 | &(*__tbl)[ovpn_get_hash_slot(_key, _key_len, *__tbl)]; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/ovpn/peer.c:142:26: note: expanded from macro 'ovpn_get_hash_slot' 142 | typeof(_tbl) *__tbl = &(_tbl); \ | ~~~~~ ^~~~ ../drivers/net/ovpn/peer.c:889:11: warning: variable '__tbl' is uninitialized when used within its own initialization [-Wuninitialized] 889 | nhead = ovpn_get_hash_head(ovpn->peers->by_transp_addr, &sa, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 890 | salen); | ~~~~~~ ../drivers/net/ovpn/peer.c:148:48: note: expanded from macro 'ovpn_get_hash_head' 148 | &(*__tbl)[ovpn_get_hash_slot(_key, _key_len, *__tbl)]; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/ovpn/peer.c:142:26: note: expanded from macro 'ovpn_get_hash_slot' 142 | typeof(_tbl) *__tbl = &(_tbl); \ | ~~~~~ ^~~~ 6 warnings 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/net/ovpn/peer.c:268:11: warning: variable '__tbl' is uninitialized when used within its own initialization [-Wuninitialized] 268 | nhead = ovpn_get_hash_head(peer->ovpn->peers->by_transp_addr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | &bind->remote, salen); | ~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ovpn/peer.c:148:48: note: expanded from macro 'ovpn_get_hash_head' 148 | &(*__tbl)[ovpn_get_hash_slot(_key, _key_len, *__tbl)]; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/ovpn/peer.c:142:26: note: expanded from macro 'ovpn_get_hash_slot' 142 | typeof(_tbl) *__tbl = &(_tbl); \ | ~~~~~ ^~~~ ../drivers/net/ovpn/peer.c:606:9: warning: variable '__tbl' is uninitialized when used within its own initialization [-Wuninitialized] 606 | head = ovpn_get_hash_head(ovpn->peers->by_id, &peer_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 607 | sizeof(peer_id)); | ~~~~~~~~~~~~~~~~ ../drivers/net/ovpn/peer.c:148:48: note: expanded from macro 'ovpn_get_hash_head' 148 | &(*__tbl)[ovpn_get_hash_slot(_key, _key_len, *__tbl)]; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/ovpn/peer.c:142:26: note: expanded from macro 'ovpn_get_hash_slot' 142 | typeof(_tbl) *__tbl = &(_tbl); \ | ~~~~~ ^~~~ ../drivers/net/ovpn/peer.c:830:11: warning: variable '__tbl' is uninitialized when used within its own initialization [-Wuninitialized] 830 | nhead = ovpn_get_hash_head(peer->ovpn->peers->by_vpn_addr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 831 | &peer->vpn_addrs.ipv6, | ~~~~~~~~~~~~~~~~~~~~~~ 832 | sizeof(peer->vpn_addrs.ipv6)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ovpn/peer.c:148:48: note: expanded from macro 'ovpn_get_hash_head' 148 | &(*__tbl)[ovpn_get_hash_slot(_key, _key_len, *__tbl)]; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/ovpn/peer.c:142:26: note: expanded from macro 'ovpn_get_hash_slot' 142 | typeof(_tbl) *__tbl = &(_tbl); \ | ~~~~~ ^~~~ ../drivers/net/ovpn/peer.c:820:11: warning: variable '__tbl' is uninitialized when used within its own initialization [-Wuninitialized] 820 | nhead = ovpn_get_hash_head(peer->ovpn->peers->by_vpn_addr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 821 | &peer->vpn_addrs.ipv4, | ~~~~~~~~~~~~~~~~~~~~~~ 822 | sizeof(peer->vpn_addrs.ipv4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ovpn/peer.c:148:48: note: expanded from macro 'ovpn_get_hash_head' 148 | &(*__tbl)[ovpn_get_hash_slot(_key, _key_len, *__tbl)]; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/ovpn/peer.c:142:26: note: expanded from macro 'ovpn_get_hash_slot' 142 | typeof(_tbl) *__tbl = &(_tbl); \ | ~~~~~ ^~~~ ../drivers/net/ovpn/peer.c:895:7: warning: variable '__tbl' is uninitialized when used within its own initialization [-Wuninitialized] 895 | ovpn_get_hash_head(ovpn->peers->by_id, &peer->id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 896 | sizeof(peer->id))); | ~~~~~~~~~~~~~~~~~ ../drivers/net/ovpn/peer.c:148:48: note: expanded from macro 'ovpn_get_hash_head' 148 | &(*__tbl)[ovpn_get_hash_slot(_key, _key_len, *__tbl)]; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/ovpn/peer.c:142:26: note: expanded from macro 'ovpn_get_hash_slot' 142 | typeof(_tbl) *__tbl = &(_tbl); \ | ~~~~~ ^~~~ ../drivers/net/ovpn/peer.c:889:11: warning: variable '__tbl' is uninitialized when used within its own initialization [-Wuninitialized] 889 | nhead = ovpn_get_hash_head(ovpn->peers->by_transp_addr, &sa, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 890 | salen); | ~~~~~~ ../drivers/net/ovpn/peer.c:148:48: note: expanded from macro 'ovpn_get_hash_head' 148 | &(*__tbl)[ovpn_get_hash_slot(_key, _key_len, *__tbl)]; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/ovpn/peer.c:142:26: note: expanded from macro 'ovpn_get_hash_slot' 142 | typeof(_tbl) *__tbl = &(_tbl); \ | ~~~~~ ^~~~ 6 warnings generated. ../drivers/net/ovpn/udp.c:270:6: warning: variable 'ret' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 270 | 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:292:9: note: uninitialized use occurs here 292 | return ret; | ^~~ ../drivers/net/ovpn/udp.c:270:2: note: remove the 'if' if its condition is always false 270 | if (unlikely(!bind)) { | ^~~~~~~~~~~~~~~~~~~~~~ 271 | net_warn_ratelimited("%s: no bind for remote peer %u\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | netdev_name(peer->ovpn->dev), peer->id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | goto out; | ~~~~~~~~~ 274 | } | ~ ../drivers/net/ovpn/udp.c:259:9: note: initialize the variable 'ret' to silence this warning 259 | int ret; | ^ | = 0 1 warning generated.