From af5c391af95810fc7cf9414c73652c8f643a84aa Mon Sep 17 00:00:00 2001 From: Zach Clark Date: Tue, 10 Sep 2019 10:23:48 -0500 Subject: 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 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Daniel M Crowell --- src/usr/fapi2/test/fapi2GetChildrenTest.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/usr/fapi2/test') 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(); if (l_model == TARGETING::MODEL_NIMBUS) -- cgit v1.2.3