]> git.proxmox.com Git - mirror_edk2.git/commitdiff
FatPkg: Fix spelling errors
authorSean Brogan <sean.brogan@microsoft.com>
Wed, 9 Oct 2019 05:38:15 +0000 (22:38 -0700)
committerMichael D Kinney <michael.d.kinney@intel.com>
Wed, 23 Oct 2019 00:24:34 +0000 (17:24 -0700)
https://bugzilla.tianocore.org/show_bug.cgi?id=2264

Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
13 files changed:
FatPkg/EnhancedFatDxe/DirectoryManage.c
FatPkg/EnhancedFatDxe/DiskCache.c
FatPkg/EnhancedFatDxe/Fat.h
FatPkg/EnhancedFatDxe/FileName.c
FatPkg/EnhancedFatDxe/FileSpace.c
FatPkg/EnhancedFatDxe/Info.c
FatPkg/EnhancedFatDxe/Init.c
FatPkg/EnhancedFatDxe/Misc.c
FatPkg/EnhancedFatDxe/Open.c
FatPkg/FatPei/FatLiteApi.c
FatPkg/FatPei/FatLitePeim.h
FatPkg/FatPei/Gpt.c
FatPkg/FatPei/Mbr.c

index 21656883bd36c4cee171438289297c1e09b030e5..93772dba09c25c8b8860d7a95f843c774ba24740 100644 (file)
@@ -17,7 +17,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
   @param  EntryPos              - The position of the directory entry to be accessed.\r
   @param  Entry                 - The directory entry read or written.\r
 \r
-  @retval EFI_SUCCESS           - Access the directory entry sucessfully.\r
+  @retval EFI_SUCCESS           - Access the directory entry successfully.\r
   @return other                 - An error occurred when reading the directory entry.\r
 \r
 **/\r
