From nobody Tue May 7 07:56:21 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+91813+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+91813+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1658763143; cv=none; d=zohomail.com; s=zohoarc; b=mR83HAqbwccd12qwbXQT78dn5nlnAQgTq1yKdF1QKnk0e3XhFMAs4XPiY0Gy6Ul5QgbTHl/4tCI5mWLZcvTBqF3En24zgPIm2L7wqSSsmJMKAlNtbCot8ofPb5MM4MJYNUcRW/bYZbSAjZD4l96JeqzVQ+adr/vMyU4G9pCGBJY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1658763143; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=fh389hLGGjDtjAUvo7ay+fTmOuO4OUf3uVwfL65ZvNc=; b=El6AiaBTXNFweoF8q+PNorvm2LXZjWfrPdlKaBvFtJQDsaXTeDToeTNd/heA+UaHD/fHOH5oMya1Nu9dFa+TzsyJDf7lz8wMoFBjQx3Z7AdmYaMka3ILzmpzqO0Pm71/mtGhaoDt1k1PTwAjfrvHVFrGjf+Eh39xHjDM/3l9uUs= 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+91813+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 165876314324036.22807699213661; Mon, 25 Jul 2022 08:32:23 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 20FLYY1788612xMIfC0NyFvZ; Mon, 25 Jul 2022 08:32:22 -0700 X-Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) by mx.groups.io with SMTP id smtpd.web11.29529.1658763142042271869 for ; Mon, 25 Jul 2022 08:32:22 -0700 X-Received: by mail-lj1-f170.google.com with SMTP id w18so2501399lje.1 for ; Mon, 25 Jul 2022 08:32:21 -0700 (PDT) X-Gm-Message-State: EmHQnsPOeImztfD1CCY9qbxEx1787277AA= X-Google-Smtp-Source: AGRyM1sLsk58u9/v+IMmkdRu9UAkDqpHeD3su2F+yfEUyZunqYoO9utRlHOz1ve5YQ42iiVwfmsE7w== X-Received: by 2002:a2e:a36c:0:b0:25e:e69:5327 with SMTP id i12-20020a2ea36c000000b0025e0e695327mr755460ljn.264.1658763140015; Mon, 25 Jul 2022 08:32:20 -0700 (PDT) X-Received: from PC10319.67 ([82.97.198.254]) by smtp.googlemail.com with ESMTPSA id z15-20020a056512370f00b0048a93bb7866sm360137lfr.303.2022.07.25.08.32.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jul 2022 08:32:19 -0700 (PDT) From: "Konstantin Aladyshev" To: devel@edk2.groups.io Cc: bob.c.feng@intel.com, gaoliming@byosoft.com.cn, yuwei.chen@intel.com, Konstantin Aladyshev Subject: [edk2-devel] [PATCH] BaseTools/GenFds: Correct file type set for the PIC section Date: Mon, 25 Jul 2022 18:32:31 +0300 Message-Id: <20220725153231.20950-1-aladyshev22@gmail.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,aladyshev22@gmail.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1658763142; bh=UlpuzMAkbCCXDJGeeXBd3Xodd7aSU9zqmJSm7J0YruQ=; h=Cc:Date:From:Reply-To:Subject:To; b=sXr6IE0mfbXKejWpeGb+YKBp10E3iL709eXufzan+c3bVVxMcUBN1FbGRSOEiKfx7t6 v0pRRBLjxExht9pIGDQWrvEaA7v3uuDHNLW7v5fl7BkEZL9CaCZTcPoLsLnXTPGQvF1/f Is5RtWfOhtvT9MSlJv21UDYot80UGqbm4qo= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1658763145572100003 Content-Type: text/plain; charset="utf-8" Corrently the set of file types for the PIC section contains two duplicate values. Replace the duplicate value with the correct one to fix the issue. Signed-off-by: Konstantin Aladyshev --- BaseTools/Source/Python/GenFds/FdfParser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Source/Python/GenFds/FdfParser.py b/BaseTools/Source= /Python/GenFds/FdfParser.py index aa18fef09e..a9a14ca2bb 100644 --- a/BaseTools/Source/Python/GenFds/FdfParser.py +++ b/BaseTools/Source/Python/GenFds/FdfParser.py @@ -4018,7 +4018,7 @@ class FdfParser: if FileType not in {BINARY_FILE_TYPE_PE32, "SEC_PE32"}: raise Warning(WarningString % FileType, self.FileName, sel= f.CurrentLineNumber) elif SectionType =3D=3D BINARY_FILE_TYPE_PIC: - if FileType not in {BINARY_FILE_TYPE_PIC, BINARY_FILE_TYPE_PIC= }: + if FileType not in {BINARY_FILE_TYPE_PIC, "SEC_PIC"}: raise Warning(WarningString % FileType, self.FileName, sel= f.CurrentLineNumber) elif SectionType =3D=3D BINARY_FILE_TYPE_TE: if FileType not in {BINARY_FILE_TYPE_TE, "SEC_TE"}: --=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 (#91813): https://edk2.groups.io/g/devel/message/91813 Mute This Topic: https://groups.io/mt/92607300/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-