summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9
diff options
context:
space:
mode:
authorBill Hoffa <wghoffa@us.ibm.com>2018-06-14 09:12:46 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2018-06-19 14:16:45 -0400
commitb3e359badd405671f75aad9e22589ac36d882fa5 (patch)
tree351fb52e3174a692f82ecf91e7827e3ee17dccfb /src/import/chips/p9
parentea86539a69de1f7415cf697fba5c35b8970a7db4 (diff)
downloadtalos-hostboot-b3e359badd405671f75aad9e22589ac36d882fa5.tar.gz
talos-hostboot-b3e359badd405671f75aad9e22589ac36d882fa5.zip
Corrected data type to size for var in retrieveRepairDataMemBuf()
Change-Id: Iba978aa986adad33b1b2ab64ade7da1ef99135a5 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60554 Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Sumit Kumar <sumit_kumar@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60582 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>
Diffstat (limited to 'src/import/chips/p9')
-rwxr-xr-xsrc/import/chips/p9/procedures/hwp/io/p9_io_erepairGetFailedLanesHwp.H9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/import/chips/p9/procedures/hwp/io/p9_io_erepairGetFailedLanesHwp.H b/src/import/chips/p9/procedures/hwp/io/p9_io_erepairGetFailedLanesHwp.H
index 0a545fb7f..1e58f9a0e 100755
--- a/src/import/chips/p9/procedures/hwp/io/p9_io_erepairGetFailedLanesHwp.H
+++ b/src/import/chips/p9/procedures/hwp/io/p9_io_erepairGetFailedLanesHwp.H
@@ -723,8 +723,7 @@ fapi2::ReturnCode retrieveRepairDataMemBuf(
fapi2::ReturnCode l_rc = fapi2::FAPI2_RC_SUCCESS;
fapi2::current_err = fapi2::FAPI2_RC_SUCCESS;
uint8_t* l_retBuf = NULL;
- uint32_t l_bufSize = 0;
- size_t l_mBufSize = 0;
+ size_t l_bufSize = 0;
uint8_t l_customDimm;
FAPI_DBG(">> retrieveRepairDataMemBuf");
@@ -743,7 +742,7 @@ fapi2::ReturnCode retrieveRepairDataMemBuf(
fapi2::MBVPD_KEYWORD_PDI,
i_target,
NULL,
- l_mBufSize),
+ l_bufSize),
"VPD size read failed w/rc=0x%x",
(uint64_t)fapi2::current_err );
@@ -784,7 +783,7 @@ fapi2::ReturnCode retrieveRepairDataMemBuf(
fapi2::MBVPD_KEYWORD_PDI,
i_target,
l_retBuf,
- l_mBufSize),
+ l_bufSize),
"VPD read failed w/rc=0x%x",
(uint64_t)fapi2::current_err );
@@ -793,7 +792,7 @@ fapi2::ReturnCode retrieveRepairDataMemBuf(
FAPI_TRY( determineRepairLanesMemBuf(
i_target,
l_retBuf,
- l_mBufSize,
+ l_bufSize,
o_txFailLanes,
o_rxFailLanes),
"Call to determineRepairLanes failed w/rc=0x%x",
OpenPOWER on IntegriCloud