diff options
author | Antoine Coeur <coeur@gmx.fr> | 2020-02-07 02:07:20 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-02-10 22:30:07 +0000 |
commit | db62b65c637678b14474547b37ace3330b259764 (patch) | |
tree | 11c9b3d1db27fd5e5e3db5c2542ca97d5e089062 /FatPkg/EnhancedFatDxe | |
parent | 3d6b7fd303b0081935e69aa16b01c285d6563f64 (diff) | |
download | edk2-db62b65c637678b14474547b37ace3330b259764.tar.gz edk2-db62b65c637678b14474547b37ace3330b259764.tar.bz2 edk2-db62b65c637678b14474547b37ace3330b259764.zip |
FatPkg/EnhancedFatDxe: Fix various typos
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>
Diffstat (limited to 'FatPkg/EnhancedFatDxe')
-rw-r--r-- | FatPkg/EnhancedFatDxe/Delete.c | 2 | ||||
-rw-r--r-- | FatPkg/EnhancedFatDxe/DirectoryManage.c | 2 | ||||
-rw-r--r-- | FatPkg/EnhancedFatDxe/Fat.c | 2 | ||||
-rw-r--r-- | FatPkg/EnhancedFatDxe/Fat.h | 6 | ||||
-rw-r--r-- | FatPkg/EnhancedFatDxe/FileName.c | 2 | ||||
-rw-r--r-- | FatPkg/EnhancedFatDxe/FileSpace.c | 6 | ||||
-rw-r--r-- | FatPkg/EnhancedFatDxe/Flush.c | 4 |
7 files changed, 12 insertions, 12 deletions
diff --git a/FatPkg/EnhancedFatDxe/Delete.c b/FatPkg/EnhancedFatDxe/Delete.c index b2a62b35de..8a437e3ee2 100644 --- a/FatPkg/EnhancedFatDxe/Delete.c +++ b/FatPkg/EnhancedFatDxe/Delete.c @@ -56,7 +56,7 @@ FatDelete ( goto Done;
}
//
- // If the file has a permanant error, skip the delete
+ // If the file has a permanent error, skip the delete
//
Status = OFile->Error;
if (!EFI_ERROR (Status)) {
diff --git a/FatPkg/EnhancedFatDxe/DirectoryManage.c b/FatPkg/EnhancedFatDxe/DirectoryManage.c index 93772dba09..90c01b3baa 100644 --- a/FatPkg/EnhancedFatDxe/DirectoryManage.c +++ b/FatPkg/EnhancedFatDxe/DirectoryManage.c @@ -13,7 +13,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent Get a directory entry from disk for the Ofile.
@param Parent - The parent of the OFile which need to update.
- @param IoMode - Indicate whether to read directory entry or write directroy entry.
+ @param IoMode - Indicate whether to read directory entry or write directory entry.
@param EntryPos - The position of the directory entry to be accessed.
@param Entry - The directory entry read or written.
diff --git a/FatPkg/EnhancedFatDxe/Fat.c b/FatPkg/EnhancedFatDxe/Fat.c index 3bec1c94ec..77cda19539 100644 --- a/FatPkg/EnhancedFatDxe/Fat.c +++ b/FatPkg/EnhancedFatDxe/Fat.c @@ -417,7 +417,7 @@ FatDriverBindingStart ( Status = FatAllocateVolume (ControllerHandle, DiskIo, DiskIo2, BlockIo);
//
- // When the media changes on a device it will Reinstall the BlockIo interaface.
+ // When the media changes on a device it will Reinstall the BlockIo interface.
// This will cause a call to our Stop(), and a subsequent reentrant call to our
// Start() successfully. We should leave the device open when this happen.
//
diff --git a/FatPkg/EnhancedFatDxe/Fat.h b/FatPkg/EnhancedFatDxe/Fat.h index 46c185c3a9..fcc25952d4 100644 --- a/FatPkg/EnhancedFatDxe/Fat.h +++ b/FatPkg/EnhancedFatDxe/Fat.h @@ -236,7 +236,7 @@ struct _FAT_OFILE { UINTN Signature;
FAT_VOLUME *Volume;
//
- // A permanant error code to return to all accesses to
+ // A permanent error code to return to all accesses to
// this opened file
//
EFI_STATUS Error;
@@ -246,7 +246,7 @@ struct _FAT_OFILE { LIST_ENTRY Opens;
//
- // The dynamic infomation
+ // The dynamic information
//
UINTN FileSize;
UINTN FileCluster;
@@ -1863,7 +1863,7 @@ FatCreate8Dot3Name ( @param FatName - The Char8 string needs to be converted.
@param Len - The length of the fat name.
@param LowerCase - Indicate whether to convert the string to lower case.
- @param Str - The result of the convertion.
+ @param Str - The result of the conversion.
**/
VOID
diff --git a/FatPkg/EnhancedFatDxe/FileName.c b/FatPkg/EnhancedFatDxe/FileName.c index 256db30954..d2d1fb3117 100644 --- a/FatPkg/EnhancedFatDxe/FileName.c +++ b/FatPkg/EnhancedFatDxe/FileName.c @@ -128,7 +128,7 @@ FatTrimAsciiTrailingBlanks ( @param FatName - The Char8 string needs to be converted.
@param Len - The length of the fat name.
@param LowerCase - Indicate whether to convert the string to lower case.
- @param Str - The result of the convertion.
+ @param Str - The result of the conversion.
**/
VOID
diff --git a/FatPkg/EnhancedFatDxe/FileSpace.c b/FatPkg/EnhancedFatDxe/FileSpace.c index 0dd66e0c53..f57e44e368 100644 --- a/FatPkg/EnhancedFatDxe/FileSpace.c +++ b/FatPkg/EnhancedFatDxe/FileSpace.c @@ -223,7 +223,7 @@ FatSetFatEntry ( /**
- Free the cluster clain.
+ Free the cluster chain.
@param Volume - FAT file system volume.
@param Cluster - The first cluster of cluster chain.
@@ -575,8 +575,8 @@ FatOFilePosition ( ASSERT_VOLUME_LOCKED (Volume);
//
- // If this is the fixed root dir, then compute it's position
- // from it's fixed info in the fat bpb
+ // If this is the fixed root dir, then compute its position
+ // from its fixed info in the fat bpb
//
if (OFile->IsFixedRootDir) {
OFile->PosDisk = Volume->RootPos + Position;
diff --git a/FatPkg/EnhancedFatDxe/Flush.c b/FatPkg/EnhancedFatDxe/Flush.c index e88557d77c..d532791075 100644 --- a/FatPkg/EnhancedFatDxe/Flush.c +++ b/FatPkg/EnhancedFatDxe/Flush.c @@ -226,7 +226,7 @@ FatOFileFlush ( //
do {
//
- // If the file has a permanant error, then don't write any
+ // If the file has a permanent error, then don't write any
// of its data to the device (may be from different media)
//
if (EFI_ERROR (OFile->Error)) {
@@ -319,7 +319,7 @@ FatCheckOFileRef ( Check the references of all open files on the volume.
Any open file (that is checked) that is no longer
- referenced, is freed - and it's parent open file
+ referenced, is freed - and its parent open file
is then referenced checked.
@param Volume - The volume to check the pending open file list.
|