Skip to content

Commit

Permalink
HTMGT: Fix offset of userdata in OCC elogs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
cjcain authored and dcrowell77 committed Jun 25, 2017
1 parent e9b360c commit fb3dfe1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/usr/htmgt/occError.C
Expand Up @@ -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
Expand Down

0 comments on commit fb3dfe1

Please sign in to comment.