From nobody Mon Apr 29 16:44:25 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+49243+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+49243+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1571426117; cv=none; d=zoho.com; s=zohoarc; b=jpeU69JdRSb/oX5Jzp5RwiITcsEyhg1ODgIuOi9yPZJFnbeaTU9FiRf7b/Y/6nNDXkzZOGnIk+pHeXEmQGuxQDtvIjz4ViQDR6o21AwoeAXszLljGXZdaCbrQXaotZkDU4o1o7IzxQRPWDYPUeErKANPZnfTDLw8yh/RSng8Rfc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1571426117; h=Content-Transfer-Encoding:Cc:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=zW5CK7g2amd/ucfO8eJOVu5mpDSW8Z8I7bzD8T7AE5Y=; b=Tt6ijWBZz2n5M5DyHWUubu9aKKOGdZeG1byGJsEVJUjxBjwgD+nO/S2hFF5OS7hMiYSc5ri4Z/FqMs/hxbMwcq+hO+Ris8rXFUaR1mqK4hytu2R4ImatV4UURspwXkeZxgbm7/i4qtttWlZqcN/k53PsltDnrLX5krXqLL0Ga3g= 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+49243+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1571426117881603.7597213689405; Fri, 18 Oct 2019 12:15:17 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id qAWCYY1788612xi5lbHy65g1; Fri, 18 Oct 2019 12:15:16 -0700 X-Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web09.740.1571426116364836494 for ; Fri, 18 Oct 2019 12:15:16 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Oct 2019 12:15:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,312,1566889200"; d="scan'208";a="196283516" X-Received: from unknown (HELO mdkinney-MOBL2.amr.corp.intel.com) ([10.241.111.156]) by fmsmga007.fm.intel.com with ESMTP; 18 Oct 2019 12:15:15 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Sean Brogan , Ray Ni Subject: [edk2-devel] [Patch] FatPkg: Fix spelling errors Date: Fri, 18 Oct 2019 12:15:13 -0700 Message-Id: <20191018191513.4500-1-michael.d.kinney@intel.com> MIME-Version: 1.0 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,michael.d.kinney@intel.com X-Gm-Message-State: wsXDuZU2wcDdkWB60OXgj0Xjx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1571426116; bh=U0eVxAoAjUuIRgMAfCWgt6uMGPueFj/2DY0sQ74zXyc=; h=Cc:Date:From:Reply-To:Subject:To; b=l6K21NCXNIj+AfEKjOVgS53r3PtRwAjoMSyCojz4o3asYScwgL2imx7XjHxbUtFWQfH MfwZ0Z8xdEvQd+Pct4AIwA3zK3hejyLhU460o3oUYcieJhm+mHFFAo9baT8VPlx3TE9rg 7tXdwC+T3wNaQ6Fs9rn6o5+MorKQs88oYX0= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" From: Sean Brogan https://bugzilla.tianocore.org/show_bug.cgi?id=3D2264 Cc: Ray Ni Signed-off-by: Michael D Kinney Reviewed-by: Ray Ni --- FatPkg/EnhancedFatDxe/DirectoryManage.c | 8 ++++---- FatPkg/EnhancedFatDxe/DiskCache.c | 2 +- FatPkg/EnhancedFatDxe/Fat.h | 20 ++++++++++---------- FatPkg/EnhancedFatDxe/FileName.c | 2 +- FatPkg/EnhancedFatDxe/FileSpace.c | 6 +++--- FatPkg/EnhancedFatDxe/Info.c | 2 +- FatPkg/EnhancedFatDxe/Init.c | 2 +- FatPkg/EnhancedFatDxe/Misc.c | 6 +++--- FatPkg/EnhancedFatDxe/Open.c | 2 +- FatPkg/FatPei/FatLiteApi.c | 6 +++--- FatPkg/FatPei/FatLitePeim.h | 4 ++-- FatPkg/FatPei/Gpt.c | 2 +- FatPkg/FatPei/Mbr.c | 2 +- 13 files changed, 32 insertions(+), 32 deletions(-) diff --git a/FatPkg/EnhancedFatDxe/DirectoryManage.c b/FatPkg/EnhancedFatDx= e/DirectoryManage.c index 21656883bd..93772dba09 100644 --- a/FatPkg/EnhancedFatDxe/DirectoryManage.c +++ b/FatPkg/EnhancedFatDxe/DirectoryManage.c @@ -17,7 +17,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent @param EntryPos - The position of the directory entry to b= e accessed. @param Entry - The directory entry read or written. =20 - @retval EFI_SUCCESS - Access the directory entry sucessfully. + @retval EFI_SUCCESS - Access the directory entry successfully. @return other - An error occurred when reading the direc= tory entry. =20 **/ @@ -896,7 +896,7 @@ FatNewEntryPos ( @param Volume - FAT file system volume. @param Name - The file name of the volume. =20 - @retval EFI_SUCCESS - Update the volume with the directory ent= ry sucessfully. + @retval EFI_SUCCESS - Update the volume with the directory ent= ry successfully. @return others - An error occurred when getting volume la= bel. =20 **/ @@ -927,7 +927,7 @@ FatGetVolumeEntry ( @param Volume - FAT file system volume. @param Name - The new file name of the volume. =20 - @retval EFI_SUCCESS - Update the Volume sucessfully. + @retval EFI_SUCCESS - Update the Volume successfully. @retval EFI_UNSUPPORTED - The input label is not a valid volume labe= l. @return other - An error occurred when setting volume labe= l. =20 @@ -1246,7 +1246,7 @@ FatCloseDirEnt ( not be created either). @retval EFI_INVALID_PARAMETER - The parameter is not valid. @retval EFI_SUCCESS - Open the file successfully. - @return other - An error occured when locating the OFile. + @return other - An error occurred when locating the OFil= e. =20 **/ EFI_STATUS diff --git a/FatPkg/EnhancedFatDxe/DiskCache.c b/FatPkg/EnhancedFatDxe/Disk= Cache.c index 2df0aa09f1..df587810fb 100644 --- a/FatPkg/EnhancedFatDxe/DiskCache.c +++ b/FatPkg/EnhancedFatDxe/DiskCache.c @@ -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. =20 When this function is called by read command, if any entry in this range - is dirty, it means that the relative info directly readed from media is = older than + is dirty, it means that the relative info directly read from media is ol= der than than the info in the cache; So need to update the relative info in the B= uffer. =20 @param Volume - FAT file system volume. diff --git a/FatPkg/EnhancedFatDxe/Fat.h b/FatPkg/EnhancedFatDxe/Fat.h index 98ead5a0fb..46c185c3a9 100644 --- a/FatPkg/EnhancedFatDxe/Fat.h +++ b/FatPkg/EnhancedFatDxe/Fat.h @@ -865,7 +865,7 @@ FatCleanupVolume ( =20 @param OFile - The open file. =20 - @retval EFI_SUCCESS - Shrinked sucessfully. + @retval EFI_SUCCESS - Shrinked successfully. @retval EFI_VOLUME_CORRUPTED - There are errors in the file's clusters. =20 **/ @@ -881,7 +881,7 @@ FatShrinkEof ( @param OFile - The open file. @param NewSizeInBytes - The new size in bytes of the open file. =20 - @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 - The handle of parent device. @param DiskIo - The DiskIo of parent device. @param DiskIo2 - The DiskIo2 of parent device. - @param BlockIo - The BlockIo of parent devicel + @param BlockIo - The BlockIo of parent device. =20 @retval EFI_SUCCESS - Allocate a new volume successfully. @retval EFI_OUT_OF_RESOURCES - Can not allocate the memory. @@ -1079,7 +1079,7 @@ FatDestroySubtask ( @param IFile - The instance of the open file. @param Task - The task to be executed. =20 - @retval EFI_SUCCESS - The task was executed sucessfully. + @retval EFI_SUCCESS - The task was executed successfully. @return other - An error occurred when executing the tas= k. =20 **/ @@ -1097,7 +1097,7 @@ FatQueueTask ( @param IoMode - The access mode. @param DirtyValue - Set the volume as dirty or not. =20 - @retval EFI_SUCCESS - Set the new FAT entry value sucessfully. + @retval EFI_SUCCESS - Set the new FAT entry value successfully. @return other - An error occurred when operation the FAT= entries. =20 **/ @@ -1120,7 +1120,7 @@ FatAccessVolumeDirty ( @param Task point to task instance. =20 @retval EFI_SUCCESS - 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 =20 **/ @@ -1361,7 +1361,7 @@ FatStriCmp ( @retval EFI_SUCCESS - Open the file successfully. @retval EFI_INVALID_PARAMETER - The open mode is conflict with the attri= butes or the file name is not valid. - @retval EFI_NOT_FOUND - Conficts between dir intention and attri= bute. + @retval EFI_NOT_FOUND - Conflicts between dir intention and attr= ibute. @retval EFI_WRITE_PROTECTED - Can't open for write if the volume is re= ad only. @retval EFI_ACCESS_DENIED - If the file's attribute is read only, an= d the open is for read-write fail it. @@ -1710,7 +1710,7 @@ FatCloseDirEnt ( not be created either). @retval EFI_INVALID_PARAMETER - The parameter is not valid. @retval EFI_SUCCESS - Open the file successfully. - @return other - An error occured when locating the OFile. + @return other - An error occurred when locating the OFil= e. =20 **/ EFI_STATUS @@ -1728,7 +1728,7 @@ FatLocateOFile ( @param Volume - FAT file system volume. @param Name - The file name of the volume. =20 - @retval EFI_SUCCESS - Update the volume with the directory ent= ry sucessfully. + @retval EFI_SUCCESS - Update the volume with the directory ent= ry successfully. @return others - An error occurred when getting volume la= bel. =20 **/ @@ -1745,7 +1745,7 @@ FatGetVolumeEntry ( @param Volume - FAT file system volume. @param Name - The new file name of the volume. =20 - @retval EFI_SUCCESS - Update the Volume sucessfully. + @retval EFI_SUCCESS - Update the Volume successfully. @retval EFI_UNSUPPORTED - The input label is not a valid volume labe= l. @return other - An error occurred when setting volume labe= l. =20 diff --git a/FatPkg/EnhancedFatDxe/FileName.c b/FatPkg/EnhancedFatDxe/FileN= ame.c index bab709d964..256db30954 100644 --- a/FatPkg/EnhancedFatDxe/FileName.c +++ b/FatPkg/EnhancedFatDxe/FileName.c @@ -100,7 +100,7 @@ FatCheckIs8Dot3Name ( =20 Trim the trailing blanks of fat name. =20 - @param Name - The Char8 string needs to be trimed. + @param Name - The Char8 string needs to be trimmed. @param Len - The length of the fat name. =20 The real length of the fat name after the trailing blanks are trimmed. diff --git a/FatPkg/EnhancedFatDxe/FileSpace.c b/FatPkg/EnhancedFatDxe/File= Space.c index 6659036039..0dd66e0c53 100644 --- a/FatPkg/EnhancedFatDxe/FileSpace.c +++ b/FatPkg/EnhancedFatDxe/FileSpace.c @@ -129,7 +129,7 @@ FatGetFatEntry ( @param Index - The index of the FAT entry of the volume. @param Value - The new value of the FAT entry. =20 - @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 - An error occurred when operation the FAT= entries. =20 @@ -343,7 +343,7 @@ FatSizeToClusters ( =20 @param OFile - The open file. =20 - @retval EFI_SUCCESS - Shrinked sucessfully. + @retval EFI_SUCCESS - Shrinked successfully. @retval EFI_VOLUME_CORRUPTED - There are errors in the file's clusters. =20 **/ @@ -416,7 +416,7 @@ FatShrinkEof ( @param OFile - The open file. @param NewSizeInBytes - The new size in bytes of the open file. =20 - @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/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) { // - // 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/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 Handle - The handle of parent device. @param DiskIo - The DiskIo of parent device. @param DiskIo2 - The DiskIo2 of parent device. - @param BlockIo - The BlockIo of parent devicel + @param BlockIo - The BlockIo of parent device. =20 @retval EFI_SUCCESS - Allocate a new volume successfully. @retval EFI_OUT_OF_RESOURCES - 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 IFile - The instance of the open file. @param Task - The task to be executed. =20 - @retval EFI_SUCCESS - The task was executed sucessfully. + @retval EFI_SUCCESS - The task was executed successfully. @return other - An error occurred when executing the tas= k. =20 **/ @@ -219,7 +219,7 @@ FatQueueTask ( @param IoMode - The access mode. @param DirtyValue - Set the volume as dirty or not. =20 - @retval EFI_SUCCESS - Set the new FAT entry value sucessfully. + @retval EFI_SUCCESS - Set the new FAT entry value successfully. @return other - An error occurred when operation the FAT= entries. =20 **/ @@ -304,7 +304,7 @@ FatOnAccessComplete ( @param Task point to task instance. =20 @retval EFI_SUCCESS - 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 =20 **/ 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 - Open the file successfully. @retval EFI_INVALID_PARAMETER - The open mode is conflict with the attri= butes or the file name is not valid. - @retval EFI_NOT_FOUND - Conficts between dir intention and attri= bute. + @retval EFI_NOT_FOUND - Conflicts between dir intention and attr= ibute. @retval EFI_WRITE_PROTECTED - Can't open for write if the volume is re= ad only. @retval EFI_ACCESS_DENIED - If the file's attribute is read only, an= d the open is for read-write fail it. diff --git a/FatPkg/FatPei/FatLiteApi.c b/FatPkg/FatPei/FatLiteApi.c index b9f883b9e0..8c7c6e5258 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; =20 /** - BlockIo installation nofication function. Find out all the current Block= IO + BlockIo installation notification function. Find out all the current Blo= ckIO PPIs in the system and add them into private data. Assume there is =20 @param PeiServices General purpose services available to ev= ery @@ -256,7 +256,7 @@ FatPeimEntry ( =20 Status =3D PeiServicesAllocatePages ( EfiBootServicesCode, - (sizeof (PEI_FAT_PRIVATE_DATA) - 1) / PEI_FAT_MEMMORY_PAGE_SIZ= E + 1, + (sizeof (PEI_FAT_PRIVATE_DATA) - 1) / PEI_FAT_MEMORY_PAGE_SIZE= + 1, &Address ); if (EFI_ERROR (Status)) { @@ -600,7 +600,7 @@ LoadRecoveryCapsule ( @param FileName The recovery file name to find. @param Handle The output file handle. =20 - @retval EFI_DEVICE_ERROR Some error occured when operating the FAT + @retval EFI_DEVICE_ERROR Some error occurred when operating the F= AT volume. @retval EFI_NOT_FOUND The recovery file was not found. @retval EFI_SUCCESS The recovery file was successfully found= on the diff --git a/FatPkg/FatPei/FatLitePeim.h b/FatPkg/FatPei/FatLitePeim.h index 18534b9abb..9cacf74ace 100644 --- a/FatPkg/FatPei/FatLitePeim.h +++ b/FatPkg/FatPei/FatLitePeim.h @@ -40,7 +40,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #define PEI_FAT_MAX_BLOCK_IO_PPI 32 #define PEI_FAT_MAX_VOLUME 64 =20 -#define PEI_FAT_MEMMORY_PAGE_SIZE 0x1000 +#define PEI_FAT_MEMORY_PAGE_SIZE 0x1000 =20 // // Data Structures @@ -194,7 +194,7 @@ typedef struct { @param FileName The recovery file name to find. @param Handle The output file handle. =20 - @retval EFI_DEVICE_ERROR Some error occured when operating the FAT + @retval EFI_DEVICE_ERROR Some error occurred when operating the F= AT volume. @retval EFI_NOT_FOUND The recovery file was not found. @retval EFI_SUCCESS The recovery file was successfully found= on the diff --git a/FatPkg/FatPei/Gpt.c b/FatPkg/FatPei/Gpt.c index 233a66b974..4028c535f3 100644 --- a/FatPkg/FatPei/Gpt.c +++ b/FatPkg/FatPei/Gpt.c @@ -48,7 +48,7 @@ PartitionCheckGptHeaderCRC ( GptHdrCrc =3D PartHeader->Header.CRC32; =20 // - // Set CRC field to zero when doing calcuation + // Set CRC field to zero when doing calculation // PartHeader->Header.CRC32 =3D 0; =20 diff --git a/FatPkg/FatPei/Mbr.c b/FatPkg/FatPei/Mbr.c index 0b6375af6d..5b01604c07 100644 --- a/FatPkg/FatPei/Mbr.c +++ b/FatPkg/FatPei/Mbr.c @@ -52,7 +52,7 @@ PartitionValidMbr ( if (EndingLBA > LastLba) { // // Compatability Errata: - // Some systems try to hide drive space with thier INT 13h driver + // Some systems try to hide drive space with their INT 13h driver // This does not hide space from the OS driver. This means the MBR // that gets created from DOS is smaller than the MBR created from // a real OS (NT & Win98). This leads to BlockIo->LastBlock being --=20 2.21.0.windows.1 -=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 (#49243): https://edk2.groups.io/g/devel/message/49243 Mute This Topic: https://groups.io/mt/35084831/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-