Skip to content

Commit

Permalink
Change event 907 (time_diff) from Warning to Info
Browse files Browse the repository at this point in the history
Signed-off-by: Kelly J Couch <[email protected]>
  • Loading branch information
kellycouch authored and gldiviney committed Jan 17, 2019
1 parent ae96cdc commit 034c24e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DcpmPkg/driver/Core/Diagnostics/FwDiagnostic.c
Original file line number Diff line number Diff line change
Expand Up @@ -687,13 +687,13 @@ SystemTimeCheck(
// Validate resulats
if ((time_t) SystemTimePayload.UnixTime < raw_start_time) {
CHAR16 *pTmpStr = HiiGetString(gNvmDimmData->HiiHandle, STR_DIAGNOSTIC_LOWER, NULL);
APPEND_RESULT_TO_THE_LOG(pDimm, STRING_TOKEN(STR_FW_SYSTEM_TIME_ERROR), EVENT_CODE_907, DIAG_STATE_MASK_WARNING, ppResultStr, pDiagState,
APPEND_RESULT_TO_THE_LOG(pDimm, STRING_TOKEN(STR_FW_SYSTEM_TIME_ERROR), EVENT_CODE_907, DIAG_STATE_MASK_OK, ppResultStr, pDiagState,
pDimm->DeviceHandle.AsUint32, pTmpStr, (raw_start_time - SystemTimePayload.UnixTime));
FREE_POOL_SAFE(pTmpStr)
}
else if ((time_t) SystemTimePayload.UnixTime > raw_end_time) {
CHAR16 *pTmpStr = HiiGetString(gNvmDimmData->HiiHandle, STR_DIAGNOSTIC_GREATER, NULL);
APPEND_RESULT_TO_THE_LOG(pDimm, STRING_TOKEN(STR_FW_SYSTEM_TIME_ERROR), EVENT_CODE_907, DIAG_STATE_MASK_WARNING, ppResultStr, pDiagState,
APPEND_RESULT_TO_THE_LOG(pDimm, STRING_TOKEN(STR_FW_SYSTEM_TIME_ERROR), EVENT_CODE_907, DIAG_STATE_MASK_OK, ppResultStr, pDiagState,
pDimm->DeviceHandle.AsUint32, pTmpStr, (SystemTimePayload.UnixTime - raw_end_time));
FREE_POOL_SAFE(pTmpStr);
}
Expand Down

0 comments on commit 034c24e

Please sign in to comment.