diff options
author | Santosh Puranik <santosh.puranik@in.ibm.com> | 2016-10-28 02:24:27 -0500 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2016-10-31 15:54:15 -0400 |
commit | d0b82bc3bc58e6382a70e18bc14f8f7bcdf165d0 (patch) | |
tree | c739291bc1a338294235f026d1b5be8c47b544dd /src/sbefw/sbefapiutil.C | |
parent | 4cf3d623b7e4148df3462431cbb21bd26dc095b5 (diff) | |
download | talos-sbe-d0b82bc3bc58e6382a70e18bc14f8f7bcdf165d0.tar.gz talos-sbe-d0b82bc3bc58e6382a70e18bc14f8f7bcdf165d0.zip |
Fix fapi2::Target creation on the SBE
-- Made plat target c'tor explicit so that fapi2::Target
can't be constructed with a uint32_t
Change-Id: Ibcfa3bffe41afdcef7256c3a65ffee5ef23fc76b
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31943
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/sbefw/sbefapiutil.C')
-rw-r--r-- | src/sbefw/sbefapiutil.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sbefw/sbefapiutil.C b/src/sbefw/sbefapiutil.C index 79fb46bb..3d156a17 100644 --- a/src/sbefw/sbefapiutil.C +++ b/src/sbefw/sbefapiutil.C @@ -6,6 +6,7 @@ /* OpenPOWER sbe Project */ /* */ /* Contributors Listed Below - COPYRIGHT 2016 */ +/* [+] International Business Machines Corp. */ /* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ @@ -37,7 +38,6 @@ bool sbeGetFapiTargetHandle(uint16_t i_targetType, fapi2::plat_target_handle_t &o_tgtHndl) { bool l_rc = true; - o_tgtHndl = NULL; switch(i_targetType) { case TARGET_EX: |