summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorMATTHEW I. HICKMAN <matthew.hickman@ibm.com>2019-09-14 12:47:55 -0500
committerDaniel M Crowell <dcrowell@us.ibm.com>2019-09-27 13:49:43 -0500
commit5db287b6e70d353b32c90ff0209be10ba5491f0d (patch)
tree1a24b4a2620d2ac898c8937a68792bd19c7bdc69 /src/usr
parent48abe5e8afb54e389f45233e66e100a501d038e8 (diff)
downloadtalos-hostboot-5db287b6e70d353b32c90ff0209be10ba5491f0d.tar.gz
talos-hostboot-5db287b6e70d353b32c90ff0209be10ba5491f0d.zip
Fixed NOT_ENOUGH_ENERGY_FOR_CSAVE check
CQ:SW476011 Change-Id: I17c82bece187c216e29a7c0acb58a50c62c6e016 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/83800 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V Swenson <cswenson@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/isteps/nvdimm/nvdimmErrorLog.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/isteps/nvdimm/nvdimmErrorLog.C b/src/usr/isteps/nvdimm/nvdimmErrorLog.C
index 030410dca..305d61a6e 100644
--- a/src/usr/isteps/nvdimm/nvdimmErrorLog.C
+++ b/src/usr/isteps/nvdimm/nvdimmErrorLog.C
@@ -1082,7 +1082,7 @@ errlHndl_t nvdimmHealthStatusCheck(Target *i_nvdimm, uint8_t i_step, bool& o_con
do
{
// If function calling is SAVE, ignore NOT_ENOUGH_ENERGY_FOR_CSAVE
- if (i_step == HEALTH_SAVE)
+ if (i_step != HEALTH_SAVE)
{
// Check MODULE_HEALTH_STATUS1[0]
if ((l_RegInfo.Module_Health_Status1 & NOT_ENOUGH_ENERGY_FOR_CSAVE) == NOT_ENOUGH_ENERGY_FOR_CSAVE)
OpenPOWER on IntegriCloud