From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web11.22499.1643245117462103259 for ; Wed, 26 Jan 2022 16:58:38 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=kiBei7eI; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: min.m.xu@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643245117; x=1674781117; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=4UHDI+MLPUJ4PEL+ShTt0eVIa7p5MgbbnRw8wjUxBCQ=; b=kiBei7eIUhtkLMB4+V3KmiO2hnMSEXp0TKON67fXDb9Q595kAzuoR+Rn DktpEsy0JjWoY4z9/lak+cC5n/OjKXxNreSAzaVN7deROqq5VX7U/zt/L aKz2Yvk0OFJvGMh00SZS22lNLFNJ+pN+Spr+M+8/I0DVPQ4ok8PHK4ynq Pfp0lKI20SviJOmjC0JMJ/sC55/OyNha7H6OUARkcA5nL4rKZ3ImOKwWv QW65ab7WaKPSmdlLMj9wGBBXE2IYMUkAkgzs+SBD7yfXAJQF0p2ehLjsY gym0e4sPyVQ4gqEY4v2I2jfblB/KEkX06vvl06r2LsKmnoDKzgIpeN7TG g==; X-IronPort-AV: E=McAfee;i="6200,9189,10239"; a="234082233" X-IronPort-AV: E=Sophos;i="5.88,319,1635231600"; d="scan'208,217";a="234082233" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2022 16:58:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,319,1635231600"; d="scan'208,217";a="535414850" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga008.jf.intel.com with ESMTP; 26 Jan 2022 16:58:36 -0800 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Wed, 26 Jan 2022 16:58:36 -0800 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Wed, 26 Jan 2022 16:58:35 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Wed, 26 Jan 2022 16:58:35 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.171) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Wed, 26 Jan 2022 16:58:33 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l99YhBNE8XClp3A78mVEAjzQZ9YIw9Y9XKHjFWB4NFXbN6namUTFKA4cXhjHQmixEfmzuRPcSUE6ROjT5N7ya3T9WAoSdal9/gqG3m1R8iXw84Ki1cyyuU7etluLXiyi6gemoRYkt1Nif6eNS78VfS0se8dv453I22+x4tHBwf6CaNmHTEUaYEOaGOa7KGapz91Ca76z3dUea3eHuKN9O4UlAmWlozhPGYMHd2hgM7XYEva3UFcbTzMaIL/ioH8Et8aJ457ST/sfTNVfNGKi5smLT2ZFtdSwMB+Jsi2fulWQwRAK9EevWXkGOJau7mPaXLD9Bs2UsKiAIy8ceqYX+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FmeN61yzL1bpNjqeorv2qvQQhZnN27DNcKjAk1JqSlk=; b=LWc1oZZNR9B3AxPQJWUwW0KTXl/21/qgyRAZyWIH98mazbnwJZvTKI+dZV/S8HzE5b5pK+6aqJbx4xD631yX4G7vXFq7hN2PFMjth+eQ+sMaGvF5tF7e90+2mj4r3fRoF0avvqoZ4nTerWLCJQqM4TCTIbc8iO+QSAo7o3qvVkheCe4HYb2zMP7Ir2P+dmgKGRAsFAP0Vc7fG/jTaGakG97FIqt+qAP7nS6pkcGJrS82RMumvJGecXQ94TnpzLEh852sWoHtj3dvCpemPb+gyONg44Z1DMDPtOXL3zQguvs2TiVka/6DJLSFkRZT9AYapp85lJ5BPAQZxcinzgS1Yw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from PH0PR11MB5064.namprd11.prod.outlook.com (2603:10b6:510:3b::15) by MWHPR11MB1983.namprd11.prod.outlook.com (2603:10b6:300:112::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.10; Thu, 27 Jan 2022 00:58:31 +0000 Received: from PH0PR11MB5064.namprd11.prod.outlook.com ([fe80::ed65:b010:fc2c:f48c]) by PH0PR11MB5064.namprd11.prod.outlook.com ([fe80::ed65:b010:fc2c:f48c%7]) with mapi id 15.20.4909.017; Thu, 27 Jan 2022 00:58:31 +0000 From: "Min Xu" To: "devel@edk2.groups.io" , "Chang, Abner" Subject: Re: [edk2-devel] [PATCH V2 01/10] EmbeddedPkg: Fix a build error in FwVol.c in X64 arch Thread-Topic: [edk2-devel] [PATCH V2 01/10] EmbeddedPkg: Fix a build error in FwVol.c in X64 arch Thread-Index: AQHYEbXFY87ZjKGpdUKSdm0QX/dQwqxz15iAgAIytICAAAOT0A== Date: Thu, 27 Jan 2022 00:58:31 +0000 Message-ID: References: <20220125063318.862-1-min.m.xu@intel.com> <20220125063318.862-2-min.m.xu@intel.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.200.16 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f445c077-096f-411f-ab3d-08d9e130233c x-ms-traffictypediagnostic: MWHPR11MB1983:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3968; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DSqkDje7JxdchNgPkOYRMENyINSzZaZEe6FPU/s+CN3U7wJhhqGy+E8DZFRhoVhy4fqFCQo9TxWELmJZDl5zbaWDgCmtAWfStnaCxU6joDwyCgIDEMkW7kgpQoJlTF8O+yUlkfCVWphaaqd6onJn9fqB8MUaw7tpzI7lqxms9IQuN5yHDIg46FtEAdE9j5UF8e4Z4LYAugzFUBVaEX/0WjCFSbsJ3WJSp0J2Q3RnY5750xZ9aUBGsLPP9WtqSeEiSCWmBWfLS92nngOqZBTTTj2ylYQYFOWpbuocaHw9NeUTf/GiTSQRjjLisid+7tJHYyqakfEk6TpuBlX5JRBFSrMift5f8Mv0G7PnNvMD96YIfYG2iMPgVvHxJzeM5WdmDffkq+d5vE4Zaf7aV8uosRCtWJE+x3dMeIm/OJMvOUAL9ww/1PXtAPbO/KVKXcqO7gVYwofFmPgfMDP69WfR/EdFgTf1YVjX7QsZtxgrQO4ycV1GpELLntnMtkeJe9XDwIpL+MGAkvWzVPhe8m4yekAg4CENM97isXhHeh5cRXwRJ1nbtcz4UcjfiJu99jjl3ysJcGjZJ1qXDHq5LmVUF9OXf1CvJrGIyGcbb4O4GbrqWUS/OOirfX3zPscZEuyVNoycu/EyfF4IthFncCzrzzhx3+31OrV1ImbEtYcgzdNL2caBd3GFWTSUS+2CgLlawu+Rs2cyqeJku7qmu5ZQAv9I52gtpzPgt9SQqTlxW73dB3JSER05gCPPItIYmlNRxueyl5lbsIKNT/xpSHiBGg/BDiFeYvCg1TfQBqFEBDGEiQcmslmFGDvOTWP/MYgt x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR11MB5064.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(6029001)(366004)(7696005)(83380400001)(6506007)(71200400001)(33656002)(508600001)(55016003)(66946007)(38070700005)(82960400001)(76236003)(2906002)(53546011)(64756008)(66446008)(5660300002)(316002)(110136005)(86362001)(966005)(9686003)(26005)(38100700002)(66476007)(8936002)(76116006)(8676002)(66556008)(52536014)(122000001)(166002)(186003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?H4G3ECeW0ISM95K6lNrjwq0m0JWe+bacQgAAABUbu/lA9lH6RARio8bgvNT4?= =?us-ascii?Q?IFoGWoNGLVtbzNvDw+mAQq0UXD4VCG2GSkfCH5dbNvoSQFac6/m4TkhxeHNL?= =?us-ascii?Q?cRvsz49kshBHv+C9lGGG8Dxl+ZmSofrgG+FLC0n2Ei+BSuuiFhxJ9hqjTTN8?= =?us-ascii?Q?JpM+rzgGH+aHD3C9NMyGagrs/qkRleVjOjpn8yU7KKUCc3ISAiAZJarAPeol?= =?us-ascii?Q?Hgiu78Sge5QA+j/ZMxFtGP7ePZTOiv5GHewJWay0GFvMA7O0dUcrtC0nsbwT?= =?us-ascii?Q?eGp3UNOAan7KtLCyfiMT45tK1dH3VFAHeyjKnffyYfcfzM3RGCMwgMW9Pi5I?= =?us-ascii?Q?iGmyICgqk/zIQmLTaZ46H8C+51fPS9YWedm0MpshIGL0CxPDdZwAsj6Ch1Fa?= =?us-ascii?Q?qVBbFpUk3lYGMVRbYkv/ibHDuqL9dLawtj4FWOH2sos3NHcJe3sJEdzC1ZTQ?= =?us-ascii?Q?7N0KU/mpr0yFXGEWKBz7G7n1SETfWH5tBxUwSZGOtC3ozuVdu7OTHJ4HP4Py?= =?us-ascii?Q?Gm5CVAT1iO5jcA+D91AFLrVrtEuXqa6HX+M7S9b6hQhxtrxQJXLyYMsQLDaB?= =?us-ascii?Q?qbDjPSOS6h5mbQV3/+l/hhdKHtbjN95uhGK4cZP4dfrzFqQARl2higeAjI6s?= =?us-ascii?Q?mNtXn5FE6kU7LrbDEslF0VLwqhKuG5YhrsREXMHYvk1H0sm14AQ92djURKvt?= =?us-ascii?Q?84+Kg9fp6c6god2kGCsqOg28EmmqVJYFQI1/8zGNgzOgtWA4qciXNc6sbc0i?= =?us-ascii?Q?2AS/oCXpf8lENhurXPPNlgzHpMtAAkkYqYKJhflDFgyWA578j0OFxQL4H8ux?= =?us-ascii?Q?ycvVaJ5o4Dcnu2anlgBt3NRQ0Eh0/fzT4+ZYxsd7JBWXBp2usX58cQCMWNAt?= =?us-ascii?Q?aHkBkOWD4i6vlhC4QrCM9Dnmdhy1qYmWLAeg1koGOjyV4gkSkco9m3ka/5w3?= =?us-ascii?Q?r744ig/h6uSPaWHXjBoaoQpfetyn09zJZmBewh9WIMjFw4MaqbSqtVgzR5VO?= =?us-ascii?Q?QXVV8KQhl+iloQc2zT4PVtAsm1LcBjnfHKkXogvrLBHSn9P7siXx/HzQjVYk?= =?us-ascii?Q?Sw8Yfe7T85pOFzXmMuCY1tUfY7u35Oix0RjdLpQ4tV4XaQT+JsG7AylTPiMz?= =?us-ascii?Q?4CmEiGprupcMlCfmFrvXNJ46mQMooCmajpbAxJ0sAUUySkx0FA1bjXA+mJwr?= =?us-ascii?Q?7a2gx4gHyG18bu7N8YxUaW/vE7yzzibvRIRnnuizK3ES0Z8YLejzujwF9qjl?= =?us-ascii?Q?qnlT9Fwe6MJyoHHYrgMVn20E4EIojrbN25rm2Tfvs6HiSAYTcFmpD9/tcLDu?= =?us-ascii?Q?VrMmM63Mbq+Pibxrxi1RjYs5S7jyrtZhAMj9fgy4HNY/TsfcG9m30fOW4+v8?= =?us-ascii?Q?vPkp3imRiQoCfZUbwxdPDycji2AUIBrtNgzpoheyYhnHlQ6u7T0/wX0LpUVe?= =?us-ascii?Q?okG255BQtWl+5CzSxMbL+H2xFo1Ff2HIT+ZO3YtJ7TskYFfaDVqZFlXHwLAH?= =?us-ascii?Q?tIcaLY1kWfQ9hnWgvoy47xtaD8dg1CZyC5zPhcL3AcY1rhkhpUgR6PIkSvVb?= =?us-ascii?Q?AI7F7Y1QLfkLA58fVs//Ub+GW4nqS9ZQvfKhIOqJHhyxLgSVueIwm6oT8J3z?= =?us-ascii?Q?qZ13PfzSrkx1zqUKpbHkb3o=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5064.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f445c077-096f-411f-ab3d-08d9e130233c X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jan 2022 00:58:31.4400 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: rF6x3irx9b+xXBXJbTbP6DhoC4if5fvK+DTtdaZ9E65qS5q+y3C1S5B/54VJCpL+YaEBlkajJNkW6YPvmtqXvA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1983 Return-Path: min.m.xu@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_PH0PR11MB5064171BDD02A3E5CA71EF41C5219PH0PR11MB5064namp_" --_000_PH0PR11MB5064171BDD02A3E5CA71EF41C5219PH0PR11MB5064namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Abner This is the PR of the patch-sets. https://github.com/tianocore/edk2/pull/2313 Thanks Min From: devel@edk2.groups.io On Behalf Of Abner Chang Sent: Thursday, January 27, 2022 8:43 AM To: devel@edk2.groups.io; Xu, Min M Subject: Re: [edk2-devel] [PATCH V2 01/10] EmbeddedPkg: Fix a build error i= n FwVol.c in X64 arch Hi Min, Would you please create a PR for this and point me to the link? Thanks Abner ________________________________ From: Chang, Abner (HPS SW/FW Technologist) Sent: Tuesday, January 25, 2022 11:09 PM To: devel@edk2.groups.io >; min.m.xu@intel.com > Subject: RE: [edk2-devel] [PATCH V2 01/10] EmbeddedPkg: Fix a build error i= n FwVol.c in X64 arch Reviewed-by: Abner Chang > > -----Original Message----- > From: devel@edk2.groups.io > On Behalf Of Min Xu > Sent: Tuesday, January 25, 2022 2:33 PM > To: devel@edk2.groups.io > Cc: Min Xu >; Leif Lindholm= >; Ard > Biesheuvel >;= Chang, Abner (HPS SW/FW > Technologist) >; Schaefer= , Daniel (ROM Janitor) > > > Subject: [edk2-devel] [PATCH V2 01/10] EmbeddedPkg: Fix a build error in > FwVol.c in X64 arch > > RFC: > INVALID URI REMOVED > d=3D3429__;!!NpxR!xMRxJim2LXdgV0CClUrT7jWBUouLzrVwMc5fB_wt1PT17W > WWyZKgREYswYM1Tz0$ > > CompressedDataLength is declared as UINTN which is UINT64 in X64 arch. > But the second parameter of UefiDecompressGetInfo() is declared as > UINT32. So a build error is triggered. To declare CompressedDataLength > as UINT32 to fix the build error. > > Cc: Leif Lindholm > > Cc: Ard Biesheuvel > > Cc: Abner Chang > > Cc: Daniel Schaefer > > Signed-off-by: Min Xu > > --- > EmbeddedPkg/Library/PrePiLib/FwVol.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/EmbeddedPkg/Library/PrePiLib/FwVol.c > b/EmbeddedPkg/Library/PrePiLib/FwVol.c > index 92ae68f0d382..0a6d6925b7ea 100644 > --- a/EmbeddedPkg/Library/PrePiLib/FwVol.c > +++ b/EmbeddedPkg/Library/PrePiLib/FwVol.c > @@ -291,7 +291,7 @@ FfsProcessSection ( > UINT16 SectionAttribute; > UINT32 AuthenticationStatus; > CHAR8 *CompressedData; > - UINTN CompressedDataLength; > + UINT32 CompressedDataLength; > > *OutputBuffer =3D NULL; > ParsedLength =3D 0; > @@ -320,7 +320,7 @@ FfsProcessSection ( > } > > CompressedData =3D (CHAR8 *)((EFI_COMPRESSION_SECTION2 > *)Section + 1); > - CompressedDataLength =3D (UINT32)SectionLength - sizeof > (EFI_COMPRESSION_SECTION2); > + CompressedDataLength =3D SectionLength - sizeof > (EFI_COMPRESSION_SECTION2); > } else { > CompressionSection =3D (EFI_COMPRESSION_SECTION *)Section; > SectionLength =3D SECTION_SIZE (Section); > @@ -330,7 +330,7 @@ FfsProcessSection ( > } > > CompressedData =3D (CHAR8 *)((EFI_COMPRESSION_SECTION > *)Section + 1); > - CompressedDataLength =3D (UINT32)SectionLength - sizeof > (EFI_COMPRESSION_SECTION); > + CompressedDataLength =3D SectionLength - sizeof > (EFI_COMPRESSION_SECTION); > } > > Status =3D UefiDecompressGetInfo ( > -- > 2.29.2.windows.2 > > > > > --_000_PH0PR11MB5064171BDD02A3E5CA71EF41C5219PH0PR11MB5064namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi, Abner

