Skip to content

Commit

Permalink
Fix invalid access of NULL error log
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
dcrowell77 committed Jan 25, 2017
1 parent 2ed8b10 commit 4329e9b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/usr/isteps/istep16/call_host_activate_slave_cores.C
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2015,2016 */
/* Contributors Listed Below - COPYRIGHT 2015,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
Expand Down Expand Up @@ -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
Expand All @@ -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
{
Expand Down

0 comments on commit 4329e9b

Please sign in to comment.