From nobody Thu May 9 16:52:11 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+94656+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+94656+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1664783262; cv=none; d=zohomail.com; s=zohoarc; b=gL2uyMdZi+M3AqcEZ0+h35Flj1S4G1Ub1Ymsoqs/0HGtim1sBhxjCm+Xg4Z9IcRHYd/Mtzq67P6uoPqsyZsnUPbdmK9b2Fa6hctcll2FsaprFMlRPsgDOt9KEHGw555hPQSZNMiFhUWapgXeh1FZD0EXqkbzWFlqiWM0zaPbEB0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1664783262; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=JqvURKmgX2DVp5arHLplgx9KwaB1Y8MPTjQN3Phz3no=; b=D/ylKxj5WzKvA0haVgLwdIZKnJsVDi5tKIWu3WHcn+U07M5I2CysCrbyiuZI8siRAhJwRs3QxFXOLw83A8F3nqRhIrhlOySjx7cOnsSJbuz2/yLnqSnkkkgWQYQyimjMbcyYCkp9JKeD3mRfYE0Z3qyjsr2t7+KLrF3R6ZFuFqA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+94656+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1664783262923383.63991653988285; Mon, 3 Oct 2022 00:47:42 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id FmgxYY1788612xl1JmIXlA4a; Mon, 03 Oct 2022 00:47:42 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.16356.1664783261721234903 for ; Mon, 03 Oct 2022 00:47:41 -0700 X-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 14ED51E7D; Mon, 3 Oct 2022 00:47:48 -0700 (PDT) X-Received: from pierre123.home (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 77E5E3F792; Mon, 3 Oct 2022 00:47:40 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io Cc: Bob Feng , Liming Gao , Pierre Gondois Subject: [edk2-devel] [PATCH 1/2] BaseTools: Remove duplicated words in C tools Date: Mon, 3 Oct 2022 09:47:31 +0200 Message-Id: <20221003074732.2944706-2-Pierre.Gondois@arm.com> In-Reply-To: <20221003074732.2944706-1-Pierre.Gondois@arm.com> References: <20221003074732.2944706-1-Pierre.Gondois@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: 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,pierre.gondois@arm.com X-Gm-Message-State: 5uIvIvwDwMbZ3oO6uUmL6W2Ox1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1664783262; bh=sECLjUn7XyhihpIAHAKIk8yUDd+0+v98P4sZNuHbUOU=; h=Cc:Date:From:Reply-To:Subject:To; b=VYYn9VFTtyCSd6KVGMJinG9SVz1upAAJVSDXx+SOdqIF411G6UEk3GckwnbYD5geNtS Q3ii7FWMBvil3vRTtBEXqOsc9VLQllXXo3lAQAexoRLsBXMQc6anwUi0f0Tc3SNuDq2QO +hbk/jE+5MhIpAiCEUzJEUSwF82Y+k0udaE= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1664783263771100003 Content-Type: text/plain; charset="utf-8" From: Pierre Gondois In an effort to clean the documentation of the above package, remove duplicated words. Cc: Bob Feng Cc: Liming Gao Reviewed-by: Bob Feng Signed-off-by: Pierre Gondois --- BaseTools/Source/C/Common/FirmwareVolumeBuffer.c | 6 +++--- BaseTools/Source/C/DevicePath/DevicePathUtilities.c | 2 +- BaseTools/Source/C/GenFv/GenFv.c | 2 +- BaseTools/Source/C/VfrCompile/Pccts/antlr/mrhoist.c | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/BaseTools/Source/C/Common/FirmwareVolumeBuffer.c b/BaseTools/S= ource/C/Common/FirmwareVolumeBuffer.c index 70741c8afcb5..ace26eb71c6b 100644 --- a/BaseTools/Source/C/Common/FirmwareVolumeBuffer.c +++ b/BaseTools/Source/C/Common/FirmwareVolumeBuffer.c @@ -91,7 +91,7 @@ Routine Description: =20 Arguments: =20 - SourceFv - Address of the Fv in memory, this firmware volume volume will + SourceFv - Address of the Fv in memory, this firmware volume will be modified, if SourceFfsFile exists SourceFfsFile - Input FFS file to replace =20 @@ -141,7 +141,7 @@ Routine Description: =20 Arguments: =20 - SourceFv - Address of the Fv in memory, this firmware volume volume will + SourceFv - Address of the Fv in memory, this firmware volume will be modified, if SourceFfsFile exists SourceFfsFile - Input FFS file to replace =20 @@ -285,7 +285,7 @@ Routine Description: =20 Arguments: =20 - SourceFv - Address of the Fv in memory, this firmware volume volume will + SourceFv - Address of the Fv in memory, this firmware volume will be modified, if SourceFfsFile exists SourceFfsFile - Input FFS file to replace =20 diff --git a/BaseTools/Source/C/DevicePath/DevicePathUtilities.c b/BaseTool= s/Source/C/DevicePath/DevicePathUtilities.c index 2ffefa8ceeef..49078aac8caf 100644 --- a/BaseTools/Source/C/DevicePath/DevicePathUtilities.c +++ b/BaseTools/Source/C/DevicePath/DevicePathUtilities.c @@ -37,7 +37,7 @@ CONST EFI_DEVICE_PATH_PROTOCOL mUefiDevicePathLibEndDevi= cePath =3D { @retval TRUE DevicePath is valid. @retval FALSE DevicePath is NULL. @retval FALSE Maxsize is less than sizeof(EFI_DEVICE_PATH_PROTOCOL= ). - @retval FALSE The length of any node node in the DevicePath is less + @retval FALSE The length of any node in the DevicePath is less than sizeof (EFI_DEVICE_PATH_PROTOCOL). @retval FALSE If MaxSize is not zero, the size of the DevicePath exceeds MaxSize. diff --git a/BaseTools/Source/C/GenFv/GenFv.c b/BaseTools/Source/C/GenFv/Ge= nFv.c index 43cc5cd3fe82..a742d55e5270 100644 --- a/BaseTools/Source/C/GenFv/GenFv.c +++ b/BaseTools/Source/C/GenFv/GenFv.c @@ -299,7 +299,7 @@ Returns: return STATUS_ERROR; } if (TempNumber =3D=3D 0) { - Error (NULL, 0, 1003, "Invalid option value", "Fv block size can't= be be set to zero"); + Error (NULL, 0, 1003, "Invalid option value", "Fv block size can't= be set to zero"); return STATUS_ERROR; } mFvDataInfo.FvBlocks[0].Length =3D (UINT32) TempNumber; diff --git a/BaseTools/Source/C/VfrCompile/Pccts/antlr/mrhoist.c b/BaseTool= s/Source/C/VfrCompile/Pccts/antlr/mrhoist.c index b57f5ded846c..bf3dd18eaf6f 100644 --- a/BaseTools/Source/C/VfrCompile/Pccts/antlr/mrhoist.c +++ b/BaseTools/Source/C/VfrCompile/Pccts/antlr/mrhoist.c @@ -714,7 +714,7 @@ Tree *MR_compute_pred_tree_ctxXX(p) if (p =3D=3D NULL) return NULL; =20 /* this appears strange: why do we OR the context - of and AND predicate ? It is because of the way + of an AND predicate ? It is because of the way that predicates are evaluated: if the context is wrong then it's the same as if the predicate was true. That means that even when one leg of an @@ -1531,7 +1531,7 @@ Predicate * MR_find_in_aSubBlk(alt) * 1. if lookahead for alt i is contained in the lookahead for any * alt j then ignore semantic predicate of alt i * 2. if lookahead for alt i is not contained in the lookahead for - * any alt j then add add predicate i to the OR list to be hoisted + * any alt j then add predicate i to the OR list to be hoisted * 3. if lookahead for alt i overlaps the lookahead for some alt j t= hen * add a dummy semantic predicate for alt j * --=20 2.25.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 (#94656): https://edk2.groups.io/g/devel/message/94656 Mute This Topic: https://groups.io/mt/94085942/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- From nobody Thu May 9 16:52:11 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+94657+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+94657+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1664783263; cv=none; d=zohomail.com; s=zohoarc; b=mSBpS9RGgESByzYe3E7OIzqFJsvCJ4S+OXIZgtppp4026qfb+5T8qOdYq+ASKZMcgKOcddlspQR1WBs2MC7YKGBox8QHA8w2ziT3HWnfCt56dDXgmgZ+JmeQswho17EMaotJTW/q4ZlSZHuOesSOHyoINZlc/A7QeUdn6cVt/5o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1664783263; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=9K1aj7JBvOJCjtxFKA/t860SRk47z6WTjW12SKog1CA=; b=EZ8JdEMZJgQOGSdvPv3Mizjtm14HrFJhGUKTOMtMslF5sZO6EUt/DfysWlEDWVlyba57Yoqx3xWaZWTjz0CXmHS0tCHKsysAP7NMvTL4I37SoQ10eXAI2UjW3f2LVLX3RSbegd/NaZuKMC3FTW09NevDAd4R6fw57Ry770kr26E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+94657+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1664783263978304.702317011952; Mon, 3 Oct 2022 00:47:43 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id sgncYY1788612xqWtt6DDIZQ; Mon, 03 Oct 2022 00:47:43 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.16357.1664783263089645486 for ; Mon, 03 Oct 2022 00:47:43 -0700 X-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 83F6F1E8D; Mon, 3 Oct 2022 00:47:49 -0700 (PDT) X-Received: from pierre123.home (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id A7F183F792; Mon, 3 Oct 2022 00:47:41 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io Cc: Bob Feng , Liming Gao , Pierre Gondois Subject: [edk2-devel] [PATCH 2/2] BaseTools: Remove duplicated words in Python tools Date: Mon, 3 Oct 2022 09:47:32 +0200 Message-Id: <20221003074732.2944706-3-Pierre.Gondois@arm.com> In-Reply-To: <20221003074732.2944706-1-Pierre.Gondois@arm.com> References: <20221003074732.2944706-1-Pierre.Gondois@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: 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,pierre.gondois@arm.com X-Gm-Message-State: wiC6NwzyF2NnwEXGPLcFYogmx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1664783263; bh=Rmg96+LMfBj9/sqPhFAVNP0zj8B+ElmYWQ3eRGMccew=; h=Cc:Date:From:Reply-To:Subject:To; b=UPRv3HYNC73jhNasfRO91vEb42ic3YXupXyLaYeNUpV9QcWxi2wOtXX72M2XvdsGmMt yWbI2xIXTvE5G+qbkCNSB5nRLim3hsgPce4XTKxuQ6nqUXiCSqwXVKdQDDTmxC5/xqnJE prYp0vddjx2y7CiMWOAWgEqQ6urg3WOEa8I= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1664783265785100009 Content-Type: text/plain; charset="utf-8" From: Pierre Gondois In an effort to clean the documentation of the above package, remove duplicated words. Cc: Bob Feng Cc: Liming Gao Reviewed-by: Bob Feng Signed-off-by: Pierre Gondois --- BaseTools/Source/Python/Ecc/EccToolError.py | 2 +- BaseTools/Source/Python/build/build.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BaseTools/Source/Python/Ecc/EccToolError.py b/BaseTools/Source= /Python/Ecc/EccToolError.py index d97bf7948ce8..2ff36c8329cc 100644 --- a/BaseTools/Source/Python/Ecc/EccToolError.py +++ b/BaseTools/Source/Python/Ecc/EccToolError.py @@ -186,7 +186,7 @@ gEccErrorMessage =3D { ERROR_META_DATA_FILE_CHECK_BINARY_INF_IN_FDF : "An INF file is specifi= ed in the FDF file, but not in the DSC file, therefore the INF file must be= for a Binary module only", ERROR_META_DATA_FILE_CHECK_PCD_DUPLICATE : "Duplicate PCDs found", ERROR_META_DATA_FILE_CHECK_PCD_FLASH : "PCD settings in the FDF file s= hould only be related to flash", - ERROR_META_DATA_FILE_CHECK_PCD_NO_USE : "There should be no PCDs decla= red in INF files that are not specified in in either a DSC or FDF file", + ERROR_META_DATA_FILE_CHECK_PCD_NO_USE : "There should be no PCDs decla= red in INF files that are not specified in either a DSC or FDF file", ERROR_META_DATA_FILE_CHECK_DUPLICATE_GUID : "Duplicate GUID found", ERROR_META_DATA_FILE_CHECK_DUPLICATE_PROTOCOL : "Duplicate PROTOCOL fo= und", ERROR_META_DATA_FILE_CHECK_DUPLICATE_PPI : "Duplicate PPI found", diff --git a/BaseTools/Source/Python/build/build.py b/BaseTools/Source/Pyth= on/build/build.py index 07187c03618a..51fb1f433eb7 100755 --- a/BaseTools/Source/Python/build/build.py +++ b/BaseTools/Source/Python/build/build.py @@ -205,7 +205,7 @@ class MakeSubProc(Popen): # # This method will call subprocess.Popen to execute an external program wi= th # given options in specified directory. Because of the dead-lock issue dur= ing -# redirecting output of the external program, threads are used to to do the +# redirecting output of the external program, threads are used to do the # redirection work. # # @param Command A list or string containing the call of th= e program --=20 2.25.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 (#94657): https://edk2.groups.io/g/devel/message/94657 Mute This Topic: https://groups.io/mt/94085944/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-