Skip to content

Commit

Permalink
Fixing the clang failure
Browse files Browse the repository at this point in the history
  • Loading branch information
kuqin12 committed Jun 5, 2024
1 parent 8da8aa7 commit 06798eb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ AdvLoggerOsConnectorPrmConfigLibConstructor (
__func__
));
ASSERT (FixedPcdGet32 (PcdAdvancedLoggerPages) >= sizeof (ADVANCED_LOGGER_INFO));
Status = EFI_BAD_BUFFER_SIZE;
goto Done;
}

Expand All @@ -161,6 +162,7 @@ AdvLoggerOsConnectorPrmConfigLibConstructor (
mStaticDataBuffer = AllocateRuntimeZeroPool (DataBufferLength);
if (mStaticDataBuffer == NULL) {
DEBUG ((DEBUG_ERROR, "%a Failed to allocate static buffer\n", __func__));
Status = EFI_OUT_OF_RESOURCES;
goto Done;
}

Expand Down

0 comments on commit 06798eb

Please sign in to comment.