This is the PR of the patch-sets.

https://github.com/tianocore/edk2/pull/2313

 

Thanks

Min

From: devel@edk2.groups.io <devel@edk2.gro= ups.io> On Behalf Of Abner Chang
Sent: Thursday, January 27, 2022 8:43 AM
To: devel@edk2.groups.io; Xu, Min M <min.m.xu@intel.com>
Subject: Re: [edk2-devel] [PATCH V2 01/10] EmbeddedPkg: Fix a build = error in FwVol.c in X64 arch

 

Hi Min,

Would you please create a PR for this and point me to t= he link?

 

Thanks

Abner


From: Chang, Abner (HPS SW/FW Technologist)
Sent: Tuesday, January 25, 2022 11:09 PM
To: devel@edk2.groups.io= <devel@edk2.groups.io>; min.m.xu@intel.com <min.m.xu@intel.com>
Subject: RE: [edk2-devel] [PATCH V2 01/10] EmbeddedPkg: Fix a build = error in FwVol.c in X64 arch

 

Reviewed-by: Abner Ch= ang <abner.chang@hpe.com><= br>
> -----Original Message-----
> From: devel@edk2.groups.io= <devel@edk2.groups.io> O= n Behalf Of Min Xu
> Sent: Tuesday, January 25, 2022 2:33 PM
> To: devel@edk2.groups.io > Cc: Min Xu <min.m.xu@intel.co= m>; Leif Lindholm <leif@nuvi= ainc.com>; Ard
> Biesheuvel <ardb+tiano= core@kernel.org>; Chang, Abner (HPS SW/FW
> Technologist) <abner.chang@h= pe.com>; Schaefer, Daniel (ROM Janitor)
> <daniel.schaefer@hpe.com= >
> Subject: [edk2-devel] [PATCH V2 01/10] EmbeddedPkg: Fix a build error = in
> FwVol.c in X64 arch
>
> RFC:
> INVALID URI REMOVED
> d=3D3429__;!!NpxR!xMRxJim2LXdgV0CClUrT7jWBUouLzrVwMc5fB_wt1PT17W
> WWyZKgREYswYM1Tz0$
>
> CompressedDataLength is declared as UINTN which is UINT64 in X64 arch.=
> But the second parameter of UefiDecompressGetInfo() is declared as
> UINT32. So a build error is triggered. To declare CompressedDataLength=
> as UINT32 to fix the build error.
>
> Cc: Leif Lindholm <leif@nuviai= nc.com>
> Cc: Ard Biesheuvel <ar= db+tianocore@kernel.org>
> Cc: Abner Chang <abner.chang= @hpe.com>
> Cc: Daniel Schaefer <dan= iel.schaefer@hpe.com>
> Signed-off-by: Min Xu <min.m.= xu@intel.com>
> ---
>  EmbeddedPkg/Library/PrePiLib/FwVol.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/EmbeddedPkg/Library/PrePiLib/FwVol.c
> b/EmbeddedPkg/Library/PrePiLib/FwVol.c
> index 92ae68f0d382..0a6d6925b7ea 100644
> --- a/EmbeddedPkg/Library/PrePiLib/FwVol.c
> +++ b/EmbeddedPkg/Library/PrePiLib/FwVol.c
> @@ -291,7 +291,7 @@ FfsProcessSection (
>    UINT16       &nbs= p;            Sectio= nAttribute;
>    UINT32       &nbs= p;            Authen= ticationStatus;
>    CHAR8        = ;             *= CompressedData;
> -  UINTN         &nb= sp;           CompressedD= ataLength;
> +  UINT32         &n= bsp;          CompressedDataLe= ngth;
>
>    *OutputBuffer =3D NULL;
>    ParsedLength  =3D 0;
> @@ -320,7 +320,7 @@ FfsProcessSection (
>            } >
>            Comp= ressedData       =3D (CHAR8 *)((EFI_COMPRESSI= ON_SECTION2
> *)Section + 1);
> -          CompressedData= Length =3D (UINT32)SectionLength - sizeof
> (EFI_COMPRESSION_SECTION2);
> +          CompressedData= Length =3D SectionLength - sizeof
> (EFI_COMPRESSION_SECTION2);
>          } else {
>            Comp= ressionSection =3D (EFI_COMPRESSION_SECTION *)Section;
>            Sect= ionLength      =3D SECTION_SIZE (Section);
> @@ -330,7 +330,7 @@ FfsProcessSection (
>            } >
>            Comp= ressedData       =3D (CHAR8 *)((EFI_COMPRESSI= ON_SECTION
> *)Section + 1);
> -          CompressedData= Length =3D (UINT32)SectionLength - sizeof
> (EFI_COMPRESSION_SECTION);
> +          CompressedData= Length =3D SectionLength - sizeof
> (EFI_COMPRESSION_SECTION);
>          }
>
>          Status =3D UefiD= ecompressGetInfo (
> --
> 2.29.2.windows.2
>
>
>
>
>

--_000_PH0PR11MB5064171BDD02A3E5CA71EF41C5219PH0PR11MB5064namp_--