diff options
author | Chris Cain <cjcain@us.ibm.com> | 2017-06-22 11:40:08 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-06-25 18:28:24 -0400 |
commit | fb3dfe1aa65ba35c121ac68151f2aca77e711a61 (patch) | |
tree | 18ac017258847675e53079ea0eabe065e9d70e1a /src/usr/htmgt | |
parent | e9b360ce7a5ff665c7b95b11ca0f68a5a9fdc34e (diff) | |
download | talos-hostboot-fb3dfe1aa65ba35c121ac68151f2aca77e711a61.tar.gz talos-hostboot-fb3dfe1aa65ba35c121ac68151f2aca77e711a61.zip |
HTMGT: Fix offset of userdata in OCC elogs
Change-Id: I4ce254519eab186cdd914d293bf958acb91c037f
RTC: 176191
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42299
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Andres A. Lugo-Reyes <aalugore@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/usr/htmgt')
-rw-r--r-- | src/usr/htmgt/occError.C | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr/htmgt/occError.C b/src/usr/htmgt/occError.C index 7bd4eab75..87243996f 100644 --- a/src/usr/htmgt/occError.C +++ b/src/usr/htmgt/occError.C @@ -142,8 +142,7 @@ namespace HTMGT // NOTE: SRC tags are NOT required here as these logs will get // parsed with the OCC src tags const occErrlUsrDtls_t *l_usrDtls_ptr = (occErrlUsrDtls_t *) - ((uint8_t*)l_occElog+sizeof(occErrlEntry_t)+ - (l_occElog->maxCallouts * sizeof(occErrlCallout_t)) ); + ((uint8_t*)l_occElog + sizeof(occErrlEntry_t)); bldErrLog(l_errlHndl, (htmgtModuleId)(l_usrDtls_ptr->modId & 0x00FF), (htmgtReasonCode)l_occSrc, // occ reason code |