| From 82374feb7e8ee67f254b7d8ec657a9239b622975 Mon Sep 17 00:00:00 2001 |
| From: Zane Shelley <zshelle@us.ibm.com> |
| Date: Thu, 23 Apr 2015 11:18:12 -0500 |
| Subject: [PATCH 1/2] PRD: getBusEndpoints() parameter issue |
| |
| Change-Id: I947eeb506337f9c2fb8f845bbe04a20fb8b62bde |
| CQ: SW304932 |
| --- |
| .../prdf/common/plat/pegasus/prdfCalloutUtil.C | 2 +- |
| .../prdf/common/plat/pegasus/prdfCalloutUtil.H | 4 ++-- |
| 2 files changed, 3 insertions(+), 3 deletions(-) |
| |
| diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.C b/src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.C |
| index f09ec6c..67941d6 100644 |
| --- a/src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.C |
| +++ b/src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.C |
| @@ -229,7 +229,7 @@ TargetHandleList getConnectedDimms( TargetHandle_t i_mba, |
| //------------------------------------------------------------------------------ |
| |
| int32_t getBusEndpoints( ExtensibleChip * i_chip, |
| - TargetHandle_t o_rxTrgt, TargetHandle_t o_txTrgt, |
| + TargetHandle_t & o_rxTrgt, TargetHandle_t & o_txTrgt, |
| TYPE i_busType, uint32_t i_busPos ) |
| { |
| #define PRDF_FUNC "[CalloutUtil::getBusEndpoints] " |
| diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.H b/src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.H |
| index fa3e843..502467b 100644 |
| --- a/src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.H |
| +++ b/src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.H |
| @@ -136,8 +136,8 @@ TARGETING::TargetHandleList getConnectedDimms( TARGETING::TargetHandle_t i_mba, |
| * |
| */ |
| int32_t getBusEndpoints( ExtensibleChip * i_chip, |
| - TARGETING::TargetHandle_t o_rxTrgt, |
| - TARGETING::TargetHandle_t o_txTrgt, |
| + TARGETING::TargetHandle_t & o_rxTrgt, |
| + TARGETING::TargetHandle_t & o_txTrgt, |
| TARGETING::TYPE i_busType = TARGETING::TYPE_NA, |
| uint32_t i_busPos = 0 ); |
| |
| -- |
| 1.7.9.5 |
| |