summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2013-05-23 19:36:35 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-07-12 09:48:43 -0500
commitb9c5a79eb89e837981f7743569b715923d8b4c75 (patch)
treeec7df5130219d926eb3d00ff5de453696a726ba4 /src/usr/diag/prdf
parent1a0daf283888feaf77a2d7152b851498385b4491 (diff)
downloadtalos-hostboot-b9c5a79eb89e837981f7743569b715923d8b4c75.tar.gz
talos-hostboot-b9c5a79eb89e837981f7743569b715923d8b4c75.zip
Eliminate tracepp!
Change-Id: I67a7d626c81b0b90e25057c486d490e6e2b5aede Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5132 Tested-by: Jenkins Server Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf')
-rwxr-xr-xsrc/usr/diag/prdf/common/framework/service/prdfTargetServices.C4
-rw-r--r--src/usr/diag/prdf/plat/pegasus/prdfPlatCenMembuf.C2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/usr/diag/prdf/common/framework/service/prdfTargetServices.C b/src/usr/diag/prdf/common/framework/service/prdfTargetServices.C
index 0365d8807..f0341d830 100755
--- a/src/usr/diag/prdf/common/framework/service/prdfTargetServices.C
+++ b/src/usr/diag/prdf/common/framework/service/prdfTargetServices.C
@@ -832,7 +832,9 @@ uint32_t getTargetPosition( TARGETING::TargetHandle_t i_target )
{
uint16_t tmpPos = 0;
if ( !i_target->tryGetAttr<ATTR_POSITION>(tmpPos) )
+ {
PRDF_ERR( PRDF_FUNC"Failed to get ATTR_POSITION" );
+ }
else
o_pos = (uint32_t)tmpPos;
break;
@@ -852,7 +854,9 @@ uint32_t getTargetPosition( TARGETING::TargetHandle_t i_target )
{
uint8_t tmpPos = 0;
if ( !i_target->tryGetAttr<ATTR_CHIP_UNIT>(tmpPos) )
+ {
PRDF_ERR( PRDF_FUNC"Failed to get ATTR_CHIP_UNIT" );
+ }
else
o_pos = (uint32_t)tmpPos;
break;
diff --git a/src/usr/diag/prdf/plat/pegasus/prdfPlatCenMembuf.C b/src/usr/diag/prdf/plat/pegasus/prdfPlatCenMembuf.C
index 108c7f28d..3109c3f10 100644
--- a/src/usr/diag/prdf/plat/pegasus/prdfPlatCenMembuf.C
+++ b/src/usr/diag/prdf/plat/pegasus/prdfPlatCenMembuf.C
@@ -49,7 +49,7 @@ namespace Membuf
#define PLUGIN_UNEXPECTED_ATTN( FUNC ) \
int32_t FUNC( ExtensibleChip * i_membChip, STEP_CODE_DATA_STRUCT & i_sc ) \
{ \
- PRDF_ERR( "["FUNC"] Unexpected attention in Hostboot: HUID=0x%08x", \
+ PRDF_ERR( "["#FUNC"] Unexpected attention in Hostboot: HUID=0x%08x", \
i_membChip->GetId() ); \
CalloutUtil::defaultError( i_sc ); \
return SUCCESS; \
OpenPOWER on IntegriCloud