summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatt Derksen <mderkse1@us.ibm.com>2018-02-26 09:41:50 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-03-04 14:08:23 -0500
commitb31ac249651c3c778b96606cb22f4bd903230ffa (patch)
treef59f2e1cec8e507f87e678f14d2e7502d3692ead /src
parenta2dc8952afa9a8313d0590e1bd1d0900dbb9a449 (diff)
downloadtalos-hostboot-b31ac249651c3c778b96606cb22f4bd903230ffa.tar.gz
talos-hostboot-b31ac249651c3c778b96606cb22f4bd903230ffa.zip
Trace cleanup: do not look for parent chip on non-parent chip targets
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>
Diffstat (limited to 'src')
-rw-r--r--src/usr/errl/errlentry.C6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/errl/errlentry.C b/src/usr/errl/errlentry.C
index e613ffb56..2605509ae 100644
--- a/src/usr/errl/errlentry.C
+++ b/src/usr/errl/errlentry.C
@@ -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. */
/* */
@@ -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)
)
{
OpenPOWER on IntegriCloud