summaryrefslogtreecommitdiffstats
path: root/import/hwpf
diff options
context:
space:
mode:
authorRichard J. Knight <rjknight@us.ibm.com>2016-02-23 12:40:53 -0600
committerSantosh S. Puranik <santosh.puranik@in.ibm.com>2016-03-04 07:21:07 -0500
commitdf4dfe25a37a44f2192614db236905f94842cb59 (patch)
tree97afabd39d11a65eb899c88131d8046d8ef1afe9 /import/hwpf
parentd7ca621303be31b410f245d0beeabff1268d2680 (diff)
downloadtalos-sbe-df4dfe25a37a44f2192614db236905f94842cb59.tar.gz
talos-sbe-df4dfe25a37a44f2192614db236905f94842cb59.zip
Return code not correct value when setting platform data
-Fixed setPlatformDataPtr() to set the value of the return code to indicate platform data is present. Change-Id: I419fb45a6bf4d22c41867730b9c4b81e7576de40 RTC:147545 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/24652 Tested-by: Jenkins Server Tested-by: Auto Mirror Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21052 Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
Diffstat (limited to 'import/hwpf')
-rw-r--r--import/hwpf/fapi2/include/ffdc.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/import/hwpf/fapi2/include/ffdc.H b/import/hwpf/fapi2/include/ffdc.H
index 167e6f87..684fb661 100644
--- a/import/hwpf/fapi2/include/ffdc.H
+++ b/import/hwpf/fapi2/include/ffdc.H
@@ -26,6 +26,7 @@
#include <memory>
#include <hwp_return_codes.H>
+#include <return_code_defs.H>
#include <plat_trace.H>
#include <error_info.H>
#include <target.H>
@@ -192,6 +193,7 @@ class FirstFailureData
///
inline void setPlatDataPtr( void* i_ptr )
{
+ static_cast<R*>(this)->operator=(FAPI2_RC_PLAT_ERR_SEE_DATA);
iv_platDataPtr = i_ptr;
};
OpenPOWER on IntegriCloud