[edk2-devel] [PATCH v3 05/14] FatPkg: Fix new typos reported

Michael Kubacki mikuback at linux.microsoft.com
Wed Dec 14 22:52:43 UTC 2022


From: Michael Kubacki <michael.kubacki at microsoft.com>

The SpellCheck plugin began reporting new typos that were previously
missed. This change fixes those typos.

Cc: Ray Ni <ray.ni at intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki at microsoft.com>
---
 FatPkg/EnhancedFatDxe/FileSpace.c |  2 +-
 FatPkg/EnhancedFatDxe/ReadWrite.c |  2 +-
 FatPkg/EnhancedFatDxe/Fat.h       |  2 +-
 FatPkg/FatPkg.ci.yaml             | 22 +++++++++++++++-----
 4 files changed, 20 insertions(+), 8 deletions(-)

diff --git a/FatPkg/EnhancedFatDxe/FileSpace.c b/FatPkg/EnhancedFatDxe/FileSpace.c
index 909d4980d21a..1220e66598ea 100644
--- a/FatPkg/EnhancedFatDxe/FileSpace.c
+++ b/FatPkg/EnhancedFatDxe/FileSpace.c
@@ -347,7 +347,7 @@ FatSizeToClusters (
 
   @param  OFile                 - The open file.
 
-  @retval EFI_SUCCESS           - Shrinked successfully.
+  @retval EFI_SUCCESS           - Shrunk successfully.
   @retval EFI_VOLUME_CORRUPTED  - There are errors in the file's clusters.
 
 **/
diff --git a/FatPkg/EnhancedFatDxe/ReadWrite.c b/FatPkg/EnhancedFatDxe/ReadWrite.c
index 8f525044d1f1..6593e3aff79c 100644
--- a/FatPkg/EnhancedFatDxe/ReadWrite.c
+++ b/FatPkg/EnhancedFatDxe/ReadWrite.c
@@ -580,7 +580,7 @@ FatWriteZeroPool (
   if (AppendedSize > FAT_MAX_ALLOCATE_SIZE) {
     //
     // If the appended size is larger, maybe we can not allocate the whole
-    // memory once. So if the growed size is larger than 10M, we just
+    // memory once. So if the grown size is larger than 10M, we just
     // allocate 10M memory (one healthy system should have 10M available
     // memory), and then write the zerobuffer to the file several times.
     //
diff --git a/FatPkg/EnhancedFatDxe/Fat.h b/FatPkg/EnhancedFatDxe/Fat.h
index 356cdbdb51af..e4aa8eac62c4 100644
--- a/FatPkg/EnhancedFatDxe/Fat.h
+++ b/FatPkg/EnhancedFatDxe/Fat.h
@@ -867,7 +867,7 @@ FatCleanupVolume (
 
   @param  OFile                 - The open file.
 
-  @retval EFI_SUCCESS           - Shrinked successfully.
+  @retval EFI_SUCCESS           - Shrunk successfully.
   @retval EFI_VOLUME_CORRUPTED  - There are errors in the file's clusters.
 
 **/
diff --git a/FatPkg/FatPkg.ci.yaml b/FatPkg/FatPkg.ci.yaml
index fe95f481b50c..247028c22921 100644
--- a/FatPkg/FatPkg.ci.yaml
+++ b/FatPkg/FatPkg.ci.yaml
@@ -51,15 +51,27 @@
     },
     "SpellCheck": {
         "ExtendWords": [
+            "bootable",
+            "caseflag",
+            "CDVOL",
+            "checklink",
+            "childlink",
+            "clustersize",
+            "controll",
+            "datacache",
+            "dircachelink",
+            "DMDEPKG",
             "ELTORITO",
+            "fatcache",
+            "fatfilesystem",
+            "fatname",
+            "FDISKed",
+            "FFFFFFFFL",
             "FHAND",
             "IFILE",
-            "OFILE",
-            "FDISKed",
             "Lfnbuffer",
-            "FFFFFFFFL",
-            "CDVOL",
-            "DMDEPKG"
+            "OFILE",
+            "zerobuffer"
         ]
     }
 }
-- 
2.28.0.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#97386): https://edk2.groups.io/g/devel/message/97386
Mute This Topic: https://groups.io/mt/95678206/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list