public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: devel@edk2.groups.io
Cc: Antoine Coeur <coeur@gmx.fr>, Ray Ni <ray.ni@intel.com>,
	Philippe Mathieu-Daude <philmd@redhat.com>
Subject: [PATCH 08/79] FatPkg/EnhancedFatDxe: Fix various typos
Date: Tue,  3 Dec 2019 17:14:51 +0100	[thread overview]
Message-ID: <20191203161602.15969-9-philmd@redhat.com> (raw)
In-Reply-To: <20191203161602.15969-1-philmd@redhat.com>

From: Antoine Coeur <coeur@gmx.fr>

Fix various typos in FatPkg/EnhancedFatDxe comments.

Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Coeur <coeur@gmx.fr>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
---
 FatPkg/EnhancedFatDxe/Fat.h             | 6 +++---
 FatPkg/EnhancedFatDxe/Delete.c          | 2 +-
 FatPkg/EnhancedFatDxe/DirectoryManage.c | 2 +-
 FatPkg/EnhancedFatDxe/Fat.c             | 2 +-
 FatPkg/EnhancedFatDxe/FileName.c        | 2 +-
 FatPkg/EnhancedFatDxe/FileSpace.c       | 6 +++---
 FatPkg/EnhancedFatDxe/Flush.c           | 4 ++--
 7 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/FatPkg/EnhancedFatDxe/Fat.h b/FatPkg/EnhancedFatDxe/Fat.h
index 46c185c3a9e9..fcc25952d495 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/Delete.c b/FatPkg/EnhancedFatDxe/Delete.c
index b2a62b35ded8..8a437e3ee201 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 93772dba09c2..90c01b3baa1c 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 3bec1c94ecd8..77cda1953991 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/FileName.c b/FatPkg/EnhancedFatDxe/FileName.c
index 256db309545a..d2d1fb31174c 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 0dd66e0c53af..f57e44e3680a 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 e88557d77c8a..d53279107527 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.
-- 
2.21.0


  parent reply	other threads:[~2019-12-03 16:16 UTC|newest]

