summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/utils/p9_putRingUtils.C
diff options
context:
space:
mode:
authorPrasad Bg Ranganath <prasadbgr@in.ibm.com>2017-05-18 00:19:49 -0500
committerSachin Gupta <sgupta2m@in.ibm.com>2017-05-26 05:49:22 -0400
commit27e8c90c96716efef2466d365a9c69a0cf0f79a6 (patch)
treedf81d32b39ca6fa540dbef09559bbee2f3039b7b /src/import/chips/p9/utils/p9_putRingUtils.C
parent4e43ed941391a4fbb9ba391807511ec432cd5c10 (diff)
downloadtalos-sbe-27e8c90c96716efef2466d365a9c69a0cf0f79a6.tar.gz
talos-sbe-27e8c90c96716efef2466d365a9c69a0cf0f79a6.zip
PUTRING: Bug fix for termination handling in override path
Change-Id: Ice8dbb4bad109f3fb99cda98024264176d455cf8 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40682 Reviewed-by: Kahn C. Evans <kahnevan@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40683 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/import/chips/p9/utils/p9_putRingUtils.C')
-rw-r--r--src/import/chips/p9/utils/p9_putRingUtils.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/import/chips/p9/utils/p9_putRingUtils.C b/src/import/chips/p9/utils/p9_putRingUtils.C
index e27b5c1f..8c82e7e1 100644
--- a/src/import/chips/p9/utils/p9_putRingUtils.C
+++ b/src/import/chips/p9/utils/p9_putRingUtils.C
@@ -1375,7 +1375,7 @@ fapi2::ReturnCode rs4DecompressionSvc(
uint8_t l_spyData = rs4_get_nibble(l_rs4Str, l_nibbleIndx);
l_nibbleIndx++;
- for(uint8_t i = 0; i < 4; i++)
+ for(uint8_t i = 0; i < (l_nibble & 0x3); i++)
{
l_bitsDecoded += 1;
l_scomData = 0x0;
OpenPOWER on IntegriCloud