From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web12.33275.1661270450408431890 for ; Tue, 23 Aug 2022 09:00:50 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: pierre.gondois@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C6136152B; Tue, 23 Aug 2022 09:00:53 -0700 (PDT) Received: from pierre123.nice.arm.com (pierre123.nice.arm.com [10.34.100.116]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 55C923F718; Tue, 23 Aug 2022 09:00:49 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io Cc: Pierre Gondois , Ard Biesheuvel , Jiewen Yao Subject: [PATCH 15/24] OvmfPkg: Remove duplicated words Date: Tue, 23 Aug 2022 18:00:22 +0200 Message-Id: <20220823160031.991072-16-Pierre.Gondois@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220823160031.991072-1-Pierre.Gondois@arm.com> References: <20220823160031.991072-1-Pierre.Gondois@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Pierre Gondois In an effort to clean the documentation of the above package, remove duplicated words. Cc: Ard Biesheuvel Cc: Jiewen Yao Signed-off-by: Pierre Gondois --- OvmfPkg/Library/PeilessStartupLib/X64/VirtualMemory.c | 6 +++--- OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c | 2 +- OvmfPkg/Library/XenRealTimeClockLib/XenRealTimeClockLib.c | 2 +- OvmfPkg/QemuFlashFvbServicesRuntimeDxe/QemuFlashDxe.c | 2 +- OvmfPkg/SataControllerDxe/ComponentName.c | 4 ++-- OvmfPkg/SataControllerDxe/SataController.h | 4 ++-- OvmfPkg/XenBusDxe/ComponentName.c | 2 +- OvmfPkg/XenBusDxe/ComponentName.h | 2 +- OvmfPkg/XenPvBlkDxe/BlockFront.c | 2 +- OvmfPkg/XenPvBlkDxe/ComponentName.c | 2 +- OvmfPkg/XenPvBlkDxe/ComponentName.h | 2 +- 11 files changed, 15 insertions(+), 15 deletions(-) diff --git a/OvmfPkg/Library/PeilessStartupLib/X64/VirtualMemory.c b/Ovmf= Pkg/Library/PeilessStartupLib/X64/VirtualMemory.c index 8da06da74ef5..6877e521e485 100644 --- a/OvmfPkg/Library/PeilessStartupLib/X64/VirtualMemory.c +++ b/OvmfPkg/Library/PeilessStartupLib/X64/VirtualMemory.c @@ -813,7 +813,7 @@ CreateIdentityMappingPageTables ( { // // Each PML5 entry points to a page of PML4 entires. - // So lets allocate space for them and fill them in in the IndexOfPm= l4Entries loop. + // So lets allocate space for them and fill them in the IndexOfPml4E= ntries loop. // When 5-Level Paging is disabled, below allocation happens only on= ce. // PageMapLevel4Entry =3D (VOID *)BigPageAddress; @@ -835,7 +835,7 @@ CreateIdentityMappingPageTables ( { // // Each PML4 entry points to a page of Page Directory Pointer enti= res. - // So lets allocate space for them and fill them in in the IndexOf= PdpEntries loop. + // So lets allocate space for them and fill them in the IndexOfPdp= Entries loop. // PageDirectoryPointerEntry =3D (VOID *)BigPageAddress; BigPageAddress +=3D SIZE_4KB; @@ -875,7 +875,7 @@ CreateIdentityMappingPageTables ( { // // Each Directory Pointer entries points to a page of Page Dir= ectory entires. - // So allocate space for them and fill them in in the IndexOfP= ageDirectoryEntries loop. + // So allocate space for them and fill them in the IndexOfPage= DirectoryEntries loop. // PageDirectoryEntry =3D (VOID *)BigPageAddress; BigPageAddress +=3D SIZE_4KB; diff --git a/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c b/OvmfPkg/= Library/PlatformDebugLibIoPort/DebugLib.c index 4e25f198aa76..a4c12b9057e5 100644 --- a/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c +++ b/OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c @@ -259,7 +259,7 @@ DebugClearMemory ( ASSERT (Buffer !=3D NULL); =20 // - // SetMem() checks for the the ASSERT() condition on Length and return= s Buffer + // SetMem() checks for the ASSERT() condition on Length and returns Bu= ffer // return SetMem (Buffer, Length, PcdGet8 (PcdDebugClearMemoryValue)); } diff --git a/OvmfPkg/Library/XenRealTimeClockLib/XenRealTimeClockLib.c b/= OvmfPkg/Library/XenRealTimeClockLib/XenRealTimeClockLib.c index 7f37710b964f..30c258313135 100644 --- a/OvmfPkg/Library/XenRealTimeClockLib/XenRealTimeClockLib.c +++ b/OvmfPkg/Library/XenRealTimeClockLib/XenRealTimeClockLib.c @@ -108,7 +108,7 @@ LibGetTime ( =20 @retval EFI_SUCCESS The operation completed successfully. @retval EFI_INVALID_PARAMETER A time field is out of range. - @retval EFI_DEVICE_ERROR The time could not be set due due to har= dware error. + @retval EFI_DEVICE_ERROR The time could not be set due to hardwar= e error. =20 **/ EFI_STATUS diff --git a/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/QemuFlashDxe.c b/Ovmf= Pkg/QemuFlashFvbServicesRuntimeDxe/QemuFlashDxe.c index 9e074c29bb2b..172d6a4267f8 100644 --- a/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/QemuFlashDxe.c +++ b/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/QemuFlashDxe.c @@ -79,7 +79,7 @@ QemuFlashPtrWrite ( // Writing to flash is emulated by the hypervisor through the use of= write // protection. This won't work for an SEV-ES guest because the write= won't // be recognized as a true MMIO write, which would result in the req= uired - // #VC exception. Instead, use the the VMGEXIT MMIO write support di= rectly + // #VC exception. Instead, use the VMGEXIT MMIO write support direct= ly // to perform the update. // VmgInit (Ghcb, &InterruptState); diff --git a/OvmfPkg/SataControllerDxe/ComponentName.c b/OvmfPkg/SataCont= rollerDxe/ComponentName.c index d45803f95f6e..7b5912bab822 100644 --- a/OvmfPkg/SataControllerDxe/ComponentName.c +++ b/OvmfPkg/SataControllerDxe/ComponentName.c @@ -59,7 +59,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE = mSataControllerControlle =20 @param This A pointer to the EFI_COMPONENT_NAME_PROTOCOL ins= tance. @param Language A pointer to a three character ISO 639-2 languag= e identifier. - This is the language of the driver name that tha= t the caller + This is the language of the driver name that the= caller is requesting, and it must match one of the lang= uages specified in SupportedLanguages. The number of languages = supported by a driver is up to the driver writer. @@ -108,7 +108,7 @@ SataControllerComponentNameGetDriverName ( that wishes to retrieve the name of a ch= ild controller. @param Language A pointer to a three character ISO 639-2= language identifier. This is the language of the= controller name - that that the caller is requesting, and = it must match one + that the caller is requesting, and it mu= st match one of the languages specified in SupportedL= anguages. The number of languages supported by a drive= r is up to the driver writer. diff --git a/OvmfPkg/SataControllerDxe/SataController.h b/OvmfPkg/SataCon= trollerDxe/SataController.h index ad93ab1d98c3..cb1abacfdc0f 100644 --- a/OvmfPkg/SataControllerDxe/SataController.h +++ b/OvmfPkg/SataControllerDxe/SataController.h @@ -465,7 +465,7 @@ IdeInitSetTiming ( =20 @param This A pointer to the EFI_COMPONENT_NAME_PROTOCOL ins= tance. @param Language A pointer to a three character ISO 639-2 languag= e identifier. - This is the language of the driver name that tha= t the caller + This is the language of the driver name that the= caller is requesting, and it must match one of the lang= uages specified in SupportedLanguages. The number of languages = supported by a driver is up to the driver writer. @@ -506,7 +506,7 @@ SataControllerComponentNameGetDriverName ( that wishes to retrieve the name of a ch= ild controller. @param Language A pointer to a three character ISO 639-2= language identifier. This is the language of the= controller name - that that the caller is requesting, and = it must match one + that the caller is requesting, and it mu= st match one of the languages specified in SupportedL= anguages. The number of languages supported by a drive= r is up to the driver writer. diff --git a/OvmfPkg/XenBusDxe/ComponentName.c b/OvmfPkg/XenBusDxe/Compon= entName.c index 9141e9264fc9..a5622bfef93b 100644 --- a/OvmfPkg/XenBusDxe/ComponentName.c +++ b/OvmfPkg/XenBusDxe/ComponentName.c @@ -52,7 +52,7 @@ EFI_UNICODE_STRING_TABLE mXenBusDxeControllerNameTable= [] =3D { =20 @param This A pointer to the EFI_COMPONENT_NAME_PROTOCOL instan= ce. @param Language A pointer to a three-character ISO 639-2 language i= dentifier. - This is the language of the driver name that that t= he caller + This is the language of the driver name that the ca= ller is requesting, and it must match one of the languag= es specified in SupportedLanguages. The number of languages sup= ported by a driver is up to the driver writer. diff --git a/OvmfPkg/XenBusDxe/ComponentName.h b/OvmfPkg/XenBusDxe/Compon= entName.h index 592c5426dd77..88f3fe5b017b 100644 --- a/OvmfPkg/XenBusDxe/ComponentName.h +++ b/OvmfPkg/XenBusDxe/ComponentName.h @@ -12,7 +12,7 @@ =20 @param This A pointer to the EFI_COMPONENT_NAME_PROTOCOL instan= ce. @param Language A pointer to a three-character ISO 639-2 language i= dentifier. - This is the language of the driver name that that t= he caller + This is the language of the driver name that the ca= ller is requesting, and it must match one of the languag= es specified in SupportedLanguages. The number of languages sup= ported by a driver is up to the driver writer. diff --git a/OvmfPkg/XenPvBlkDxe/BlockFront.c b/OvmfPkg/XenPvBlkDxe/Block= Front.c index 7aa5ef044be0..1827cc58e390 100644 --- a/OvmfPkg/XenPvBlkDxe/BlockFront.c +++ b/OvmfPkg/XenPvBlkDxe/BlockFront.c @@ -88,7 +88,7 @@ XenPvBlockFree ( } =20 /** - Wait until until the backend has reached the ExpectedState. + Wait until the backend has reached the ExpectedState. =20 @param Dev A XEN_BLOCK_FRONT_DEVICE instance. @param ExpectedState The backend state expected. diff --git a/OvmfPkg/XenPvBlkDxe/ComponentName.c b/OvmfPkg/XenPvBlkDxe/Co= mponentName.c index 6a27822749aa..f1fd7830fb1d 100644 --- a/OvmfPkg/XenPvBlkDxe/ComponentName.c +++ b/OvmfPkg/XenPvBlkDxe/ComponentName.c @@ -52,7 +52,7 @@ EFI_UNICODE_STRING_TABLE mXenPvBlkDxeControllerNameTab= le[] =3D { =20 @param This A pointer to the EFI_COMPONENT_NAME_PROTOCOL instan= ce. @param Language A pointer to a three-character ISO 639-2 language i= dentifier. - This is the language of the driver name that that t= he caller + This is the language of the driver name that the ca= ller is requesting, and it must match one of the languag= es specified in SupportedLanguages. The number of languages sup= ported by a driver is up to the driver writer. diff --git a/OvmfPkg/XenPvBlkDxe/ComponentName.h b/OvmfPkg/XenPvBlkDxe/Co= mponentName.h index 12ea12601d7f..cd897966931f 100644 --- a/OvmfPkg/XenPvBlkDxe/ComponentName.h +++ b/OvmfPkg/XenPvBlkDxe/ComponentName.h @@ -12,7 +12,7 @@ =20 @param This A pointer to the EFI_COMPONENT_NAME_PROTOCOL instan= ce. @param Language A pointer to a three-character ISO 639-2 language i= dentifier. - This is the language of the driver name that that t= he caller + This is the language of the driver name that the ca= ller is requesting, and it must match one of the languag= es specified in SupportedLanguages. The number of languages sup= ported by a driver is up to the driver writer. --=20 2.25.1