Thread overview: 122+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-03 16:14 [PATCH 00/79] Fix a bunch of typos (part 1) Philippe Mathieu-Daudé
2019-12-03 16:14 ` [PATCH 01/79] CryptoPkg/OpensslLib: Fix few typos Philippe Mathieu-Daudé
2019-12-03 16:14 ` [PATCH 02/79] EmbeddedPkg/FdtLib: Fix a typo Philippe Mathieu-Daudé
2019-12-03 16:58   ` Leif Lindholm
2019-12-03 16:14 ` [PATCH 03/79] EmbeddedPkg/VirtualKeyboard: Fix a typo in EFI_INVALID_PARAMETER Philippe Mathieu-Daudé
2019-12-03 16:14 ` [PATCH 04/79] EmbeddedPkg/VirtualKeyboard: Fix few typos Philippe Mathieu-Daudé
2019-12-03 16:14 ` [PATCH 05/79] EmulatorPkg/Sec: Fix various typos Philippe Mathieu-Daudé
2019-12-03 16:14 ` [PATCH 06/79] EmulatorPkg/Unix: " Philippe Mathieu-Daudé
2019-12-20  6:38   ` Ni, Ray
2019-12-03 16:14 ` [PATCH 07/79] EmulatorPkg/Win: " Philippe Mathieu-Daudé
2019-12-03 16:14 ` Philippe Mathieu-Daudé [this message]
2019-12-03 16:14 ` [PATCH 09/79] FatPkg/FatPei: Fix few typos Philippe Mathieu-Daudé
2019-12-20  6:37   ` Ni, Ray
2019-12-03 16:14 ` [PATCH 10/79] IntelFsp2WrapperPkg: Fix various typos Philippe Mathieu-Daudé
2019-12-04  1:14   ` [edk2-devel] " Nate DeSimone
2019-12-04  1:22   ` Chiu, Chasel
2019-12-04  1:40     ` [edk2-devel] " Michael D Kinney
2019-12-04  2:30   ` Zeng, Star
2019-12-11  1:53   ` Chiu, Chasel
2019-12-03 16:14 ` [PATCH 11/79] MdeModulePkg/Application: Improve French translation Philippe Mathieu-Daudé
2019-12-03 16:14 ` [PATCH 12/79] MdeModulePkg/Application: Fix various typos Philippe Mathieu-Daudé
2019-12-03 16:14 ` [PATCH 13/79] MdeModulePkg/Bus/Ata: " Philippe Mathieu-Daudé
2019-12-03 16:14 ` [PATCH 14/79] MdeModulePkg/Bus/I2c: Fix few typos Philippe Mathieu-Daudé
2019-12-03 16:14 ` [PATCH 15/79] MdeModulePkg/Bus/Isa: Fix various typos Philippe Mathieu-Daudé
2019-12-03 16:14 ` [PATCH 16/79] MdeModulePkg/Bus/Scsi: " Philippe Mathieu-Daudé
2019-12-03 16:15 ` [PATCH 17/79] MdeModulePkg/Bus/Sd: " Philippe Mathieu-Daudé
2019-12-03 16:15 ` [PATCH 18/79] MdeModulePkg/Core/Pei: " Philippe Mathieu-Daudé
2019-12-03 16:15 ` [PATCH 19/79] MdeModulePkg/Core/PiSmmCore: " Philippe Mathieu-Daudé
2019-12-03 16:15 ` [PATCH 20/79] MdeModulePkg/UsbBusDxe: Fix a typo Philippe Mathieu-Daudé
2019-12-03 16:15 ` [PATCH 21/79] MdeModulePkg/UsbMass: Fix various typos Philippe Mathieu-Daudé
2019-12-03 16:15 ` [PATCH 22/79] MdeModulePkg/UsbMouse: Fix few typos Philippe Mathieu-Daudé
2019-12-03 16:15 ` [PATCH 23/79] MdeModulePkg/UsbBus: Fix various typos Philippe Mathieu-Daudé
2019-12-03 16:15 ` [PATCH 24/79] MdeModulePkg/Usb: " Philippe Mathieu-Daudé
2019-12-03 16:15 ` [PATCH 25/79] MdePkg/IndustryStandard: " Philippe Mathieu-Daudé
2019-12-04  1:35   ` Michael D Kinney
2019-12-03 16:15 ` [PATCH 26/79] MdePkg/Library/Dxe: " Philippe Mathieu-Daudé
2019-12-04  1:24   ` [edk2-devel] " Michael D Kinney
2019-12-03 16:15 ` [PATCH 27/79] MdePkg/Library/Pci: " Philippe Mathieu-Daudé
2019-12-04  1:25   ` [edk2-devel] " Michael D Kinney
2019-12-03 16:15 ` [PATCH 28/79] MdePkg/Library/Smm: " Philippe Mathieu-Daudé
2019-12-04  1:28   ` Michael D Kinney
2019-12-03 16:15 ` [PATCH 29/79] MdePkg/Ppi: " Philippe Mathieu-Daudé
2019-12-04  1:29   ` [edk2-devel] " Michael D Kinney
2019-12-03 16:15 ` [PATCH 30/79] MdePkg/Register: " Philippe Mathieu-Daudé
2019-12-04  1:30   ` [edk2-devel] " Michael D Kinney
2019-12-03 16:15 ` [PATCH 31/79] NetworkPkg: Fix a typo Philippe Mathieu-Daudé
2019-12-03 17:18   ` Leif Lindholm
2019-12-03 17:20     ` Philippe Mathieu-Daudé
2019-12-04 14:02       ` [edk2-devel] " Maciej Rabeda
2019-12-03 16:15 ` [PATCH 32/79] NetworkPkg/ArpDxe: Fix various typos Philippe Mathieu-Daudé
2019-12-04 13:20   ` [edk2-devel] " Maciej Rabeda
2019-12-03 16:15 ` [PATCH 33/79] NetworkPkg/Dhcp4Dxe: " Philippe Mathieu-Daudé
2019-12-04 13:25   ` [edk2-devel] " Maciej Rabeda
2019-12-03 16:15 ` [PATCH 34/79] NetworkPkg/Dhcp6Dxe: " Philippe Mathieu-Daudé
2019-12-04 13:28   ` [edk2-devel] " Maciej Rabeda
2019-12-03 16:15 ` [PATCH 35/79] NetworkPkg/DnsDxe: Fix a typo Philippe Mathieu-Daudé
2019-12-04 13:35   ` [edk2-devel] " Maciej Rabeda
2019-12-03 16:15 ` [PATCH 36/79] NetworkPkg/DnsDxe: Fix various typos Philippe Mathieu-Daudé
2019-12-04 13:36   ` [edk2-devel] " Maciej Rabeda
2019-12-03 16:15 ` [PATCH 37/79] NetworkPkg/DpcDxe: Fix few typos Philippe Mathieu-Daudé
2019-12-04 13:37   ` [edk2-devel] " Maciej Rabeda
2019-12-03 16:15 ` [PATCH 38/79] NetworkPkg/HttpBootDxe: Fix a typo in variable name Philippe Mathieu-Daudé
2019-12-04 13:52   ` [edk2-devel] " Maciej Rabeda
2019-12-03 16:15 ` [PATCH 39/79] NetworkPkg/HttpBootDxe: Fix various typos Philippe Mathieu-Daudé
2019-12-04 13:53   ` [edk2-devel] " Maciej Rabeda
2019-12-03 16:26 ` [PATCH 00/79] Fix a bunch of typos (part 1) Cœur
     [not found] ` <20191203161602.15969-62-philmd@redhat.com>
