From nobody Sat May 4 10:45:56 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+43044+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+43044+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1561807752; cv=none; d=zoho.com; s=zohoarc; b=MqM4kw8KgnTEw1oQBgrCEFuHCHiIb667pz+rYm/dNzKfJTz2H77Z9AsfbmwBegvj0qAiZllkx9Z41H9epSjyvIdQbKH/l4DkZvdIumJ9tavonEkzFd5Uxe+Oq/30DqbOWul22NdEk7cZDKzHnmQHkBOInp3i9mD73oK1N+FsXko= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1561807752; h=Content-Type:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To:ARC-Authentication-Results; bh=nbm0VJie4Q+/vVgsMF1vz68zTifMlJJIGq8rV/frTjo=; b=LptbaKCRKxSSq5LaU7FEn2/1DCjtcoeTYU3OFUSXKvcqq+LDeeS3WYbbWWE8xaMMGXxLwIhypVD+mHqymCNNUESfni0Yg+I3dvMBV2ZmAGHTnVGD6tTbTDqN8tImK/ntSCluT8+Qtf/pDS2cscZu1XHI3XXL7o0X54qkN9rgylE= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+43044+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1561807752048390.90810887752616; Sat, 29 Jun 2019 04:29:12 -0700 (PDT) Return-Path: Subject: [edk2-devel] [PATCH] FatPkg: Fix various typos To: devel@edk2.groups.io From: =?UTF-8?B?Q8WTdXI=?= X-Originating-Location: Seoul, KR (128.1.125.180) X-Originating-Platform: Mac Chrome 75 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Sat, 29 Jun 2019 04:29:10 -0700 Message-ID: <5985.1561807750885173204@groups.io> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,coeur@gmx.fr Content-Type: multipart/alternative; boundary="YuuC36qCuspzR2ggqRYz" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1561807751; bh=AWQ0C8/JwqkQIkaceodbCrhs0g59B6v9MgOD5JYr7VA=; h=Content-Type:Date:From:Reply-To:Subject:To; b=OB/prViQJXgN7SQaUU+HCC/6ytfH36TXBCaS/GVWqXKRbHGXIJeiGiFkmmyEIh3tzHV 4MuCfs1v5/db8sepFFUtHffirdT+nP/ro1AU4siLXpr7PTj0B7De0T85pb4BROkQ0hIta NIjPVkmSB7B7kieruJGEZhWmDnc5RNmDrek= X-ZohoMail-DKIM: pass (identity @groups.io) --YuuC36qCuspzR2ggqRYz Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Fix various typos in FatPkg. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Coeur --- FatPkg/EnhancedFatDxe/Delete.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 2 = +- FatPkg/EnhancedFatDxe/DirectoryManage.c | 10 +++++----- FatPkg/EnhancedFatDxe/Fat.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= |=C2=A0 2 +- FatPkg/EnhancedFatDxe/Fat.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= | 24 ++++++++++++------------ FatPkg/EnhancedFatDxe/FileName.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 4 ++-- FatPkg/EnhancedFatDxe/FileSpace.c=C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 8 ++++-= --- FatPkg/EnhancedFatDxe/Flush.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2= =A0 2 +- FatPkg/EnhancedFatDxe/Info.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2= =A0 2 +- FatPkg/EnhancedFatDxe/Init.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2= =A0 2 +- FatPkg/EnhancedFatDxe/Misc.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2= =A0 6 +++--- FatPkg/EnhancedFatDxe/Open.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2= =A0 2 +- FatPkg/FatPei/FatLiteApi.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = |=C2=A0 6 +++--- FatPkg/FatPei/FatLitePeim.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= |=C2=A0 4 ++-- 13 files changed, 37 insertions(+), 37 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; } // -=C2=A0 // If the file has a permanant error, skip the delete +=C2=A0 // If the file has a permanent error, skip the delete // Status =3D OFile->Error; if (!EFI_ERROR (Status)) { diff --git a/FatPkg/EnhancedFatDxe/DirectoryManage.c b/FatPkg/EnhancedFatDx= e/DirectoryManage.c index 21656883bd..90c01b3baa 100644 --- a/FatPkg/EnhancedFatDxe/DirectoryManage.c +++ b/FatPkg/EnhancedFatDxe/DirectoryManage.c @@ -13,11 +13,11 @@ SPDX-License-Identifier: BSD-2-Clause-Patent Get a directory entry from disk for the Ofile. @param=C2=A0 Parent=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = - The parent of the OFile which need to update. -=C2=A0 @param=C2=A0 IoMode=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 - Indicate whether to read directory entry or write directroy entry. +=C2=A0 @param=C2=A0 IoMode=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 - Indicate whether to read directory entry or write directory entry. @param=C2=A0 EntryPos=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 - The= position of the directory entry to be accessed. @param=C2=A0 Entry=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0- The directory entry read or written. -=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Acces= s the directory entry sucessfully. +=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Acces= s the directory entry successfully. @return other=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= - An error occurred when reading the directory entry. **/ @@ -896,7 +896,7 @@ FatNewEntryPos ( @param=C2=A0 Volume=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = - FAT file system volume. @param=C2=A0 Name=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 - The file name of the volume. -=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Updat= e the volume with the directory entry sucessfully. +=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Updat= e the volume with the directory entry successfully. @return others=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 - An = error occurred when getting volume label. **/ @@ -927,7 +927,7 @@ FatGetVolumeEntry ( @param=C2=A0 Volume=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 - FAT f= ile system volume. @param=C2=A0 Name=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 - = The new file name of the volume. -=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Update the V= olume sucessfully. +=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Update the V= olume successfully. @retval EFI_UNSUPPORTED=C2=A0 =C2=A0 =C2=A0- The input label is not a valid= volume label. @return other=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- An er= ror occurred when setting volume label. @@ -1246,7 +1246,7 @@ FatCloseDirEnt ( not be created either). @retval EFI_INVALID_PARAMETER - The parameter is not valid. @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Open the file= successfully. -=C2=A0 @return other=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0- An error occured when locating the OFile. +=C2=A0 @return other=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0- An error occurred when locating the OFile. **/ EFI_STATUS 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 =3D FatAllocateVolume (ControllerHandle, DiskIo, DiskIo2, BlockIo); // -=C2=A0 // When the media changes on a device it will Reinstall the BlockIo= interaface. +=C2=A0 // 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 98ead5a0fb..47358d4452 100644 --- a/FatPkg/EnhancedFatDxe/Fat.h +++ b/FatPkg/EnhancedFatDxe/Fat.h @@ -236,7 +236,7 @@ struct _FAT_OFILE { UINTN=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Signature; FAT_VOLUME=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 *Volume; // -=C2=A0 // A permanant error code to return to all accesses to +=C2=A0 // A permanent error code to return to all accesses to // this opened file // EFI_STATUS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Error; @@ -246,7 +246,7 @@ struct _FAT_OFILE { LIST_ENTRY=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Opens; // -=C2=A0 // The dynamic infomation +=C2=A0 // The dynamic information // UINTN=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0FileSize; UINTN=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0FileCluster; @@ -865,7 +865,7 @@ FatCleanupVolume ( @param=C2=A0 OFile=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0- The open file. -=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Shrin= ked sucessfully. +=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Shrin= ked successfully. @retval EFI_VOLUME_CORRUPTED=C2=A0 - There are errors in the file's cluster= s. **/ @@ -881,7 +881,7 @@ FatShrinkEof ( @param=C2=A0 OFile=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0- The open file. @param=C2=A0 NewSizeInBytes=C2=A0 =C2=A0 =C2=A0 =C2=A0 - The new size in by= tes of the open file. -=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- The f= ile is grown sucessfully. +=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- The f= ile is grown successfully. @retval EFI_UNSUPPORTED=C2=A0 =C2=A0 =C2=A0 =C2=A0- The file size is larger= than 4GB. @retval EFI_VOLUME_CORRUPTED=C2=A0 - There are errors in the files' cluster= s. @retval EFI_VOLUME_FULL=C2=A0 =C2=A0 =C2=A0 =C2=A0- The volume is full and = can not grow the file. @@ -969,7 +969,7 @@ FatComputeFreeInfo ( @param=C2=A0 Handle=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = - The handle of parent device. @param=C2=A0 DiskIo=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = - The DiskIo of parent device. @param=C2=A0 DiskIo2=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= - The DiskIo2 of parent device. -=C2=A0 @param=C2=A0 BlockIo=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0- The BlockIo of parent devicel +=C2=A0 @param=C2=A0 BlockIo=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0- The BlockIo of parent device. @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Allocate a ne= w volume successfully. @retval EFI_OUT_OF_RESOURCES=C2=A0 - Can not allocate the memory. @@ -1079,7 +1079,7 @@ FatDestroySubtask ( @param=C2=A0 IFile=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0- The instance of the open file. @param=C2=A0 Task=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 - The task to be executed. -=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- The t= ask was executed sucessfully. +=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- The t= ask was executed successfully. @return other=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= - An error occurred when executing the task. **/ @@ -1097,7 +1097,7 @@ FatQueueTask ( @param=C2=A0 IoMode=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = - The access mode. @param=C2=A0 DirtyValue=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 - Set the = volume as dirty or not. -=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Set t= he new FAT entry value sucessfully. +=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Set t= he new FAT entry value successfully. @return other=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= - An error occurred when operation the FAT entries. **/ @@ -1120,7 +1120,7 @@ FatAccessVolumeDirty ( @param=C2=A0 Task=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 point to task instance. @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- The operation= is performed successfully. -=C2=A0 @retval EFI_VOLUME_CORRUPTED=C2=A0 - The accesss is +=C2=A0 @retval EFI_VOLUME_CORRUPTED=C2=A0 - The access is @return Others=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 - The= status of read/write the disk **/ @@ -1710,7 +1710,7 @@ FatCloseDirEnt ( not be created either). @retval EFI_INVALID_PARAMETER - The parameter is not valid. @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Open the file= successfully. -=C2=A0 @return other=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0- An error occured when locating the OFile. +=C2=A0 @return other=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0- An error occurred when locating the OFile. **/ EFI_STATUS @@ -1728,7 +1728,7 @@ FatLocateOFile ( @param=C2=A0 Volume=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = - FAT file system volume. @param=C2=A0 Name=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 - The file name of the volume. -=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Updat= e the volume with the directory entry sucessfully. +=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Updat= e the volume with the directory entry successfully. @return others=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 - An = error occurred when getting volume label. **/ @@ -1745,7 +1745,7 @@ FatGetVolumeEntry ( @param=C2=A0 Volume=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 - FAT f= ile system volume. @param=C2=A0 Name=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 - = The new file name of the volume. -=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Update the V= olume sucessfully. +=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Update the V= olume successfully. @retval EFI_UNSUPPORTED=C2=A0 =C2=A0 =C2=A0- The input label is not a valid= volume label. @return other=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- An er= ror occurred when setting volume label. @@ -1863,7 +1863,7 @@ FatCreate8Dot3Name ( @param=C2=A0 FatName=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= - The Char8 string needs to be converted. @param=C2=A0 Len=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0- The length of the fat name. @param=C2=A0 LowerCase=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Ind= icate whether to convert the string to lower case. -=C2=A0 @param=C2=A0 Str=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0- The result of the convertion. +=C2=A0 @param=C2=A0 Str=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0- The result of the conversion. **/ VOID diff --git a/FatPkg/EnhancedFatDxe/FileName.c b/FatPkg/EnhancedFatDxe/FileN= ame.c index bab709d964..d2d1fb3117 100644 --- a/FatPkg/EnhancedFatDxe/FileName.c +++ b/FatPkg/EnhancedFatDxe/FileName.c @@ -100,7 +100,7 @@ FatCheckIs8Dot3Name ( Trim the trailing blanks of fat name. -=C2=A0 @param=C2=A0 Name=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 - The Char8 string needs to be trimed. +=C2=A0 @param=C2=A0 Name=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 - The Char8 string needs to be trimmed. @param=C2=A0 Len=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0- The length of the fat name. The real length of the fat name after the trailing blanks are trimmed. @@ -128,7 +128,7 @@ FatTrimAsciiTrailingBlanks ( @param=C2=A0 FatName=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= - The Char8 string needs to be converted. @param=C2=A0 Len=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0- The length of the fat name. @param=C2=A0 LowerCase=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Ind= icate whether to convert the string to lower case. -=C2=A0 @param=C2=A0 Str=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0- The result of the convertion. +=C2=A0 @param=C2=A0 Str=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0- The result of the conversion. **/ VOID diff --git a/FatPkg/EnhancedFatDxe/FileSpace.c b/FatPkg/EnhancedFatDxe/File= Space.c index 6659036039..a9d46fed74 100644 --- a/FatPkg/EnhancedFatDxe/FileSpace.c +++ b/FatPkg/EnhancedFatDxe/FileSpace.c @@ -129,7 +129,7 @@ FatGetFatEntry ( @param=C2=A0 Index=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0- The index of the FAT entry of the volume. @param=C2=A0 Value=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0- The new value of the FAT entry. -=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Set t= he new FAT entry value sucessfully. +=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Set t= he new FAT entry value successfully. @retval EFI_VOLUME_CORRUPTED=C2=A0 - The FAT type of the volume is error. @return other=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= - An error occurred when operation the FAT entries. @@ -223,7 +223,7 @@ FatSetFatEntry ( /** -=C2=A0 Free the cluster clain. +=C2=A0 Free the cluster chain. @param=C2=A0 Volume=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = - FAT file system volume. @param=C2=A0 Cluster=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= - The first cluster of cluster chain. @@ -343,7 +343,7 @@ FatSizeToClusters ( @param=C2=A0 OFile=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0- The open file. -=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Shrin= ked sucessfully. +=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Shrin= ked successfully. @retval EFI_VOLUME_CORRUPTED=C2=A0 - There are errors in the file's cluster= s. **/ @@ -416,7 +416,7 @@ FatShrinkEof ( @param=C2=A0 OFile=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0- The open file. @param=C2=A0 NewSizeInBytes=C2=A0 =C2=A0 =C2=A0 =C2=A0 - The new size in by= tes of the open file. -=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- The f= ile is grown sucessfully. +=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- The f= ile is grown successfully. @retval EFI_UNSUPPORTED=C2=A0 =C2=A0 =C2=A0 =C2=A0- The file size is larger= than 4GB. @retval EFI_VOLUME_CORRUPTED=C2=A0 - There are errors in the files' cluster= s. @retval EFI_VOLUME_FULL=C2=A0 =C2=A0 =C2=A0 =C2=A0- The volume is full and = can not grow the file. diff --git a/FatPkg/EnhancedFatDxe/Flush.c b/FatPkg/EnhancedFatDxe/Flush.c index e88557d77c..59b5014c73 100644 --- a/FatPkg/EnhancedFatDxe/Flush.c +++ b/FatPkg/EnhancedFatDxe/Flush.c @@ -226,7 +226,7 @@ FatOFileFlush ( // do { // -=C2=A0 =C2=A0 // If the file has a permanant error, then don't write any +=C2=A0 =C2=A0 // 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)) { diff --git a/FatPkg/EnhancedFatDxe/Info.c b/FatPkg/EnhancedFatDxe/Info.c index 1c9811cad0..fd4c0278f9 100644 --- a/FatPkg/EnhancedFatDxe/Info.c +++ b/FatPkg/EnhancedFatDxe/Info.c @@ -407,7 +407,7 @@ FatSetFileInfo ( // if (OFile->ODir !=3D NULL) { // -=C2=A0 =C2=A0 =C2=A0 // Syncronize its dot entry +=C2=A0 =C2=A0 =C2=A0 // Synchronize its dot entry // FatResetODirCursor (OFile); ASSERT (OFile->Parent !=3D NULL); diff --git a/FatPkg/EnhancedFatDxe/Init.c b/FatPkg/EnhancedFatDxe/Init.c index 530154bd25..4e6bd9d0fd 100644 --- a/FatPkg/EnhancedFatDxe/Init.c +++ b/FatPkg/EnhancedFatDxe/Init.c @@ -16,7 +16,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent @param=C2=A0 Handle=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = - The handle of parent device. @param=C2=A0 DiskIo=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = - The DiskIo of parent device. @param=C2=A0 DiskIo2=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= - The DiskIo2 of parent device. -=C2=A0 @param=C2=A0 BlockIo=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0- The BlockIo of parent devicel +=C2=A0 @param=C2=A0 BlockIo=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0- The BlockIo of parent device. @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Allocate a ne= w volume successfully. @retval EFI_OUT_OF_RESOURCES=C2=A0 - Can not allocate the memory. diff --git a/FatPkg/EnhancedFatDxe/Misc.c b/FatPkg/EnhancedFatDxe/Misc.c index bc19695fc9..a005036d46 100644 --- a/FatPkg/EnhancedFatDxe/Misc.c +++ b/FatPkg/EnhancedFatDxe/Misc.c @@ -114,7 +114,7 @@ FatDestroySubtask ( @param=C2=A0 IFile=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0- The instance of the open file. @param=C2=A0 Task=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 - The task to be executed. -=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- The t= ask was executed sucessfully. +=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- The t= ask was executed successfully. @return other=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= - An error occurred when executing the task. **/ @@ -219,7 +219,7 @@ FatQueueTask ( @param=C2=A0 IoMode=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = - The access mode. @param=C2=A0 DirtyValue=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 - Set the = volume as dirty or not. -=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Set t= he new FAT entry value sucessfully. +=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Set t= he new FAT entry value successfully. @return other=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= - An error occurred when operation the FAT entries. **/ @@ -304,7 +304,7 @@ FatOnAccessComplete ( @param=C2=A0 Task=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 point to task instance. @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- The operation= is performed successfully. -=C2=A0 @retval EFI_VOLUME_CORRUPTED=C2=A0 - The accesss is +=C2=A0 @retval EFI_VOLUME_CORRUPTED=C2=A0 - The access is @return Others=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 - The= status of read/write the disk **/ diff --git a/FatPkg/EnhancedFatDxe/Open.c b/FatPkg/EnhancedFatDxe/Open.c index cfd99baf7d..1b716e0cdf 100644 --- a/FatPkg/EnhancedFatDxe/Open.c +++ b/FatPkg/EnhancedFatDxe/Open.c @@ -74,7 +74,7 @@ FatAllocateIFile ( @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Open the file= successfully. @retval EFI_INVALID_PARAMETER - The open mode is conflict with the attribut= es or the file name is not valid. -=C2=A0 @retval EFI_NOT_FOUND=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Conficts b= etween dir intention and attribute. +=C2=A0 @retval EFI_NOT_FOUND=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Conflicts = between dir intention and attribute. @retval EFI_WRITE_PROTECTED=C2=A0 =C2=A0- Can't open for write if the volum= e is read only. @retval EFI_ACCESS_DENIED=C2=A0 =C2=A0 =C2=A0- If the file's attribute is r= ead only, and the open is for read-write fail it. diff --git a/FatPkg/FatPei/FatLiteApi.c b/FatPkg/FatPei/FatLiteApi.c index b9f883b9e0..69487615b7 100644 --- a/FatPkg/FatPei/FatLiteApi.c +++ b/FatPkg/FatPei/FatLiteApi.c @@ -12,7 +12,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent PEI_FAT_PRIVATE_DATA=C2=A0 *mPrivateData =3D NULL; /** -=C2=A0 BlockIo installation nofication function. Find out all the current = BlockIO +=C2=A0 BlockIo installation notification function. Find out all the curren= t BlockIO PPIs in the system and add them into private data. Assume there is @param=C2=A0 PeiServices=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Gen= eral purpose services available to every @@ -591,7 +591,7 @@ LoadRecoveryCapsule ( /** Finds the recovery file on a FAT volume. -=C2=A0 This function finds the the recovery file named FileName on a speci= fied FAT volume and returns +=C2=A0 This function finds the recovery file named FileName on a specified= FAT volume and returns its FileHandle pointer. @param=C2=A0 PrivateData=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Glo= bal memory map for accessing global @@ -600,7 +600,7 @@ LoadRecoveryCapsule ( @param=C2=A0 FileName=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 The recovery file name to find. @param=C2=A0 Handle=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 The output file handle. -=C2=A0 @retval EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0 =C2=A0 Some error occu= red when operating the FAT +=C2=A0 @retval EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0 =C2=A0 Some error occu= rred when operating the FAT volume. @retval EFI_NOT_FOUND=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0The recovery = file was not found. @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0The reco= very file was successfully found on the diff --git a/FatPkg/FatPei/FatLitePeim.h b/FatPkg/FatPei/FatLitePeim.h index 18534b9abb..9159edd677 100644 --- a/FatPkg/FatPei/FatLitePeim.h +++ b/FatPkg/FatPei/FatLitePeim.h @@ -185,7 +185,7 @@ typedef struct { /** Finds the recovery file on a FAT volume. -=C2=A0 This function finds the the recovery file named FileName on a speci= fied FAT volume and returns +=C2=A0 This function finds the recovery file named FileName on a specified= FAT volume and returns its FileHandle pointer. @param=C2=A0 PrivateData=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Glo= bal memory map for accessing global @@ -194,7 +194,7 @@ typedef struct { @param=C2=A0 FileName=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 The recovery file name to find. @param=C2=A0 Handle=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 The output file handle. -=C2=A0 @retval EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0 =C2=A0 Some error occu= red when operating the FAT +=C2=A0 @retval EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0 =C2=A0 Some error occu= rred when operating the FAT volume. @retval EFI_NOT_FOUND=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0The recovery = file was not found. @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0The reco= very file was successfully found on the -- 2.20.1 (Apple Git-117) -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#43044): https://edk2.groups.io/g/devel/message/43044 Mute This Topic: https://groups.io/mt/32250614/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --YuuC36qCuspzR2ggqRYz Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Fix various typos in FatPkg.
 
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Coeur <coeur@gmx.fr>
---
 FatPkg/EnhancedFatDxe/Delete.c         = ; |  2 +-
 FatPkg/EnhancedFatDxe/DirectoryManage.c | 10 +++++-----
 FatPkg/EnhancedFatDxe/Fat.c          &= nbsp;  |  2 +-
 FatPkg/EnhancedFatDxe/Fat.h          &= nbsp;  | 24 ++++++++++++------------
 FatPkg/EnhancedFatDxe/FileName.c        |&n= bsp; 4 ++--
 FatPkg/EnhancedFatDxe/FileSpace.c       |&n= bsp; 8 ++++----
 FatPkg/EnhancedFatDxe/Flush.c         =  |  2 +-
 FatPkg/EnhancedFatDxe/Info.c          =   |  2 +-
 FatPkg/EnhancedFatDxe/Init.c          =   |  2 +-
 FatPkg/EnhancedFatDxe/Misc.c          =   |  6 +++---
 FatPkg/EnhancedFatDxe/Open.c          =   |  2 +-
 FatPkg/FatPei/FatLiteApi.c          &n= bsp;   |  6 +++---
 FatPkg/FatPei/FatLitePeim.h          &= nbsp;  |  4 ++--
 13 files changed, 37 insertions(+), 37 deletions(-)
 
