summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2017-01-24 09:36:40 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-01-25 11:54:43 -0500
commit4329e9b7fe0dac2acc40457d0194f1fdd145d9f1 (patch)
tree82525d61f78883cba130fde02bb72a2fb9161e38 /src
parent2ed8b10f53407e38fdbeff8f839f474437ef06bf (diff)
downloadtalos-hostboot-4329e9b7fe0dac2acc40457d0194f1fdd145d9f1.tar.gz
talos-hostboot-4329e9b7fe0dac2acc40457d0194f1fdd145d9f1.zip
Fix invalid access of NULL error log
Change-Id: I9a9b39ca6756823205538a4584dc4e05f09328d9 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35326 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/usr/isteps/istep16/call_host_activate_slave_cores.C10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/usr/isteps/istep16/call_host_activate_slave_cores.C b/src/usr/isteps/istep16/call_host_activate_slave_cores.C
index 17d91360f..7cb56d536 100644
--- a/src/usr/isteps/istep16/call_host_activate_slave_cores.C
+++ b/src/usr/isteps/istep16/call_host_activate_slave_cores.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2015,2016 */
+/* Contributors Listed Below - COPYRIGHT 2015,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -207,6 +207,10 @@ void* call_host_activate_slave_cores (void *io_pArgs)
if( l_errl )
{
+ TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace,
+ "ERROR : enable p9_cpu_special_wakeup_core, "
+ "PLID=0x%x", l_errl->plid() );
+
ErrlUserDetailsTarget(*l_core).addToLog( l_errl );
// Create IStep error log and cross ref error that
@@ -215,10 +219,6 @@ void* call_host_activate_slave_cores (void *io_pArgs)
// Commit Error
errlCommit( l_errl, HWPF_COMP_ID );
-
- TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace,
- "ERROR : enable p9_cpu_special_wakeup_core, "
- "PLID=0x%x", l_errl->plid() );
}
else
{
OpenPOWER on IntegriCloud