]> git.proxmox.com Git - mirror_edk2.git/commitdiff
FatPkg/EnhancedFatDxe: Fix various typos
authorAntoine Coeur <coeur@gmx.fr>
Fri, 7 Feb 2020 01:07:20 +0000 (02:07 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 10 Feb 2020 22:30:07 +0000 (22:30 +0000)
Fix various typos in FatPkg/EnhancedFatDxe comments.

Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Antoine Coeur <coeur@gmx.fr>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Acked-by: Liming Gao <liming.gao@intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
Message-Id: <20200207010831.9046-8-philmd@redhat.com>

FatPkg/EnhancedFatDxe/Delete.c
FatPkg/EnhancedFatDxe/DirectoryManage.c
FatPkg/EnhancedFatDxe/Fat.c
FatPkg/EnhancedFatDxe/Fat.h
FatPkg/EnhancedFatDxe/FileName.c
FatPkg/EnhancedFatDxe/FileSpace.c
FatPkg/EnhancedFatDxe/Flush.c

index b2a62b35ded8c3da37a2db48d9e466a3e796b7c5..8a437e3ee20158ef82b91172987790fa3cd952d5 100644 (file)
@@ -56,7 +56,7 @@ FatDelete (
     goto Done;\r
   }\r
   //\r
-  // If the file has a permanant error, skip the delete\r
+  // If the file has a permanent error, skip the delete\r
   //\r
   Status = OFile->Error;\r
   if (!EFI_ERROR (Status)) {\r
index 93772dba09c25c8b8860d7a95f843c774ba24740..90c01b3baa1c212343499fef4f2f67402a69901c 100644 (file)
@@ -13,7 +13,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
   Get a directory entry from disk for the Ofile.\r
 \r
   @param  Parent                - The parent of the OFile which need to update.\r
-  @param  IoMode                - Indicate whether to read directory entry or write directroy entry.\r
+  @param  IoMode                - Indicate whether to read directory entry or write directory entry.\r
   @param  EntryPos              - The position of the directory entry to be accessed.\r
   @param  Entry                 - The directory entry read or written.\r
 \r
index 3bec1c94ecd871cc805866a2f519675674c5aae0..77cda19539916c7885e6d2e720d79b802c9fb190 100644 (file)
@@ -417,7 +417,7 @@ FatDriverBindingStart (
   Status = FatAllocateVolume (ControllerHandle, DiskIo, DiskIo2, BlockIo);\r
 \r
   //\r
-  // When the media changes on a device it will Reinstall the BlockIo interaface.\r
+  // When the media changes on a device it will Reinstall the BlockIo interface.\r
   // This will cause a call to our Stop(), and a subsequent reentrant call to our\r
   // Start() successfully. We should leave the device open when this happen.\r
   //\r
index 46c185c3a9e9d8eaefb835cb7c8352e2bc46d835..fcc25952d4951b87ddc38a1c938e836277bf49a3 100644 (file)
@@ -236,7 +236,7 @@ struct _FAT_OFILE {
   UINTN               Signature;\r
   FAT_VOLUME          *Volume;\r
   //\r
-  // A permanant error code to return to all accesses to\r
+  // A permanent error code to return to all accesses to\r
   // this opened file\r
   //\r
   EFI_STATUS          Error;\r
@@ -246,7 +246,7 @@ struct _FAT_OFILE {
   LIST_ENTRY          Opens;\r
 \r
   //\r
-  // The dynamic infomation\r
+  // The dynamic information\r
   //\r
   UINTN               FileSize;\r
   UINTN               FileCluster;\r
@@ -1863,7 +1863,7 @@ FatCreate8Dot3Name (
   @param  FatName               - The Char8 string needs to be converted.\r
   @param  Len                   - The length of the fat name.\r
   @param  LowerCase             - Indicate whether to convert the string to lower case.\r
-  @param  Str                   - The result of the convertion.\r
+  @param  Str                   - The result of the conversion.\r
 \r
 **/\r
 VOID\r
index 256db309545a5975972fc25d66f2f69df68df89c..d2d1fb31174c1340ce5eba04256e3575eb306661 100644 (file)
@@ -128,7 +128,7 @@ FatTrimAsciiTrailingBlanks (
   @param  FatName               - The Char8 string needs to be converted.\r
   @param  Len                   - The length of the fat name.\r
   @param  LowerCase             - Indicate whether to convert the string to lower case.\r
-  @param  Str                   - The result of the convertion.\r
+  @param  Str                   - The result of the conversion.\r
 \r
 **/\r
 VOID\r
index 0dd66e0c53af8046890514320f63c5b3facf4fa0..f57e44e3680a5adee0260e0bf2a7c973acc5776d 100644 (file)
@@ -223,7 +223,7 @@ FatSetFatEntry (
 \r
 /**\r
 \r
-  Free the cluster clain.\r
+  Free the cluster chain.\r
 \r
   @param  Volume                - FAT file system volume.\r
   @param  Cluster               - The first cluster of cluster chain.\r
@@ -575,8 +575,8 @@ FatOFilePosition (
   ASSERT_VOLUME_LOCKED (Volume);\r
 \r
   //\r
-  // If this is the fixed root dir, then compute it's position\r
-  // from it's fixed info in the fat bpb\r
+  // If this is the fixed root dir, then compute its position\r
+  // from its fixed info in the fat bpb\r
   //\r
   if (OFile->IsFixedRootDir) {\r
     OFile->PosDisk  = Volume->RootPos + Position;\r
index e88557d77c8a4ca6ec404b4b152e7e29231a0b04..d532791075279c3ec3be9e8c38738abb1f181780 100644 (file)
@@ -226,7 +226,7 @@ FatOFileFlush (
   //\r
   do {\r
     //\r
-    // If the file has a permanant error, then don't write any\r
+    // If the file has a permanent error, then don't write any\r
     // of its data to the device (may be from different media)\r
     //\r
     if (EFI_ERROR (OFile->Error)) {\r
@@ -319,7 +319,7 @@ FatCheckOFileRef (
 \r
   Check the references of all open files on the volume.\r
   Any open file (that is checked) that is no longer\r
-  referenced, is freed - and it's parent open file\r
+  referenced, is freed - and its parent open file\r
   is then referenced checked.\r
 \r
   @param  Volume                - The volume to check the pending open file list.\r