summaryrefslogtreecommitdiffstats
path: root/src/import/hwpf/fapi2
diff options
context:
space:
mode:
authorRichard J. Knight <rjknight@us.ibm.com>2016-02-23 12:40:53 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-02-26 13:21:59 -0600
commitfceb21505d7bc367430729119f65bddf93ec9c2f (patch)
tree57296868c335faab6cddf4c838be0a2918bf70ad /src/import/hwpf/fapi2
parentbeb9c5104c5b7303abb0e3aea3a5789eaee774e8 (diff)
downloadblackbird-hostboot-fceb21505d7bc367430729119f65bddf93ec9c2f.tar.gz
blackbird-hostboot-fceb21505d7bc367430729119f65bddf93ec9c2f.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/24654 Tested-by: Jenkins Server Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/hwpf/fapi2')
-rw-r--r--src/import/hwpf/fapi2/include/ffdc.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/import/hwpf/fapi2/include/ffdc.H b/src/import/hwpf/fapi2/include/ffdc.H
index 167e6f876..684fb6617 100644
--- a/src/import/hwpf/fapi2/include/ffdc.H
+++ b/src/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