diff options
author | Zach Clark <zach@ibm.com> | 2019-09-10 10:23:48 -0500 |
---|---|---|
committer | Daniel M Crowell <dcrowell@us.ibm.com> | 2019-09-11 16:26:51 -0500 |
commit | af5c391af95810fc7cf9414c73652c8f643a84aa (patch) | |
tree | c2a513e1c139a55a8ddb99f1ce151768d9bac705 /src/usr/fapi2 | |
parent | 1d4530dac35a6baddf60a3bfd454aac1949f69b6 (diff) | |
download | talos-hostboot-af5c391af95810fc7cf9414c73652c8f643a84aa.tar.gz talos-hostboot-af5c391af95810fc7cf9414c73652c8f643a84aa.zip |
Fix GCOV build errors for AXONE configuration
This commit fixes two problems that were preventing GCOV
instrumentation from building:
1. There was an uninitialized variable in fapi2GetChildrenTest.H
2. The PNOR layout for AXONE had physical offsets for each partition
specified manually, which was thwarting the automatic offset
calculation required to be able to successfully adjust the partition
layout when the size of HBI exceeds its initial allotment due to
GCOV instrumentation
There is another uninitialized-variable warning in the import tree
which will be fixed by another commit.
Change-Id: Ibcd5e9d62a93589836cb10697e9a963428571131
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/83524
Reviewed-by: Nicholas E Bofferding <bofferdn@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
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>
Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/fapi2')
-rw-r--r-- | src/usr/fapi2/test/fapi2GetChildrenTest.H | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/fapi2/test/fapi2GetChildrenTest.H b/src/usr/fapi2/test/fapi2GetChildrenTest.H index 09ed9a401..5dcf02547 100644 --- a/src/usr/fapi2/test/fapi2GetChildrenTest.H +++ b/src/usr/fapi2/test/fapi2GetChildrenTest.H @@ -706,7 +706,7 @@ void test_fapi2GetChildren() TARGET_STATE_PRESENT).size(); } }, }; - pervasiveChildTestRec* ptr; + pervasiveChildTestRec* ptr = nullptr; int numPervTests = 0; TARGETING::ATTR_MODEL_type l_model = l_proc->getAttr<TARGETING::ATTR_MODEL>(); if (l_model == TARGETING::MODEL_NIMBUS) |