2019-12-03 16:56   ` [PATCH 61/79] OvmfPkg/Xen: Fix various typos Anthony PERARD
2019-12-03 21:06     ` Laszlo Ersek
2019-12-04  3:39     ` Cœur
2019-12-04 16:07       ` [edk2-devel] " Michael D Kinney
2019-12-09 13:06         ` Philippe Mathieu-Daudé
2019-12-09 17:53           ` Michael D Kinney
     [not found] ` <20191203161602.15969-76-philmd@redhat.com>
2019-12-03 19:44   ` [PATCH 75/79] StandaloneMmPkg: Fix a typo Yao, Jiewen
     [not found] ` <20191203161602.15969-77-philmd@redhat.com>
2019-12-03 19:45   ` [PATCH 76/79] StandaloneMmPkg: Fix few typos Yao, Jiewen
     [not found] ` <20191203161602.15969-57-philmd@redhat.com>
2019-12-03 20:48   ` [PATCH 56/79] OvmfPkg/Acpi: " Laszlo Ersek
     [not found] ` <20191203161602.15969-58-philmd@redhat.com>
2019-12-03 20:50   ` [PATCH 57/79] OvmfPkg/Csm: Fix various typos Laszlo Ersek
2019-12-03 23:31     ` David Woodhouse
2019-12-04 14:07       ` [edk2-devel] " Philippe Mathieu-Daudé
     [not found] ` <20191203161602.15969-59-philmd@redhat.com>
2019-12-03 21:00   ` [PATCH 58/79] OvmfPkg/Qemu: " Laszlo Ersek
2019-12-09 12:55     ` Philippe Mathieu-Daudé
2019-12-09 13:00       ` Philippe Mathieu-Daudé
2019-12-09 16:12         ` Laszlo Ersek
2019-12-09 15:44       ` Laszlo Ersek
     [not found] ` <20191203161602.15969-60-philmd@redhat.com>
2019-12-03 21:00   ` [PATCH 59/79] OvmfPkg/Virtio: Fix few typos Laszlo Ersek
     [not found] ` <20191203161602.15969-79-philmd@redhat.com>
2019-12-03 21:04   ` [PATCH 78/79] UefiCpuPkg/PiSmm: Fix various typos Laszlo Ersek
2019-12-06  7:24   ` Dong, Eric
     [not found] ` <20191203161602.15969-61-philmd@redhat.com>
2019-12-03 16:45   ` [PATCH 60/79] OvmfPkg/Xen: Fix a typo Anthony PERARD
2019-12-03 21:05   ` Laszlo Ersek
     [not found] ` <20191203161602.15969-73-philmd@redhat.com>
2019-12-04  1:03   ` [PATCH 72/79] SourceLevelDebugPkg/DebugAgent: Fix various typos Wu, Hao A
     [not found] ` <20191203161602.15969-74-philmd@redhat.com>
2019-12-04  1:03   ` [PATCH 73/79] SourceLevelDebugPkg/DebugCommunicationLib: " Wu, Hao A
     [not found] ` <20191203161602.15969-75-philmd@redhat.com>
2019-12-04  1:03   ` [PATCH 74/79] SourceLevelDebugPkg: Fix few typos Wu, Hao A
2019-12-04  1:16 ` [edk2-devel] [PATCH 00/79] Fix a bunch of typos (part 1) Nate DeSimone
2019-12-04  1:27   ` Liming Gao
2019-12-04  9:09     ` Laszlo Ersek
2019-12-04 14:57       ` Maciej Rabeda
2019-12-04 16:29   ` Philippe Mathieu-Daudé
2019-12-04 16:44     ` Leif Lindholm
2019-12-04 22:15       ` Laszlo Ersek
2019-12-04 22:18         ` Philippe Mathieu-Daudé
     [not found] ` <20191203161602.15969-78-philmd@redhat.com>
2019-12-03 21:03   ` [PATCH 77/79] UefiCpuPkg/CpuDxe: Fix few typos Laszlo Ersek
2019-12-06  7:24   ` Dong, Eric
     [not found] ` <20191203161602.15969-80-philmd@redhat.com>
