blob: 07a64bb5df5573ce91444a23fdea8ebf2cb6bc67 [file] [log] [blame]
Mike Baiocchi6adfe3c2015-04-23 17:25:14 -05001From 82374feb7e8ee67f254b7d8ec657a9239b622975 Mon Sep 17 00:00:00 2001
2From: Zane Shelley <zshelle@us.ibm.com>
3Date: Thu, 23 Apr 2015 11:18:12 -0500
4Subject: [PATCH 1/2] PRD: getBusEndpoints() parameter issue
5
6Change-Id: I947eeb506337f9c2fb8f845bbe04a20fb8b62bde
7CQ: SW304932
8---
9 .../prdf/common/plat/pegasus/prdfCalloutUtil.C | 2 +-
10 .../prdf/common/plat/pegasus/prdfCalloutUtil.H | 4 ++--
11 2 files changed, 3 insertions(+), 3 deletions(-)
12
13diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.C b/src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.C
14index f09ec6c..67941d6 100644
15--- a/src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.C
16+++ b/src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.C
17@@ -229,7 +229,7 @@ TargetHandleList getConnectedDimms( TargetHandle_t i_mba,
18 //------------------------------------------------------------------------------
19
20 int32_t getBusEndpoints( ExtensibleChip * i_chip,
21- TargetHandle_t o_rxTrgt, TargetHandle_t o_txTrgt,
22+ TargetHandle_t & o_rxTrgt, TargetHandle_t & o_txTrgt,
23 TYPE i_busType, uint32_t i_busPos )
24 {
25 #define PRDF_FUNC "[CalloutUtil::getBusEndpoints] "
26diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.H b/src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.H
27index fa3e843..502467b 100644
28--- a/src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.H
29+++ b/src/usr/diag/prdf/common/plat/pegasus/prdfCalloutUtil.H
30@@ -136,8 +136,8 @@ TARGETING::TargetHandleList getConnectedDimms( TARGETING::TargetHandle_t i_mba,
31 *
32 */
33 int32_t getBusEndpoints( ExtensibleChip * i_chip,
34- TARGETING::TargetHandle_t o_rxTrgt,
35- TARGETING::TargetHandle_t o_txTrgt,
36+ TARGETING::TargetHandle_t & o_rxTrgt,
37+ TARGETING::TargetHandle_t & o_txTrgt,
38 TARGETING::TYPE i_busType = TARGETING::TYPE_NA,
39 uint32_t i_busPos = 0 );
40
41--
421.7.9.5
43