summaryrefslogtreecommitdiffstats
path: root/src/usr/hwas
diff options
context:
space:
mode:
authorMonte Copeland <copelanm@us.ibm.com>2011-11-02 13:56:28 -0500
committerMonte K. Copeland <copelanm@us.ibm.com>2011-11-02 14:30:51 -0500
commitb7ecd3ccb7b64c8d6dec1d0d2f452f4ee5ce8828 (patch)
treedd67745a3ec47a58fadc36642aa8e21898788f0c /src/usr/hwas
parent8455f7a9f2e388c29abebc9bf18d657c11d5e27f (diff)
downloadtalos-hostboot-b7ecd3ccb7b64c8d6dec1d0d2f452f4ee5ce8828.tar.gz
talos-hostboot-b7ecd3ccb7b64c8d6dec1d0d2f452f4ee5ce8828.zip
Errl commit with component ID
Change-Id: Ic8fcd3c69330878e8e7a75ba6ba9d3c60aca6251 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/482 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
Diffstat (limited to 'src/usr/hwas')
-rw-r--r--src/usr/hwas/deconfigGard.C4
-rw-r--r--src/usr/hwas/test/hwasGardTest.H22
-rw-r--r--src/usr/hwas/testHWP.C2
3 files changed, 14 insertions, 14 deletions
diff --git a/src/usr/hwas/deconfigGard.C b/src/usr/hwas/deconfigGard.C
index e1f42c2c7..84f6fc5a2 100644
--- a/src/usr/hwas/deconfigGard.C
+++ b/src/usr/hwas/deconfigGard.C
@@ -223,7 +223,7 @@ void DeconfigGard::_deconfigureTarget(TARGETING::Target & i_target,
l_pErr = new ERRORLOG::ErrlEntry(ERRORLOG::ERRL_SEV_INFORMATIONAL,
MOD_DECONFIG_GARD,
RC_TARGET_NOT_DECONFIGURABLE);
- errlCommit(l_pErr);
+ errlCommit(l_pErr,HWAS_COMP_ID);
}
else
{
@@ -402,7 +402,7 @@ errlHndl_t DeconfigGard::_createGardRecord(const TARGETING::Target & i_target,
l_pErr = new ERRORLOG::ErrlEntry(ERRORLOG::ERRL_SEV_UNRECOVERABLE,
MOD_DECONFIG_GARD,
RC_TARGET_NOT_GARDABLE);
- errlCommit(l_pErr);
+ errlCommit(l_pErr,HWAS_COMP_ID);
}
else
{
diff --git a/src/usr/hwas/test/hwasGardTest.H b/src/usr/hwas/test/hwasGardTest.H
index dda0de693..d863072b3 100644
--- a/src/usr/hwas/test/hwasGardTest.H
+++ b/src/usr/hwas/test/hwasGardTest.H
@@ -59,7 +59,7 @@ public:
if (l_pErr)
{
- errlCommit(l_pErr);
+ errlCommit(l_pErr,HWAS_COMP_ID);
TS_FAIL("testDeconfigure1: Error from getDeconfigureRecords");
}
else
@@ -91,7 +91,7 @@ public:
if (l_pErr)
{
- errlCommit(l_pErr);
+ errlCommit(l_pErr,HWAS_COMP_ID);
TS_FAIL("testDeconfigure2: Error from getDeconfigureRecords");
}
else
@@ -226,7 +226,7 @@ public:
if (l_pErr)
{
- errlCommit(l_pErr);
+ errlCommit(l_pErr,HWAS_COMP_ID);
}
}
@@ -338,7 +338,7 @@ public:
if (l_pErr)
{
- errlCommit(l_pErr);
+ errlCommit(l_pErr,HWAS_COMP_ID);
}
}
@@ -356,7 +356,7 @@ public:
if (l_pErr)
{
- errlCommit(l_pErr);
+ errlCommit(l_pErr,HWAS_COMP_ID);
TS_FAIL("testGard1: Error from getGardRecords");
}
else
@@ -380,7 +380,7 @@ public:
if (l_pErr)
{
- errlCommit(l_pErr);
+ errlCommit(l_pErr,HWAS_COMP_ID);
TS_FAIL("testGard2: Error from getGardRecords");
}
else
@@ -419,7 +419,7 @@ public:
if (l_pErr)
{
- errlCommit(l_pErr);
+ errlCommit(l_pErr,HWAS_COMP_ID);
TS_FAIL("testGard3: Error from getGardRecords");
}
else
@@ -542,7 +542,7 @@ public:
if (l_pErr)
{
- errlCommit(l_pErr);
+ errlCommit(l_pErr,HWAS_COMP_ID);
}
}
@@ -661,7 +661,7 @@ public:
if (l_pErr)
{
- errlCommit(l_pErr);
+ errlCommit(l_pErr,HWAS_COMP_ID);
}
}
@@ -809,7 +809,7 @@ public:
if (l_pErr)
{
- errlCommit(l_pErr);
+ errlCommit(l_pErr,HWAS_COMP_ID);
}
}
@@ -912,7 +912,7 @@ public:
if (l_pErr)
{
- errlCommit(l_pErr);
+ errlCommit(l_pErr,HWAS_COMP_ID);
}
}
};
diff --git a/src/usr/hwas/testHWP.C b/src/usr/hwas/testHWP.C
index ce18e1961..6bb0f851f 100644
--- a/src/usr/hwas/testHWP.C
+++ b/src/usr/hwas/testHWP.C
@@ -85,7 +85,7 @@ void testHWP( void * io_pArgs )
if (l_err)
{
TRACFCOMP( g_trac_hwas, "testHWP failed, committing errorlog");
- errlCommit(l_err);
+ errlCommit(l_err,HWAS_COMP_ID);
}
TASKARGS_WAIT_AND_ENDTASK();
OpenPOWER on IntegriCloud