From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.61]) by mx.groups.io with SMTP id smtpd.web09.1839.1578042520948972307 for ; Fri, 03 Jan 2020 01:08:41 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VDsWGoD2; spf=pass (domain: redhat.com, ip: 205.139.110.61, mailfrom: philmd@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578042520; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ofSQaEmTTLy+ZX/NPHpNhyCzugTjGD3DXgG7Bj2yo/4=; b=VDsWGoD2p0FlhWSjlKmOaE17v+4kAj96ekltVEHX09xerBeF6NwzmfZV7Zh4v0sDmRGD8M 7sgQGtt4vVEb7Lqq4P0skC9GwWeiOYBNRI9hf/xwVlvgPXKzrCFr1vi5VxcGO1UC4RqRMI bB8TJyOOAetiE4HCAiMzgQ2USTjKl+E= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-66-dzBsXw9INOaW8wjdxnPdmg-1; Fri, 03 Jan 2020 04:08:37 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 98C181800D42; Fri, 3 Jan 2020 09:08:36 +0000 (UTC) Received: from x1w.redhat.com (ovpn-116-190.ams2.redhat.com [10.36.116.190]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0E1FA7BA25; Fri, 3 Jan 2020 09:08:32 +0000 (UTC) From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= To: devel@edk2.groups.io Cc: Antoine Coeur , Ray Ni , Philippe Mathieu-Daude Subject: [PATCH v2 07/78] FatPkg/EnhancedFatDxe: Fix various typos Date: Fri, 3 Jan 2020 10:07:01 +0100 Message-Id: <20200103090812.10592-8-philmd@redhat.com> In-Reply-To: <20200103090812.10592-1-philmd@redhat.com> References: <20200103090812.10592-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-MC-Unique: dzBsXw9INOaW8wjdxnPdmg-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Antoine Coeur Fix various typos in FatPkg/EnhancedFatDxe comments. Cc: Ray Ni Signed-off-by: Antoine Coeur Reviewed-by: Philippe Mathieu-Daude Signed-off-by: Philippe Mathieu-Daude --- 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; =20 // - // 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 t= o lower case. - @param Str - The result of the convertion. + @param Str - The result of the conversion. =20 **/ 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 =3D OFile->Error; if (!EFI_ERROR (Status)) { diff --git a/FatPkg/EnhancedFatDxe/DirectoryManage.c b/FatPkg/EnhancedFatDx= e/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. =20 @param Parent - The parent of the OFile which need to up= date. - @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 b= e accessed. @param Entry - The directory entry read or written. =20 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 =3D FatAllocateVolume (ControllerHandle, DiskIo, DiskIo2, BlockIo= ); =20 // - // When the media changes on a device it will Reinstall the BlockIo inte= raface. + // When the media changes on a device it will Reinstall the BlockIo inte= rface. // 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 happe= n. // diff --git a/FatPkg/EnhancedFatDxe/FileName.c b/FatPkg/EnhancedFatDxe/FileN= ame.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 t= o lower case. - @param Str - The result of the convertion. + @param Str - The result of the conversion. =20 **/ VOID diff --git a/FatPkg/EnhancedFatDxe/FileSpace.c b/FatPkg/EnhancedFatDxe/File= Space.c index 0dd66e0c53af..f57e44e3680a 100644 --- a/FatPkg/EnhancedFatDxe/FileSpace.c +++ b/FatPkg/EnhancedFatDxe/FileSpace.c @@ -223,7 +223,7 @@ FatSetFatEntry ( =20 /** =20 - Free the cluster clain. + Free the cluster chain. =20 @param Volume - FAT file system volume. @param Cluster - The first cluster of cluster chain. @@ -575,8 +575,8 @@ FatOFilePosition ( ASSERT_VOLUME_LOCKED (Volume); =20 // - // 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 =3D 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 ( =20 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. =20 @param Volume - The volume to check the pending open fil= e list. --=20 2.21.0