Skip to content

Commit

Permalink
platGetMBvpdSlopeInterceptData: fix ATTR_CEN_CDIMM_VPD_MASTER_TOTAL_P…
Browse files Browse the repository at this point in the history
…OWER_SLOPE

When getting ATTR_CEN_CDIMM_VPD_MASTER_TOTAL_POWER_SLOPE, we
incorrectly used MASTER_TOTAL_POWER_INTERCEPT enum. We should
use MASTER_TOTAL_POWER_SLOPE

Change-Id: I1425147baf4937c3a5256a2f54f42ef8d9cefe5f
CQ:SW440290
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63653
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com>
Reviewed-by: Richard J. Knight <rjknight@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
Prachi Gupta authored and dcrowell77 committed Aug 1, 2018
1 parent 4b51087 commit ba4fc12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usr/fapi2/attribute_service.C
Original file line number Diff line number Diff line change
Expand Up @@ -2750,7 +2750,7 @@ ReturnCode platGetMBvpdSlopeInterceptData(
l_val = MASTER_TOTAL_POWER_INTERCEPT;
break;
case ATTR_CEN_CDIMM_VPD_MASTER_TOTAL_POWER_SLOPE:
l_val = MASTER_TOTAL_POWER_INTERCEPT;
l_val = MASTER_TOTAL_POWER_SLOPE;
break;
case ATTR_CEN_CDIMM_VPD_SUPPLIER_POWER_INTERCEPT:
l_val = SUPPLIER_POWER_INTERCEPT;
Expand Down

0 comments on commit ba4fc12

Please sign in to comment.