MsWheaPkg: Cspell: Fixing mis-spells

This change resolves all mis-spells by correcting the errors or grant
exceptions to them.
This commit is contained in:
Kun Qin 2022-06-29 21:27:35 -07:00
Родитель 5bf9c7c7f7
Коммит 4f5744382a
8 изменённых файлов: 21 добавлений и 15 удалений

Просмотреть файл

@ -334,7 +334,7 @@ ClearVariables (
Exit Boot Services Callback Handler
@param[in] Event Event that signalled the callback.
@param[in] Context Pointer to an optional event contxt.
@param[in] Context Pointer to an optional event context.
@retval None.
@ -366,7 +366,7 @@ ExitBootServicesHandlerCallback (
/**
@param[in] Event Event that signalled the callback.
@param[in] Context Pointer to an optional event contxt.
@param[in] Context Pointer to an optional event context.
@retval None.

Просмотреть файл

@ -349,7 +349,7 @@ UpdateForm (
if (EFI_ERROR (Status)) {
DEBUG ((
DEBUG_ERROR,
"%a Error in HiiUpdateform. Code=%r\n",
"%a Error in HiiUpdateForm. Code=%r\n",
__FUNCTION__,
Status
));
@ -617,7 +617,7 @@ ParseSectionData (
continue;
}
// If we've run out of writtable lines, free this one and continue
// If we've run out of writable lines, free this one and continue
// so the rest are freed as well
if ((*index) >= NUM_SEC_DATA_ROWS) {
FreePool (StringParsePtr);

Просмотреть файл

@ -24,7 +24,7 @@ typedef UINTN (*SECTIONFUNCTIONPTR)(
#pragma pack(1)
// Struct contained within the table in parserregistrylib.c
// Struct contained within the table in ParserRegistryLib.c
typedef struct SectionMapType {
EFI_GUID Guid; // Section type
SECTIONFUNCTIONPTR Parser; // Function which parses the section data

Просмотреть файл

@ -77,7 +77,13 @@
"hwhmenu",
"sectionfunctionptr",
"frontpage",
"fvdxe"
"fvdxe",
"NUMSECTIONS",
"VARSEV",
"PREVERR",
"malformatted",
"Subcomponent",
],
"AdditionalIncludePaths": [] # Additional paths to spell check relative to package root (wildcards supported)
}

Просмотреть файл

@ -78,8 +78,8 @@ typedef struct MS_WHEA_ERROR_ENTRY_MD_T_DEF {
/**
This routine accepts the Common Platform Error Record header and Section
Descriptor and correspthen store on the flash as HwErrRec awaiting to be picked up by OS
(Refer to UEFI Spec 2.7A)
Descriptor and corresponding error information, then store on the flash
as HwErrRec awaiting to be picked up by OS (Refer to UEFI Spec 2.7A)
@param[in] MsWheaEntryMD The pointer to reported MS WHEA error metadata

Просмотреть файл

@ -560,7 +560,7 @@ MsWheaReportHERAdd (
Status = WheaSetVariable (VarName, &gEfiHardwareErrorVariableGuid, Attributes, Size, Buffer);
if (EFI_ERROR (Status)) {
DEBUG ((DEBUG_ERROR, "%a: Write size of %d at index %04X errored with (%r)\n", __FUNCTION__, Size, Index, Status));
DEBUG ((DEBUG_ERROR, "%a: Write size of %d at index %04X failed with (%r)\n", __FUNCTION__, Size, Index, Status));
} else {
DEBUG ((DEBUG_INFO, "%a: Write size of %d at index %04X succeeded\n", __FUNCTION__, Size, Index));
}

Просмотреть файл

@ -407,7 +407,7 @@ MsWheaESInitTest (
// Should fail
UT_ASSERT_FALSE (MsWheaESRegionIsValid (NULL));
// Holy grail to retore everything
// Holy grail to restore everything
MsWheaESInit ();
MsWheaESReadHeader (&UnitTestHeader);

Просмотреть файл

@ -112,7 +112,7 @@ MsWheaVerifyCPERHeader (
if (CperHdr->SignatureStart != EFI_ERROR_RECORD_SIGNATURE_START) {
Status = EFI_PROTOCOL_ERROR;
UT_LOG_ERROR ("CPER Header Singnature Start mismatch: %08X.", CperHdr->SignatureStart);
UT_LOG_ERROR ("CPER Header Signature Start mismatch: %08X.", CperHdr->SignatureStart);
goto Cleanup;
}
@ -124,7 +124,7 @@ MsWheaVerifyCPERHeader (
if (CperHdr->SignatureEnd != EFI_ERROR_RECORD_SIGNATURE_END) {
Status = EFI_PROTOCOL_ERROR;
UT_LOG_ERROR ("CPER Header Singnature End mismatch: %08X.", CperHdr->SignatureEnd);
UT_LOG_ERROR ("CPER Header Signature End mismatch: %08X.", CperHdr->SignatureEnd);
goto Cleanup;
}
@ -257,7 +257,7 @@ MsWheaVerifyCPERSecDesc (
if (CperSecDecs->SectionOffset != HW_ERR_REC_HEADERS_OFFSET) {
Status = EFI_PROTOCOL_ERROR;
UT_LOG_ERROR ("CPER Section Descriptor Singnature Start mismatch: %08X.", CperSecDecs->SectionOffset);
UT_LOG_ERROR ("CPER Section Descriptor Signature Start mismatch: %08X.", CperSecDecs->SectionOffset);
goto Cleanup;
}
@ -302,7 +302,7 @@ MsWheaVerifyCPERSecDesc (
if (IsZeroBuffer (&CperSecDecs->FruId, sizeof (EFI_GUID)) == FALSE) {
Status = EFI_PROTOCOL_ERROR;
UT_LOG_ERROR (
"CPER Section Descriptor Fru ID not emptry. Has: %g.",
"CPER Section Descriptor Fru ID not empty. Has: %g.",
CperSecDecs->FruId
);
goto Cleanup;
@ -320,7 +320,7 @@ MsWheaVerifyCPERSecDesc (
if (IsZeroBuffer (&CperSecDecs->FruString, sizeof (CperSecDecs->FruString)) == FALSE) {
Status = EFI_PROTOCOL_ERROR;
UT_LOG_ERROR ("CPER Section Descriptor FruString not emptry.");
UT_LOG_ERROR ("CPER Section Descriptor FruString not empty.");
goto Cleanup;
}