diff --git a/FatPkg/EnhancedFatDxe/Delete.c b/FatPkg/EnhancedFatDxe/D= elete.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 =3D OFile->Error;
   if (!EFI_ERROR (Status)) {
diff --git a/FatPkg/EnhancedFatDxe/DirectoryManage.c b/FatPkg/Enhance= dFatDxe/DirectoryManage.c
index 21656883bd..90c01b3baa 100644
--- a/FatPkg/EnhancedFatDxe/DirectoryManage.c
+++ b/FatPkg/EnhancedFatDxe/DirectoryManage.c
@@ -13,11 +13,11 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
   Get a directory entry from disk for the Ofile.
 
   @param  Parent          &n= bsp;     - 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          &nb= sp;      - The directory entry read or written.
 
-  @retval EFI_SUCCESS           -= Access the directory entry sucessfully.
+  @retval EFI_SUCCESS           -= Access the directory entry successfully.
   @return other            &= nbsp;    - An error occurred when reading the directory entry.
 
 **/
@@ -896,7 +896,7 @@ FatNewEntryPos (
   @param  Volume          &n= bsp;     - FAT file system volume.
   @param  Name          &nbs= p;       - The file name of the volume.
 
-  @retval EFI_SUCCESS           -= Update the volume with the directory entry sucessfully.
+  @retval EFI_SUCCESS           -= Update the volume with the directory entry successfully.
   @return others            =     - An error occurred when getting volume label.
 
 **/
@@ -927,7 +927,7 @@ FatGetVolumeEntry (
   @param  Volume          &n= bsp;   - FAT file system volume.
   @param  Name          &nbs= p;     - The new file name of the volume.
 
-  @retval EFI_SUCCESS         - Update= the Volume sucessfully.
+  @retval EFI_SUCCESS         - Update= the Volume successfully.
   @retval EFI_UNSUPPORTED     - The input l= abel is not a valid volume label.
   @return other            &= nbsp;  - An error occurred when setting volume label.
 
@@ -1246,7 +1246,7 @@ FatCloseDirEnt (
                   =        not be created either).
   @retval EFI_INVALID_PARAMETER - The parameter is not val= id.
   @retval EFI_SUCCESS          &n= bsp;- Open the file successfully.
-  @return other             =    - An error occured when locating the OFile.
+  @return other             =    - An error occurred when locating the OFile.
 
 **/
 EFI_STATUS
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 =3D FatAllocateVolume (ControllerHandle, DiskIo, = DiskIo2, BlockIo);
 
   //
-  // When the media changes on a device it will Reinstall the B= lockIo interaface.
+  // When the media changes on a device it will Reinstall the B= lockIo interface.
   // This will cause a call to our Stop(), and a subsequen= t 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 98ead5a0fb..47358d4452 100644
--- a/FatPkg/EnhancedFatDxe/Fat.h
+++ b/FatPkg/EnhancedFatDxe/Fat.h
@@ -236,7 +236,7 @@ struct _FAT_OFILE {
   UINTN              &n= bsp;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              &n= bsp;FileSize;
   UINTN              &n= bsp;FileCluster;
@@ -865,7 +865,7 @@ FatCleanupVolume (
 
   @param  OFile          &nb= sp;      - The open file.
 
-  @retval EFI_SUCCESS           -= Shrinked sucessfully.
+  @retval EFI_SUCCESS           -= Shrinked successfully.
   @retval EFI_VOLUME_CORRUPTED  - There are errors in= the file's clusters.
 
 **/
@@ -881,7 +881,7 @@ FatShrinkEof (
   @param  OFile          &nb= sp;      - The open file.
   @param  NewSizeInBytes        -= The new size in bytes of the open file.
 
-  @retval EFI_SUCCESS           -= The file is grown sucessfully.
+  @retval EFI_SUCCESS           -= The file is grown successfully.
   @retval EFI_UNSUPPORTED       - The = file size is larger than 4GB.
   @retval EFI_VOLUME_CORRUPTED  - There are errors in= the files' clusters.
   @retval EFI_VOLUME_FULL       - The = volume is full and can not grow the file.
@@ -969,7 +969,7 @@ FatComputeFreeInfo (
   @param  Handle          &n= bsp;     - The handle of parent device.
   @param  DiskIo          &n= bsp;     - The DiskIo of parent device.
   @param  DiskIo2          &= nbsp;    - The DiskIo2 of parent device.
-  @param  BlockIo           =    - The BlockIo of parent devicel
+  @param  BlockIo           =    - The BlockIo of parent device.
 
   @retval EFI_SUCCESS          &n= bsp;- Allocate a new volume successfully.
   @retval EFI_OUT_OF_RESOURCES  - Can not allocate th= e memory.
@@ -1079,7 +1079,7 @@ FatDestroySubtask (
   @param  IFile          &nb= sp;      - The instance of the open file.
   @param  Task          &nbs= p;       - The task to be executed.
 
-  @retval EFI_SUCCESS           -= The task was executed sucessfully.
+  @retval EFI_SUCCESS           -= The task was executed successfully.
   @return other            &= nbsp;    - An error occurred when executing the task.
 
 **/
@@ -1097,7 +1097,7 @@ FatQueueTask (
   @param  IoMode          &n= bsp;     - The access mode.
   @param  DirtyValue         = ;   - Set the volume as dirty or not.
 
-  @retval EFI_SUCCESS           -= Set the new FAT entry value sucessfully.
+  @retval EFI_SUCCESS           -= Set the new FAT entry value successfully.
   @return other            &= nbsp;    - An error occurred when operation the FAT entries.
 
 **/
@@ -1120,7 +1120,7 @@ FatAccessVolumeDirty (
   @param  Task          &nbs= p;         point to task instance.
 
   @retval EFI_SUCCESS          &n= bsp;- The operation is performed successfully.
-  @retval EFI_VOLUME_CORRUPTED  - The accesss is
+  @retval EFI_VOLUME_CORRUPTED  - The access is
   @return Others            =     - The status of read/write the disk
 
 **/
@@ -1710,7 +1710,7 @@ FatCloseDirEnt (
                   =        not be created either).
   @retval EFI_INVALID_PARAMETER - The parameter is not val= id.
   @retval EFI_SUCCESS          &n= bsp;- Open the file successfully.
-  @return other             =    - An error occured when locating the OFile.
+  @return other             =    - An error occurred when locating the OFile.
 
 **/
 EFI_STATUS
@@ -1728,7 +1728,7 @@ FatLocateOFile (
   @param  Volume          &n= bsp;     - FAT file system volume.
   @param  Name          &nbs= p;       - The file name of the volume.
 
-  @retval EFI_SUCCESS           -= Update the volume with the directory entry sucessfully.
+  @retval EFI_SUCCESS           -= Update the volume with the directory entry successfully.
   @return others            =     - An error occurred when getting volume label.
 
 **/
@@ -1745,7 +1745,7 @@ FatGetVolumeEntry (
   @param  Volume          &n= bsp;   - FAT file system volume.
   @param  Name          &nbs= p;     - The new file name of the volume.
 
-  @retval EFI_SUCCESS         - Update= the Volume sucessfully.
+  @retval EFI_SUCCESS         - Update= the Volume successfully.
   @retval EFI_UNSUPPORTED     - The input l= abel is not a valid volume label.
   @return other            &= nbsp;  - An error occurred when setting volume label.
 
@@ -1863,7 +1863,7 @@ FatCreate8Dot3Name (
   @param  FatName          &= nbsp;    - 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            &nb= sp;      - The result of the convertion.
+  @param  Str            &nb= sp;      - The result of the conversion.
 
 **/
 VOID
diff --git a/FatPkg/EnhancedFatDxe/FileName.c b/FatPkg/EnhancedFatDxe= /FileName.c
index bab709d964..d2d1fb3117 100644
--- a/FatPkg/EnhancedFatDxe/FileName.c
+++ b/FatPkg/EnhancedFatDxe/FileName.c
@@ -100,7 +100,7 @@ FatCheckIs8Dot3Name (
 
   Trim the trailing blanks of fat name.
 
-  @param  Name            &n= bsp;     - The Char8 string needs to be trimed.
+  @param  Name            &n= bsp;     - The Char8 string needs to be trimmed.
   @param  Len           = ;        - The length of the fat name.
 
   The real length of the fat name after the trailing blank= s are trimmed.
@@ -128,7 +128,7 @@ FatTrimAsciiTrailingBlanks (
   @param  FatName          &= nbsp;    - 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            &nb= sp;      - The result of the convertion.
+  @param  Str            &nb= sp;      - The result of the conversion.
 
 **/
 VOID
diff --git a/FatPkg/EnhancedFatDxe/FileSpace.c b/FatPkg/EnhancedFatDx= e/FileSpace.c
index 6659036039..a9d46fed74 100644
--- a/FatPkg/EnhancedFatDxe/FileSpace.c
+++ b/FatPkg/EnhancedFatDxe/FileSpace.c
@@ -129,7 +129,7 @@ FatGetFatEntry (
   @param  Index          &nb= sp;      - The index of the FAT entry of the volume.
   @param  Value          &nb= sp;      - The new value of the FAT entry.
 
-  @retval EFI_SUCCESS           -= Set the new FAT entry value sucessfully.
+  @retval EFI_SUCCESS           -= Set the new FAT entry value successfully.
   @retval EFI_VOLUME_CORRUPTED  - The FAT type of the= volume is error.
   @return other            &= nbsp;    - An error occurred when operation the FAT entries.
 
@@ -223,7 +223,7 @@ FatSetFatEntry (
 
 /**
 
-  Free the cluster clain.
+  Free the cluster chain.
 
   @param  Volume          &n= bsp;     - FAT file system volume.
   @param  Cluster          &= nbsp;    - The first cluster of cluster chain.
@@ -343,7 +343,7 @@ FatSizeToClusters (
 
   @param  OFile          &nb= sp;      - The open file.
 
-  @retval EFI_SUCCESS           -= Shrinked sucessfully.
+  @retval EFI_SUCCESS           -= Shrinked successfully.
   @retval EFI_VOLUME_CORRUPTED  - There are errors in= the file's clusters.
 
 **/
@@ -416,7 +416,7 @@ FatShrinkEof (
   @param  OFile          &nb= sp;      - The open file.
   @param  NewSizeInBytes        -= The new size in bytes of the open file.
 
-  @retval EFI_SUCCESS           -= The file is grown sucessfully.
+  @retval EFI_SUCCESS           -= The file is grown successfully.
   @retval EFI_UNSUPPORTED       - The = file size is larger than 4GB.
   @retval EFI_VOLUME_CORRUPTED  - There are errors in= the files' clusters.
   @retval EFI_VOLUME_FULL       - The = volume is full and can not grow the file.
diff --git a/FatPkg/EnhancedFatDxe/Flush.c b/FatPkg/EnhancedFatDxe/Fl= ush.c
index e88557d77c..59b5014c73 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 differe= nt media)
     //
     if (EFI_ERROR (OFile->Error)) {
diff --git a/FatPkg/EnhancedFatDxe/Info.c b/FatPkg/EnhancedFatDxe/Inf= o.c
index 1c9811cad0..fd4c0278f9 100644
--- a/FatPkg/EnhancedFatDxe/Info.c
+++ b/FatPkg/EnhancedFatDxe/Info.c
@@ -407,7 +407,7 @@ FatSetFileInfo (
     //
     if (OFile->ODir !=3D NULL) {
       //
-      // Syncronize its dot entry
+      // Synchronize its dot entry
       //
       FatResetODirCursor (OFile);
       ASSERT (OFile->Parent !=3D NULL);
diff --git a/FatPkg/EnhancedFatDxe/Init.c b/FatPkg/EnhancedFatDxe/Ini= t.c
index 530154bd25..4e6bd9d0fd 100644
--- a/FatPkg/EnhancedFatDxe/Init.c
+++ b/FatPkg/EnhancedFatDxe/Init.c
@@ -16,7 +16,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
   @param  Handle          &n= bsp;     - The handle of parent device.
   @param  DiskIo          &n= bsp;     - The DiskIo of parent device.
   @param  DiskIo2          &= nbsp;    - The DiskIo2 of parent device.
-  @param  BlockIo           =    - The BlockIo of parent devicel
+  @param  BlockIo           =    - The BlockIo of parent device.
 
   @retval EFI_SUCCESS          &n= bsp;- Allocate a new volume successfully.
   @retval EFI_OUT_OF_RESOURCES  - Can not allocate th= e memory.
diff --git a/FatPkg/EnhancedFatDxe/Misc.c b/FatPkg/EnhancedFatDxe/Mis= c.c
index bc19695fc9..a005036d46 100644
--- a/FatPkg/EnhancedFatDxe/Misc.c
+++ b/FatPkg/EnhancedFatDxe/Misc.c
@@ -114,7 +114,7 @@ FatDestroySubtask (
   @param  IFile          &nb= sp;      - The instance of the open file.
   @param  Task          &nbs= p;       - The task to be executed.
 
-  @retval EFI_SUCCESS           -= The task was executed sucessfully.
+  @retval EFI_SUCCESS           -= The task was executed successfully.
   @return other            &= nbsp;    - An error occurred when executing the task.
 
 **/
@@ -219,7 +219,7 @@ FatQueueTask (
   @param  IoMode          &n= bsp;     - The access mode.
   @param  DirtyValue         = ;   - Set the volume as dirty or not.
 
-  @retval EFI_SUCCESS           -= Set the new FAT entry value sucessfully.
+  @retval EFI_SUCCESS           -= Set the new FAT entry value successfully.
   @return other            &= nbsp;    - An error occurred when operation the FAT entries.
 
 **/
@@ -304,7 +304,7 @@ FatOnAccessComplete (
   @param  Task          &nbs= p;         point to task instance.
 
   @retval EFI_SUCCESS          &n= bsp;- The operation is performed successfully.
-  @retval EFI_VOLUME_CORRUPTED  - The accesss is
+  @retval EFI_VOLUME_CORRUPTED  - The access is
   @return Others            =     - The status of read/write the disk
 
 **/
diff --git a/FatPkg/EnhancedFatDxe/Open.c b/FatPkg/EnhancedFatDxe/Ope= n.c
index cfd99baf7d..1b716e0cdf 100644
--- a/FatPkg/EnhancedFatDxe/Open.c
+++ b/FatPkg/EnhancedFatDxe/Open.c
@@ -74,7 +74,7 @@ FatAllocateIFile (
   @retval EFI_SUCCESS          &n= bsp;- Open the file successfully.
   @retval EFI_INVALID_PARAMETER - The open mode is conflic= t with the attributes
                   =        or the file name is not valid.
-  @retval EFI_NOT_FOUND         - Conf= icts between dir intention and attribute.
+  @retval EFI_NOT_FOUND         - Conf= licts between dir intention and attribute.
   @retval EFI_WRITE_PROTECTED   - Can't open for= write if the volume is read only.
   @retval EFI_ACCESS_DENIED     - If the fi= le's attribute is read only, and the
                   =        open is for read-write fail it.
diff --git a/FatPkg/FatPei/FatLiteApi.c b/FatPkg/FatPei/FatLiteApi.c<= /div>
index b9f883b9e0..69487615b7 100644
--- a/FatPkg/FatPei/FatLiteApi.c
+++ b/FatPkg/FatPei/FatLiteApi.c
@@ -12,7 +12,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 PEI_FAT_PRIVATE_DATA  *mPrivateData =3D NULL;
 
 /**
-  BlockIo installation nofication function. Find out all the cu= rrent BlockIO
+  BlockIo installation notification function. Find out all the = current BlockIO
   PPIs in the system and add them into private data. Assum= e there is
 
   @param  PeiServices        &nbs= p;    General purpose services available to every
@@ -591,7 +591,7 @@ LoadRecoveryCapsule (
 
 /**
   Finds the recovery file on a FAT volume.
-  This function finds the the recovery file named FileName on a= specified FAT volume and returns
+  This function finds the recovery file named FileName on a spe= cified FAT volume and returns
   its FileHandle pointer.
 
   @param  PrivateData        &nbs= p;    Global memory map for accessing global
@@ -600,7 +600,7 @@ LoadRecoveryCapsule (
   @param  FileName          =       The recovery file name to find.
   @param  Handle          &n= bsp;       The output file handle.
 
-  @retval EFI_DEVICE_ERROR        Some erro= r occured when operating the FAT
+  @retval EFI_DEVICE_ERROR        Some erro= r occurred when operating the FAT
                   =                volume.
   @retval EFI_NOT_FOUND          =  The recovery file was not found.
   @retval EFI_SUCCESS          &n= bsp;  The recovery file was successfully found on the
diff --git a/FatPkg/FatPei/FatLitePeim.h b/FatPkg/FatPei/FatLitePeim.= h
index 18534b9abb..9159edd677 100644
--- a/FatPkg/FatPei/FatLitePeim.h
+++ b/FatPkg/FatPei/FatLitePeim.h
@@ -185,7 +185,7 @@ typedef struct {
 
 /**
   Finds the recovery file on a FAT volume.
-  This function finds the the recovery file named FileName on a= specified FAT volume and returns
+  This function finds the recovery file named FileName on a spe= cified FAT volume and returns
   its FileHandle pointer.
 
   @param  PrivateData        &nbs= p;    Global memory map for accessing global
@@ -194,7 +194,7 @@ typedef struct {
   @param  FileName          =       The recovery file name to find.
   @param  Handle          &n= bsp;       The output file handle.
 
-  @retval EFI_DEVICE_ERROR        Some erro= r occured when operating the FAT
+  @retval EFI_DEVICE_ERROR        Some erro= r occurred when operating the FAT
                   =                volume.
   @retval EFI_NOT_FOUND          =  The recovery file was not found.
   @retval EFI_SUCCESS          &n= bsp;  The recovery file was successfully found on the
-- 
2.20.1 (Apple Git-117)
 
_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#43044) | | Mu= te This Topic | New Topic

Your Subscripti= on | Contact Group Owner | Unsubscribe [importer@patchew.org]

_._,_._,_
--YuuC36qCuspzR2ggqRYz--