../net/core/sock_map.c:2099:14: warning: variable 'key_prefix' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 2099 | } else if (linfo->map.sock_hash.key_prefix_len) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/core/sock_map.c:2104:30: note: uninitialized use occurs here 2104 | aux->sockhash.key_prefix = key_prefix; | ^~~~~~~~~~ ../net/core/sock_map.c:2099:10: note: remove the 'if' if its condition is always true 2099 | } else if (linfo->map.sock_hash.key_prefix_len) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/core/sock_map.c:2073:18: note: initialize the variable 'key_prefix' to silence this warning 2073 | void *key_prefix; | ^ | = NULL 1 warning generated. ../net/core/sock_map.c:2100:14: warning: variable 'key_prefix' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 2100 | } else if (linfo->map.sock_hash.key_prefix_len) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/core/sock_map.c:2105:30: note: uninitialized use occurs here 2105 | aux->sockhash.key_prefix = key_prefix; | ^~~~~~~~~~ ../net/core/sock_map.c:2100:10: note: remove the 'if' if its condition is always true 2100 | } else if (linfo->map.sock_hash.key_prefix_len) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../net/core/sock_map.c:2074:18: note: initialize the variable 'key_prefix' to silence this warning 2074 | void *key_prefix; | ^ | = NULL 1 warning generated.