@@ -896,7 +896,7 @@ FatNewEntryPos (
   @param  Volume                - FAT file system volume.\r
   @param  Name                  - The file name of the volume.\r
 \r
-  @retval EFI_SUCCESS           - Update the volume with the directory entry sucessfully.\r
+  @retval EFI_SUCCESS           - Update the volume with the directory entry successfully.\r
   @return others                - An error occurred when getting volume label.\r
 \r
 **/\r
@@ -927,7 +927,7 @@ FatGetVolumeEntry (
   @param  Volume              - FAT file system volume.\r
   @param  Name                - The new file name of the volume.\r
 \r
-  @retval EFI_SUCCESS         - Update the Volume sucessfully.\r
+  @retval EFI_SUCCESS         - Update the Volume successfully.\r
   @retval EFI_UNSUPPORTED     - The input label is not a valid volume label.\r
   @return other               - An error occurred when setting volume label.\r
 \r
@@ -1246,7 +1246,7 @@ FatCloseDirEnt (
                           not be created either).\r
   @retval EFI_INVALID_PARAMETER - The parameter is not valid.\r
   @retval EFI_SUCCESS           - Open the file successfully.\r
-  @return other                 - An error occured when locating the OFile.\r
+  @return other                 - An error occurred when locating the OFile.\r
 \r
 **/\r
 EFI_STATUS\r
index 2df0aa09f17c76928d3569447a3abf3e2a9f825d..df587810fbb1deb5bb06e800259d5bdc05372a43 100644 (file)
@@ -16,7 +16,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
   are older than the contents in disk, so they are invalid; just mark them invalid.\r
 \r
   When this function is called by read command, if any entry in this range\r
-  is dirty, it means that the relative info directly readed from media is older than\r
+  is dirty, it means that the relative info directly read from media is older than\r
   than the info in the cache; So need to update the relative info in the Buffer.\r
 \r
   @param  Volume                - FAT file system volume.\r
index 98ead5a0fbaa6d5233b58a7b651332843b544f60..46c185c3a9e9d8eaefb835cb7c8352e2bc46d835 100644 (file)
@@ -865,7 +865,7 @@ FatCleanupVolume (
 \r
   @param  OFile                 - The open file.\r
 \r
-  @retval EFI_SUCCESS           - Shrinked sucessfully.\r
+  @retval EFI_SUCCESS           - Shrinked successfully.\r
   @retval EFI_VOLUME_CORRUPTED  - There are errors in the file's clusters.\r
 \r
 **/\r
@@ -881,7 +881,7 @@ FatShrinkEof (
   @param  OFile                 - The open file.\r
   @param  NewSizeInBytes        - The new size in bytes of the open file.\r
 \r
-  @retval EFI_SUCCESS           - The file is grown sucessfully.\r
+  @retval EFI_SUCCESS           - The file is grown successfully.\r
   @retval EFI_UNSUPPORTED       - The file size is larger than 4GB.\r
   @retval EFI_VOLUME_CORRUPTED  - There are errors in the files' clusters.\r
   @retval EFI_VOLUME_FULL       - The volume is full and can not grow the file.\r
@@ -969,7 +969,7 @@ FatComputeFreeInfo (
   @param  Handle                - The handle of parent device.\r
   @param  DiskIo                - The DiskIo of parent device.\r
   @param  DiskIo2               - The DiskIo2 of parent device.\r
-  @param  BlockIo               - The BlockIo of parent devicel\r
+  @param  BlockIo               - The BlockIo of parent device.\r
 \r
   @retval EFI_SUCCESS           - Allocate a new volume successfully.\r
   @retval EFI_OUT_OF_RESOURCES  - Can not allocate the memory.\r
@@ -1079,7 +1079,7 @@ FatDestroySubtask (
   @param  IFile                 - The instance of the open file.\r
   @param  Task                  - The task to be executed.\r
 \r
-  @retval EFI_SUCCESS           - The task was executed sucessfully.\r
+  @retval EFI_SUCCESS           - The task was executed successfully.\r
   @return other                 - An error occurred when executing the task.\r
 \r
 **/\r
@@ -1097,7 +1097,7 @@ FatQueueTask (
   @param  IoMode                - The access mode.\r
   @param  DirtyValue            - Set the volume as dirty or not.\r
 \r
-  @retval EFI_SUCCESS           - Set the new FAT entry value sucessfully.\r
+  @retval EFI_SUCCESS           - Set the new FAT entry value successfully.\r
   @return other                 - An error occurred when operation the FAT entries.\r
 \r
 **/\r
@@ -1120,7 +1120,7 @@ FatAccessVolumeDirty (
   @param  Task                    point to task instance.\r
 \r
   @retval EFI_SUCCESS           - The operation is performed successfully.\r
-  @retval EFI_VOLUME_CORRUPTED  - The accesss is\r
+  @retval EFI_VOLUME_CORRUPTED  - The access is\r
   @return Others                - The status of read/write the disk\r
 \r
 **/\r
@@ -1361,7 +1361,7 @@ FatStriCmp (
   @retval EFI_SUCCESS           - Open the file successfully.\r
   @retval EFI_INVALID_PARAMETER - The open mode is conflict with the attributes\r
                           or the file name is not valid.\r
-  @retval EFI_NOT_FOUND         - Conficts between dir intention and attribute.\r
+  @retval EFI_NOT_FOUND         - Conflicts between dir intention and attribute.\r
   @retval EFI_WRITE_PROTECTED   - Can't open for write if the volume is read only.\r
   @retval EFI_ACCESS_DENIED     - If the file's attribute is read only, and the\r
                           open is for read-write fail it.\r
@@ -1710,7 +1710,7 @@ FatCloseDirEnt (
                           not be created either).\r
   @retval EFI_INVALID_PARAMETER - The parameter is not valid.\r
   @retval EFI_SUCCESS           - Open the file successfully.\r
-  @return other                 - An error occured when locating the OFile.\r
+  @return other                 - An error occurred when locating the OFile.\r
 \r
 **/\r
 EFI_STATUS\r
@@ -1728,7 +1728,7 @@ FatLocateOFile (
   @param  Volume                - FAT file system volume.\r
   @param  Name                  - The file name of the volume.\r
 \r
-  @retval EFI_SUCCESS           - Update the volume with the directory entry sucessfully.\r
+  @retval EFI_SUCCESS           - Update the volume with the directory entry successfully.\r
   @return others                - An error occurred when getting volume label.\r
 \r
 **/\r
@@ -1745,7 +1745,7 @@ FatGetVolumeEntry (
   @param  Volume              - FAT file system volume.\r
   @param  Name                - The new file name of the volume.\r
 \r
-  @retval EFI_SUCCESS         - Update the Volume sucessfully.\r
+  @retval EFI_SUCCESS         - Update the Volume successfully.\r
   @retval EFI_UNSUPPORTED     - The input label is not a valid volume label.\r
   @return other               - An error occurred when setting volume label.\r
 \r
index bab709d96482500a6e7cba177eb9304a944fa927..256db309545a5975972fc25d66f2f69df68df89c 100644 (file)
@@ -100,7 +100,7 @@ FatCheckIs8Dot3Name (
 \r
   Trim the trailing blanks of fat name.\r
 \r
-  @param  Name                  - The Char8 string needs to be trimed.\r
+  @param  Name                  - The Char8 string needs to be trimmed.\r
   @param  Len                   - The length of the fat name.\r
 \r
   The real length of the fat name after the trailing blanks are trimmed.\r
index 665903603939295fb7c9ff415c7a9b785b1c289e..0dd66e0c53af8046890514320f63c5b3facf4fa0 100644 (file)
@@ -129,7 +129,7 @@ FatGetFatEntry (
   @param  Index                 - The index of the FAT entry of the volume.\r
   @param  Value                 - The new value of the FAT entry.\r
 \r
-  @retval EFI_SUCCESS           - Set the new FAT entry value sucessfully.\r
+  @retval EFI_SUCCESS           - Set the new FAT entry value successfully.\r
   @retval EFI_VOLUME_CORRUPTED  - The FAT type of the volume is error.\r
   @return other                 - An error occurred when operation the FAT entries.\r
 \r
@@ -343,7 +343,7 @@ FatSizeToClusters (
 \r
   @param  OFile                 - The open file.\r
 \r
-  @retval EFI_SUCCESS           - Shrinked sucessfully.\r
+  @retval EFI_SUCCESS           - Shrinked successfully.\r
   @retval EFI_VOLUME_CORRUPTED  - There are errors in the file's clusters.\r
 \r
 **/\r
@@ -416,7 +416,7 @@ FatShrinkEof (
   @param  OFile                 - The open file.\r
   @param  NewSizeInBytes        - The new size in bytes of the open file.\r
 \r
-  @retval EFI_SUCCESS           - The file is grown sucessfully.\r
+  @retval EFI_SUCCESS           - The file is grown successfully.\r
   @retval EFI_UNSUPPORTED       - The file size is larger than 4GB.\r
   @retval EFI_VOLUME_CORRUPTED  - There are errors in the files' clusters.\r
   @retval EFI_VOLUME_FULL       - The volume is full and can not grow the file.\r
index 1c9811cad0aad10a7c41a14f1e4c4164b62a6853..fd4c0278f9dfdfbc5b22502b42c8de6de9aa642c 100644 (file)
@@ -407,7 +407,7 @@ FatSetFileInfo (
     //\r
     if (OFile->ODir != NULL) {\r
       //\r
-      // Syncronize its dot entry\r
+      // Synchronize its dot entry\r
       //\r
       FatResetODirCursor (OFile);\r
       ASSERT (OFile->Parent != NULL);\r
index 530154bd25f99da6fe4522b47b7e3c1031868cb5..4e6bd9d0fdc1e58cdd1919932ac1ce3de0131dfb 100644 (file)
@@ -16,7 +16,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
   @param  Handle                - The handle of parent device.\r
   @param  DiskIo                - The DiskIo of parent device.\r
   @param  DiskIo2               - The DiskIo2 of parent device.\r
-  @param  BlockIo               - The BlockIo of parent devicel\r
+  @param  BlockIo               - The BlockIo of parent device.\r
 \r
   @retval EFI_SUCCESS           - Allocate a new volume successfully.\r
   @retval EFI_OUT_OF_RESOURCES  - Can not allocate the memory.\r
index bc19695fc9eaf6d8388498a08078c29ff052d614..a005036d4617e46a567f6f82980e96583b9de823 100644 (file)
@@ -114,7 +114,7 @@ FatDestroySubtask (
   @param  IFile                 - The instance of the open file.\r
   @param  Task                  - The task to be executed.\r
 \r
-  @retval EFI_SUCCESS           - The task was executed sucessfully.\r
+  @retval EFI_SUCCESS           - The task was executed successfully.\r
   @return other                 - An error occurred when executing the task.\r
 \r
 **/\r
@@ -219,7 +219,7 @@ FatQueueTask (
   @param  IoMode                - The access mode.\r
   @param  DirtyValue            - Set the volume as dirty or not.\r
 \r
-  @retval EFI_SUCCESS           - Set the new FAT entry value sucessfully.\r
+  @retval EFI_SUCCESS           - Set the new FAT entry value successfully.\r
   @return other                 - An error occurred when operation the FAT entries.\r
 \r
 **/\r
@@ -304,7 +304,7 @@ FatOnAccessComplete (
   @param  Task                    point to task instance.\r
 \r
   @retval EFI_SUCCESS           - The operation is performed successfully.\r
-  @retval EFI_VOLUME_CORRUPTED  - The accesss is\r
+  @retval EFI_VOLUME_CORRUPTED  - The access is\r
   @return Others                - The status of read/write the disk\r
 \r
 **/\r
index cfd99baf7d7a594c013804a4a93a47c3ffb2ffcc..1b716e0cdfff16c2dd62e1f6e1fd2954d924cd86 100644 (file)
@@ -74,7 +74,7 @@ FatAllocateIFile (
   @retval EFI_SUCCESS           - Open the file successfully.\r
   @retval EFI_INVALID_PARAMETER - The open mode is conflict with the attributes\r
                           or the file name is not valid.\r
-  @retval EFI_NOT_FOUND         - Conficts between dir intention and attribute.\r
+  @retval EFI_NOT_FOUND         - Conflicts between dir intention and attribute.\r
   @retval EFI_WRITE_PROTECTED   - Can't open for write if the volume is read only.\r
   @retval EFI_ACCESS_DENIED     - If the file's attribute is read only, and the\r
                           open is for read-write fail it.\r
index b9f883b9e03c57c656d45e7cec411189a3623251..8c7c6e52581fa5ae435e8e79c0b4b74e849be7b2 100644 (file)
@@ -12,7 +12,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 PEI_FAT_PRIVATE_DATA  *mPrivateData = NULL;\r
 \r
 /**\r
-  BlockIo installation nofication function. Find out all the current BlockIO\r
+  BlockIo installation notification function. Find out all the current BlockIO\r
   PPIs in the system and add them into private data. Assume there is\r
 \r
   @param  PeiServices             General purpose services available to every\r
@@ -256,7 +256,7 @@ FatPeimEntry (
 \r
   Status = PeiServicesAllocatePages (\r
             EfiBootServicesCode,\r
-            (sizeof (PEI_FAT_PRIVATE_DATA) - 1) / PEI_FAT_MEMMORY_PAGE_SIZE + 1,\r
+            (sizeof (PEI_FAT_PRIVATE_DATA) - 1) / PEI_FAT_MEMORY_PAGE_SIZE + 1,\r
             &Address\r
             );\r
   if (EFI_ERROR (Status)) {\r
@@ -600,7 +600,7 @@ LoadRecoveryCapsule (
   @param  FileName                The recovery file name to find.\r
   @param  Handle                  The output file handle.\r
 \r
-  @retval EFI_DEVICE_ERROR        Some error occured when operating the FAT\r
+  @retval EFI_DEVICE_ERROR        Some error occurred when operating the FAT\r
                                   volume.\r
   @retval EFI_NOT_FOUND           The recovery file was not found.\r
   @retval EFI_SUCCESS             The recovery file was successfully found on the\r
index 18534b9abbef17c753c326dc39335a6c0a323002..9cacf74aceeb80c63ca129f6c4c26c921aed6b1c 100644 (file)
@@ -40,7 +40,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 #define PEI_FAT_MAX_BLOCK_IO_PPI                      32\r
 #define PEI_FAT_MAX_VOLUME                            64\r
 \r
-#define PEI_FAT_MEMMORY_PAGE_SIZE                     0x1000\r
+#define PEI_FAT_MEMORY_PAGE_SIZE                      0x1000\r
 \r
 //\r
 // Data Structures\r
@@ -194,7 +194,7 @@ typedef struct {
   @param  FileName                The recovery file name to find.\r
   @param  Handle                  The output file handle.\r
 \r
-  @retval EFI_DEVICE_ERROR        Some error occured when operating the FAT\r
+  @retval EFI_DEVICE_ERROR        Some error occurred when operating the FAT\r
                                   volume.\r
   @retval EFI_NOT_FOUND           The recovery file was not found.\r
   @retval EFI_SUCCESS             The recovery file was successfully found on the\r
index 233a66b97470cf40624c597a409ba18cd68871b3..4028c535f351417b84c1c2aa62413fee5becb88a 100644 (file)
@@ -48,7 +48,7 @@ PartitionCheckGptHeaderCRC (
   GptHdrCrc = PartHeader->Header.CRC32;\r
 \r
   //\r
-  // Set CRC field to zero when doing calcuation\r
+  // Set CRC field to zero when doing calculation\r
   //\r
   PartHeader->Header.CRC32 = 0;\r
 \r
index 0b6375af6d50b41be57897ea59dc3aecc6cb6ee1..5b01604c0749b8de666a8536285681cc10fb5121 100644 (file)
@@ -52,7 +52,7 @@ PartitionValidMbr (
     if (EndingLBA > LastLba) {\r
       //\r
       // Compatability Errata:\r
-      //  Some systems try to hide drive space with thier INT 13h driver\r
+      //  Some systems try to hide drive space with their INT 13h driver\r
       //  This does not hide space from the OS driver. This means the MBR\r
       //  that gets created from DOS is smaller than the MBR created from\r
       //  a real OS (NT & Win98). This leads to BlockIo->LastBlock being\r