../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:46:12: warning: variable 'orom' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 46 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:50:5: note: uninitialized use occurs here 50 | orom->major, orom->build, orom->patch); | ^~~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:46:8: note: remove the 'if' if its condition is always true 46 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47 | orom = &ctx->pending_orom; ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:42:31: note: initialize the variable 'orom' to silence this warning 42 | struct ixgbe_orom_info *orom; | ^ | = NULL ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:81:12: warning: variable 'eetrack' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 81 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:84:50: note: uninitialized use occurs here 84 | snprintf(ctx->buf, sizeof(ctx->buf), "0x%08x", eetrack); | ^~~~~~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:81:8: note: remove the 'if' if its condition is always true 81 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 82 | eetrack = ctx->pending_nvm.eetrack; ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:77:14: note: initialize the variable 'eetrack' to silence this warning 77 | u32 eetrack; | ^ | = 0 ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:125:11: warning: variable 'nvm' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 125 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:128:45: note: uninitialized use occurs here 128 | snprintf(ctx->buf, sizeof(ctx->buf), "%u", nvm->srev); | ^~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:125:7: note: remove the 'if' if its condition is always true 125 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | nvm = &ctx->pending_nvm; ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:121:28: note: initialize the variable 'nvm' to silence this warning 121 | struct ixgbe_nvm_info *nvm; | ^ | = NULL ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:139:11: warning: variable 'orom' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 139 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:142:45: note: uninitialized use occurs here 142 | snprintf(ctx->buf, sizeof(ctx->buf), "%u", orom->srev); | ^~~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:139:7: note: remove the 'if' if its condition is always true 139 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | orom = &ctx->pending_orom; ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:135:30: note: initialize the variable 'orom' to silence this warning 135 | struct ixgbe_orom_info *orom; | ^ | = NULL ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:153:11: warning: variable 'nvm' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 153 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:156:50: note: uninitialized use occurs here 156 | snprintf(ctx->buf, sizeof(ctx->buf), "%x.%02x", nvm->major, nvm->minor); | ^~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:153:7: note: remove the 'if' if its condition is always true 153 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 154 | nvm = &ctx->pending_nvm; ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:149:28: note: initialize the variable 'nvm' to silence this warning 149 | struct ixgbe_nvm_info *nvm; | ^ | = NULL ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:167:11: warning: variable 'netlist' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 167 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:172:4: note: uninitialized use occurs here 172 | netlist->major, netlist->minor, | ^~~~~~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:167:7: note: remove the 'if' if its condition is always true 167 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | netlist = &ctx->pending_netlist; ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:163:36: note: initialize the variable 'netlist' to silence this warning 163 | struct ixgbe_netlist_info *netlist; | ^ | = NULL ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:185:11: warning: variable 'netlist' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 185 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:188:49: note: uninitialized use occurs here 188 | snprintf(ctx->buf, sizeof(ctx->buf), "0x%08x", netlist->hash); | ^~~~~~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:185:7: note: remove the 'if' if its condition is always true 185 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 186 | netlist = &ctx->pending_netlist; ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:181:36: note: initialize the variable 'netlist' to silence this warning 181 | struct ixgbe_netlist_info *netlist; | ^ | = NULL 7 warnings generated. drivers/net/ethernet/intel/ixgbe/ixgbe.o: warning: objtool: .discard.annotate_insn: dodgy linker, sh_entsize != 8 ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:46:12: warning: variable 'orom' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 46 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:50:5: note: uninitialized use occurs here 50 | orom->major, orom->build, orom->patch); | ^~~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:46:8: note: remove the 'if' if its condition is always true 46 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47 | orom = &ctx->pending_orom; ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:42:31: note: initialize the variable 'orom' to silence this warning 42 | struct ixgbe_orom_info *orom; | ^ | = NULL ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:81:12: warning: variable 'eetrack' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 81 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:84:50: note: uninitialized use occurs here 84 | snprintf(ctx->buf, sizeof(ctx->buf), "0x%08x", eetrack); | ^~~~~~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:81:8: note: remove the 'if' if its condition is always true 81 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 82 | eetrack = ctx->pending_nvm.eetrack; ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:77:14: note: initialize the variable 'eetrack' to silence this warning 77 | u32 eetrack; | ^ | = 0 ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:125:11: warning: variable 'nvm' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 125 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:128:45: note: uninitialized use occurs here 128 | snprintf(ctx->buf, sizeof(ctx->buf), "%u", nvm->srev); | ^~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:125:7: note: remove the 'if' if its condition is always true 125 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | nvm = &ctx->pending_nvm; ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:121:28: note: initialize the variable 'nvm' to silence this warning 121 | struct ixgbe_nvm_info *nvm; | ^ | = NULL ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:139:11: warning: variable 'orom' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 139 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:142:45: note: uninitialized use occurs here 142 | snprintf(ctx->buf, sizeof(ctx->buf), "%u", orom->srev); | ^~~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:139:7: note: remove the 'if' if its condition is always true 139 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | orom = &ctx->pending_orom; ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:135:30: note: initialize the variable 'orom' to silence this warning 135 | struct ixgbe_orom_info *orom; | ^ | = NULL ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:153:11: warning: variable 'nvm' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 153 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:156:50: note: uninitialized use occurs here 156 | snprintf(ctx->buf, sizeof(ctx->buf), "%x.%02x", nvm->major, nvm->minor); | ^~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:153:7: note: remove the 'if' if its condition is always true 153 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 154 | nvm = &ctx->pending_nvm; ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:149:28: note: initialize the variable 'nvm' to silence this warning 149 | struct ixgbe_nvm_info *nvm; | ^ | = NULL ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:167:11: warning: variable 'netlist' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 167 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:172:4: note: uninitialized use occurs here 172 | netlist->major, netlist->minor, | ^~~~~~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:167:7: note: remove the 'if' if its condition is always true 167 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | netlist = &ctx->pending_netlist; ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:163:36: note: initialize the variable 'netlist' to silence this warning 163 | struct ixgbe_netlist_info *netlist; | ^ | = NULL ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:185:11: warning: variable 'netlist' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 185 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:188:49: note: uninitialized use occurs here 188 | snprintf(ctx->buf, sizeof(ctx->buf), "0x%08x", netlist->hash); | ^~~~~~~ ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:185:7: note: remove the 'if' if its condition is always true 185 | else if (type == IXGBE_DL_VERSION_STORED) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 186 | netlist = &ctx->pending_netlist; ../drivers/net/ethernet/intel/ixgbe/devlink/devlink.c:181:36: note: initialize the variable 'netlist' to silence this warning 181 | struct ixgbe_netlist_info *netlist; | ^ | = NULL 7 warnings generated. drivers/net/ethernet/intel/ixgbe/ixgbe.o: warning: objtool: .discard.annotate_insn: dodgy linker, sh_entsize != 8