Skip to content

Commit

Permalink
Corrected data type to size for var in retrieveRepairDataMemBuf()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
wghoffa committed Jun 19, 2018
1 parent ea86539 commit b3e359b
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand All @@ -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 );

Expand Down Expand Up @@ -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 );

Expand All @@ -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",
Expand Down

0 comments on commit b3e359b

Please sign in to comment.