Skip to content

Commit

Permalink
Trace cleanup: do not look for parent chip on non-parent chip targets
Browse files Browse the repository at this point in the history
Cleanup this type of bad errl traces
E> Failed to find a parent chip target for huid=00050000

Change-Id: I46713f185fbb4dd22739ad5b4f36f740bcccbc41
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54709
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Brian E. Bakke <bbakke@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
mderkse1 authored and dcrowell77 committed Mar 4, 2018
1 parent a2dc895 commit b31ac24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/usr/errl/errlentry.C
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2011,2017 */
/* Contributors Listed Below - COPYRIGHT 2011,2018 */
/* [+] Google Inc. */
/* [+] International Business Machines Corp. */
/* */
Expand Down Expand Up @@ -485,8 +485,8 @@ void ErrlEntry::addHwCallout(const TARGETING::Target *i_target,

TARGETING::TYPE l_type_ecid = l_type;
const TARGETING::Target* l_parentTarget = i_target;
if((l_type_ecid != TARGETING::TYPE_MEMBUF) ||
(l_type_ecid != TARGETING::TYPE_PROC) ||
if((l_type_ecid != TARGETING::TYPE_MEMBUF) &&
(l_type_ecid != TARGETING::TYPE_PROC) &&
(l_type_ecid != TARGETING::TYPE_NODE)
)
{
Expand Down

0 comments on commit b31ac24

Please sign in to comment.