summaryrefslogtreecommitdiffstats
path: root/src/sbefw/sbecmdmpipl.C
diff options
context:
space:
mode:
authorSantosh Puranik <santosh.puranik@in.ibm.com>2016-10-28 02:24:27 -0500
committerSachin Gupta <sgupta2m@in.ibm.com>2016-10-31 15:54:15 -0400
commitd0b82bc3bc58e6382a70e18bc14f8f7bcdf165d0 (patch)
treec739291bc1a338294235f026d1b5be8c47b544dd /src/sbefw/sbecmdmpipl.C
parent4cf3d623b7e4148df3462431cbb21bd26dc095b5 (diff)
downloadtalos-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/sbecmdmpipl.C')
-rw-r--r--src/sbefw/sbecmdmpipl.C3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sbefw/sbecmdmpipl.C b/src/sbefw/sbecmdmpipl.C
index b898852a..9e03f9b2 100644
--- a/src/sbefw/sbecmdmpipl.C
+++ b/src/sbefw/sbecmdmpipl.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"); */
@@ -195,7 +196,7 @@ uint32_t sbeStopClocks(uint8_t *i_pArg)
else // for a single Core/Cache chiplet
{
// Construct the Target
- fapi2::plat_target_handle_t l_tgtHndl = {0};
+ fapi2::plat_target_handle_t l_tgtHndl;
// No Need to check the return here, it's already validated
sbeGetFapiTargetHandle( l_reqMsg.targetType,
l_reqMsg.chipletId,
OpenPOWER on IntegriCloud