From bbee1cc852fa8676ed0b530b1c67c92f32f4f740 Mon Sep 17 00:00:00 2001 From: Rebecca Cran Date: Tue, 30 Jul 2024 10:02:01 -0600 Subject: [PATCH] DynamicTablesPkg: Fix some spelling mistakes found by cspell When cspell is installed (via `npm install cspell`), CI checks for spelling mistakes. There are currently a very large number of them: some are genuine mistakes while others are words or acryonyms that cspell doesn't know. Fix a few of the misspellings in DynamicTablesPkg. Signed-off-by: Rebecca Cran --- DynamicTablesPkg/Library/Common/AmlLib/Parser/AmlParser.c | 2 +- DynamicTablesPkg/Library/Common/AmlLib/Tree/AmlNode.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DynamicTablesPkg/Library/Common/AmlLib/Parser/AmlParser.c b/DynamicTablesPkg/Library/Common/AmlLib/Parser/AmlParser.c index d3a51a94c7..3762441c7a 100644 --- a/DynamicTablesPkg/Library/Common/AmlLib/Parser/AmlParser.c +++ b/DynamicTablesPkg/Library/Common/AmlLib/Parser/AmlParser.c @@ -330,7 +330,7 @@ AmlParseString ( StrSize = 0; // AML String is NULL terminated. do { - // Reading the stream moves the stream forward aswell. + // Reading the stream moves the stream forward as well. Status = AmlStreamReadByte (FStream, &Byte); if (EFI_ERROR (Status)) { ASSERT (0); diff --git a/DynamicTablesPkg/Library/Common/AmlLib/Tree/AmlNode.c b/DynamicTablesPkg/Library/Common/AmlLib/Tree/AmlNode.c index 1404a2182b..0a744f1ff3 100644 --- a/DynamicTablesPkg/Library/Common/AmlLib/Tree/AmlNode.c +++ b/DynamicTablesPkg/Library/Common/AmlLib/Tree/AmlNode.c @@ -573,7 +573,7 @@ AmlIsMethodDefinitionNode ( { AML_DATA_NODE *ObjectType; - // Node is checked to be an object node aswell. + // Node is checked to be an object node as well. if (AmlNodeCompareOpCode (Node, AML_METHOD_OP, 0)) { return TRUE; } else if (AmlNodeCompareOpCode (Node, AML_EXTERNAL_OP, 0)) {