Reviewed-by: Ray Ni <ray...@intel.com>

> -----Original Message-----
> From: mikub...@linux.microsoft.com <mikub...@linux.microsoft.com>
> Sent: Wednesday, May 18, 2022 12:01 AM
> To: devel@edk2.groups.io
> Cc: Ni, Ray <ray...@intel.com>
> Subject: [PATCH v1 5/8] FatPkg: Fix new typos reported
> 
> From: Michael Kubacki <michael.kuba...@microsoft.com>
> 
> The SpellCheck plugin began reporting new typos that were previously
> missed. This change fixes those typos.
> 
> Cc: Ray Ni <ray...@intel.com>
> Signed-off-by: Michael Kubacki <michael.kuba...@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 (#89868): https://edk2.groups.io/g/devel/message/89868
Mute This Topic: https://groups.io/mt/91166957/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to