From fb3dfe1aa65ba35c121ac68151f2aca77e711a61 Mon Sep 17 00:00:00 2001 From: Chris Cain Date: Thu, 22 Jun 2017 11:40:08 -0500 Subject: 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 Reviewed-by: Martha Broyles Tested-by: Jenkins OP Build CI Reviewed-by: Andres A. Lugo-Reyes Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell --- src/usr/htmgt/occError.C | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.1