Skip to content

Commit

Permalink
PRD: Fix assert in getNumMasterRanksPerDimm
Browse files Browse the repository at this point in the history
Change-Id: I4f466c3933f17d93b790ee24aaeb4d526a4ef7a8
CQ: SW461823
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75467
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75496
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
  • Loading branch information
cnpalmer authored and zane131 committed Apr 4, 2019
1 parent 8532697 commit 69796d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usr/diag/prdf/common/plat/prdfTargetServices.C
Original file line number Diff line number Diff line change
Expand Up @@ -1696,7 +1696,7 @@ uint8_t __getNumMasterRanksPerDimm( TargetHandle_t i_trgt,
num = attr[i_pos][i_ds];
}

PRDF_ASSERT( num < MASTER_RANKS_PER_DIMM_SLCT );
PRDF_ASSERT( num <= MASTER_RANKS_PER_DIMM_SLCT );

return num;

Expand Down

0 comments on commit 69796d7

Please sign in to comment.