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:406:9: warning: variable '__tbl' is uninitialized when used within its own initialization [-Wuninitialized] 406 | head = ovpn_get_hash_head(ovpn->peers->by_id, &peer_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 407 | sizeof(peer_id)); | ~~~~~~~~~~~~~~~~ ../drivers/net/ovpn/peer.c:179:48: note: expanded from macro 'ovpn_get_hash_head' 179 | &(*__tbl)[ovpn_get_hash_slot(_key, _key_len, *__tbl)]; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/ovpn/peer.c:173:26: note: expanded from macro 'ovpn_get_hash_slot' 173 | typeof(_tbl) *__tbl = &(_tbl); \ | ~~~~~ ^~~~ ../drivers/net/ovpn/peer.c:675:11: warning: variable '__tbl' is uninitialized when used within its own initialization [-Wuninitialized] 675 | nhead = ovpn_get_hash_head(ovpn->peers->by_vpn_addr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 676 | &peer->vpn_addrs.ipv6, | ~~~~~~~~~~~~~~~~~~~~~~ 677 | sizeof(peer->vpn_addrs.ipv6)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ovpn/peer.c:179:48: note: expanded from macro 'ovpn_get_hash_head' 179 | &(*__tbl)[ovpn_get_hash_slot(_key, _key_len, *__tbl)]; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/ovpn/peer.c:173:26: note: expanded from macro 'ovpn_get_hash_slot' 173 | typeof(_tbl) *__tbl = &(_tbl); \ | ~~~~~ ^~~~ ../drivers/net/ovpn/peer.c:668:11: warning: variable '__tbl' is uninitialized when used within its own initialization [-Wuninitialized] 668 | nhead = ovpn_get_hash_head(ovpn->peers->by_vpn_addr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 669 | &peer->vpn_addrs.ipv4, | ~~~~~~~~~~~~~~~~~~~~~~ 670 | sizeof(peer->vpn_addrs.ipv4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ovpn/peer.c:179:48: note: expanded from macro 'ovpn_get_hash_head' 179 | &(*__tbl)[ovpn_get_hash_slot(_key, _key_len, *__tbl)]; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/ovpn/peer.c:173:26: note: expanded from macro 'ovpn_get_hash_slot' 173 | typeof(_tbl) *__tbl = &(_tbl); \ | ~~~~~ ^~~~ ../drivers/net/ovpn/peer.c:664:7: warning: variable '__tbl' is uninitialized when used within its own initialization [-Wuninitialized] 664 | ovpn_get_hash_head(ovpn->peers->by_id, &peer->id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 665 | sizeof(peer->id))); | ~~~~~~~~~~~~~~~~~ ../drivers/net/ovpn/peer.c:179:48: note: expanded from macro 'ovpn_get_hash_head' 179 | &(*__tbl)[ovpn_get_hash_slot(_key, _key_len, *__tbl)]; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/ovpn/peer.c:173:26: note: expanded from macro 'ovpn_get_hash_slot' 173 | typeof(_tbl) *__tbl = &(_tbl); \ | ~~~~~ ^~~~ ../drivers/net/ovpn/peer.c:658:11: warning: variable '__tbl' is uninitialized when used within its own initialization [-Wuninitialized] 658 | nhead = ovpn_get_hash_head(ovpn->peers->by_transp_addr, &sa, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 659 | salen); | ~~~~~~ ../drivers/net/ovpn/peer.c:179:48: note: expanded from macro 'ovpn_get_hash_head' 179 | &(*__tbl)[ovpn_get_hash_slot(_key, _key_len, *__tbl)]; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/ovpn/peer.c:173:26: note: expanded from macro 'ovpn_get_hash_slot' 173 | typeof(_tbl) *__tbl = &(_tbl); \ | ~~~~~ ^~~~ 5 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/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:434:9: warning: variable '__tbl' is uninitialized when used within its own initialization [-Wuninitialized] 434 | head = ovpn_get_hash_head(ovpn->peers->by_id, &peer_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 435 | sizeof(peer_id)); | ~~~~~~~~~~~~~~~~ ../drivers/net/ovpn/peer.c:207:48: note: expanded from macro 'ovpn_get_hash_head' 207 | &(*__tbl)[ovpn_get_hash_slot(_key, _key_len, *__tbl)]; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/ovpn/peer.c:201:26: note: expanded from macro 'ovpn_get_hash_slot' 201 | typeof(_tbl) *__tbl = &(_tbl); \ | ~~~~~ ^~~~ ../drivers/net/ovpn/peer.c:703:11: warning: variable '__tbl' is uninitialized when used within its own initialization [-Wuninitialized] 703 | nhead = ovpn_get_hash_head(ovpn->peers->by_vpn_addr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 704 | &peer->vpn_addrs.ipv6, | ~~~~~~~~~~~~~~~~~~~~~~ 705 | sizeof(peer->vpn_addrs.ipv6)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ovpn/peer.c:207:48: note: expanded from macro 'ovpn_get_hash_head' 207 | &(*__tbl)[ovpn_get_hash_slot(_key, _key_len, *__tbl)]; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/ovpn/peer.c:201:26: note: expanded from macro 'ovpn_get_hash_slot' 201 | typeof(_tbl) *__tbl = &(_tbl); \ | ~~~~~ ^~~~ ../drivers/net/ovpn/peer.c:696:11: warning: variable '__tbl' is uninitialized when used within its own initialization [-Wuninitialized] 696 | nhead = ovpn_get_hash_head(ovpn->peers->by_vpn_addr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 697 | &peer->vpn_addrs.ipv4, | ~~~~~~~~~~~~~~~~~~~~~~ 698 | sizeof(peer->vpn_addrs.ipv4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ovpn/peer.c:207:48: note: expanded from macro 'ovpn_get_hash_head' 207 | &(*__tbl)[ovpn_get_hash_slot(_key, _key_len, *__tbl)]; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/ovpn/peer.c:201:26: note: expanded from macro 'ovpn_get_hash_slot' 201 | typeof(_tbl) *__tbl = &(_tbl); \ | ~~~~~ ^~~~ ../drivers/net/ovpn/peer.c:692:7: warning: variable '__tbl' is uninitialized when used within its own initialization [-Wuninitialized] 692 | ovpn_get_hash_head(ovpn->peers->by_id, &peer->id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 693 | sizeof(peer->id))); | ~~~~~~~~~~~~~~~~~ ../drivers/net/ovpn/peer.c:207:48: note: expanded from macro 'ovpn_get_hash_head' 207 | &(*__tbl)[ovpn_get_hash_slot(_key, _key_len, *__tbl)]; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/ovpn/peer.c:201:26: note: expanded from macro 'ovpn_get_hash_slot' 201 | typeof(_tbl) *__tbl = &(_tbl); \ | ~~~~~ ^~~~ ../drivers/net/ovpn/peer.c:686:11: warning: variable '__tbl' is uninitialized when used within its own initialization [-Wuninitialized] 686 | nhead = ovpn_get_hash_head(ovpn->peers->by_transp_addr, &sa, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 687 | salen); | ~~~~~~ ../drivers/net/ovpn/peer.c:207:48: note: expanded from macro 'ovpn_get_hash_head' 207 | &(*__tbl)[ovpn_get_hash_slot(_key, _key_len, *__tbl)]; \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/ovpn/peer.c:201:26: note: expanded from macro 'ovpn_get_hash_slot' 201 | typeof(_tbl) *__tbl = &(_tbl); \ | ~~~~~ ^~~~ 5 warnings generated.