2019-12-03 21:05   ` [PATCH 79/79] UefiCpuPkg/Smm: Fix various typos Laszlo Ersek
2019-12-06  7:24   ` Dong, Eric
     [not found] ` <20191203161602.15969-56-philmd@redhat.com>
2019-12-06 16:01   ` [PATCH 55/79] NetworkPkg/VlanConfigDxe: Fix few typos Rabeda, Maciej
     [not found] ` <20191203161602.15969-55-philmd@redhat.com>
2019-12-06 16:01   ` [PATCH 54/79] NetworkPkg/UefiPxeBcDxe: Fix various typos Rabeda, Maciej
     [not found] ` <20191203161602.15969-52-philmd@redhat.com>
2019-12-06 16:01   ` [PATCH 51/79] NetworkPkg/Tls: Fix few typos Rabeda, Maciej
     [not found] ` <20191203161602.15969-51-philmd@redhat.com>
2019-12-06 16:02   ` [PATCH 50/79] NetworkPkg/TcpDxe/Tcp: Fix various typos Rabeda, Maciej
     [not found] ` <20191203161602.15969-47-philmd@redhat.com>
2019-12-06 16:02   ` [PATCH 46/79] NetworkPkg/Mtftp4Dxe: " Rabeda, Maciej
     [not found] ` <20191203161602.15969-53-philmd@redhat.com>
2019-12-06 16:02   ` [PATCH 52/79] NetworkPkg/Udp4Dxe: " Rabeda, Maciej
     [not found] ` <20191203161602.15969-54-philmd@redhat.com>
2019-12-06 16:03   ` [PATCH 53/79] NetworkPkg/Udp6Dxe: " Rabeda, Maciej
     [not found] ` <20191203161602.15969-43-philmd@redhat.com>
2019-12-06 16:03   ` [PATCH 42/79] NetworkPkg/Ip6Dxe: " Rabeda, Maciej
     [not found] ` <20191203161602.15969-45-philmd@redhat.com>
2019-12-06 16:04   ` [PATCH 44/79] NetworkPkg/Library: " Rabeda, Maciej
     [not found] ` <20191203161602.15969-42-philmd@redhat.com>
2019-12-06 16:04   ` [PATCH 41/79] NetworkPkg/Ip4Dxe: " Rabeda, Maciej
     [not found] ` <20191203161602.15969-50-philmd@redhat.com>
2019-12-06 16:04   ` [PATCH 49/79] NetworkPkg/TcpDxe/Sock: Fix few typos Rabeda, Maciej
     [not found] ` <20191203161602.15969-48-philmd@redhat.com>
2019-12-06 16:05   ` [PATCH 47/79] NetworkPkg/Mtftp6Dxe: Fix various typos Rabeda, Maciej
     [not found] ` <20191203161602.15969-46-philmd@redhat.com>
2019-12-06 16:05   ` [PATCH 45/79] NetworkPkg/MnpDxe: " Rabeda, Maciej
     [not found] ` <20191203161602.15969-41-philmd@redhat.com>
2019-12-06 16:05   ` [PATCH 40/79] NetworkPkg/HttpDxe: " Rabeda, Maciej
     [not found] ` <20191203161602.15969-49-philmd@redhat.com>
2019-12-06 16:09   ` [PATCH 48/79] NetworkPkg/SnpDxe: Fix few typos Rabeda, Maciej
2019-12-06 16:38     ` Philippe Mathieu-Daudé
2019-12-10  7:21 ` [PATCH 00/79] Fix a bunch of typos (part 1) Cœur
     [not found] ` <20191203161602.15969-70-philmd@redhat.com>
2019-12-13  2:33   ` [PATCH 69/79] ShellPkg/DynamicCommand: Fix various typos Gao, Zhichao
     [not found] ` <20191203161602.15969-69-philmd@redhat.com>
2019-12-13  2:33   ` [PATCH 68/79] ShellPkg/Application: " Gao, Zhichao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191203161602.15969-9-philmd@redhat.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox