summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/pm/p9_pm_pfet_control.C
diff options
context:
space:
mode:
authorspashabk-in <shakeebbk@in.ibm.com>2016-11-21 05:24:49 -0600
committerSachin Gupta <sgupta2m@in.ibm.com>2016-11-22 01:34:46 -0500
commite748d4217fe114334533945a3a1f09e2b178d253 (patch)
tree9613a490d97e67a05b9c980f736862b9549fb5e8 /src/import/chips/p9/procedures/hwp/pm/p9_pm_pfet_control.C
parent1f5d8da1131120bad452841435612c19afe4dae0 (diff)
downloadtalos-sbe-e748d4217fe114334533945a3a1f09e2b178d253.tar.gz
talos-sbe-e748d4217fe114334533945a3a1f09e2b178d253.zip
Change auto variables to references
Change-Id: I2b9c38757f89d23c627e4a8f2cb3b072bd3bc984 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32867 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com> Reviewed-by: PARVATHI RACHAKONDA <prachako@in.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32870 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/pm/p9_pm_pfet_control.C')
-rwxr-xr-xsrc/import/chips/p9/procedures/hwp/pm/p9_pm_pfet_control.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import/chips/p9/procedures/hwp/pm/p9_pm_pfet_control.C b/src/import/chips/p9/procedures/hwp/pm/p9_pm_pfet_control.C
index ce0cecb5..bccad9ff 100755
--- a/src/import/chips/p9/procedures/hwp/pm/p9_pm_pfet_control.C
+++ b/src/import/chips/p9/procedures/hwp/pm/p9_pm_pfet_control.C
@@ -157,7 +157,7 @@ fapi2::ReturnCode p9_pm_pfet_control_eq(
}
// Check for all core chiplets in EQ and power on/off targets accordingly
- for (auto l_core_target : i_target.getChildren<fapi2::TARGET_TYPE_CORE>
+ for (auto& l_core_target : i_target.getChildren<fapi2::TARGET_TYPE_CORE>
(fapi2::TARGET_STATE_FUNCTIONAL))
{
l_unit_pos = l_core_target.getChipletNumber();
@@ -203,7 +203,7 @@ fapi2::ReturnCode p9_pm_pfet_control_ex(
FAPI_INF("pfet control for EX chiplet %d", l_unit_pos);
// Check for all core chiplets in EX and power on/off targets accordingly
- for (auto l_core_target : i_target.getChildren<fapi2::TARGET_TYPE_CORE>
+ for (auto& l_core_target : i_target.getChildren<fapi2::TARGET_TYPE_CORE>
(fapi2::TARGET_STATE_FUNCTIONAL))
{
l_unit_pos = l_core_target.getChipletNumber();
OpenPOWER on IntegriCloud