From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web12.6464.1645153351354451103 for ; Thu, 17 Feb 2022 19:02:32 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=NWtEqFbf; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: eric.dong@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645153351; x=1676689351; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=5L8UXkeQYTs9LpBbeDcsTradf4+ojqt+26UX8zu0YJc=; b=NWtEqFbfolBxktqULcyOGWPRhOlTL8kvUs4B4vIp99wZblPRVsALvBeb KhQZaU2Vi6hDVZpZRJeTnqdzPuASJhy84XbUjcoB97o91+d1mIVKpLsrF 9/wQP8h7kv3fr5w+joq6s0246NnPAJnceqT9HtWtMQr+y4Ks8wgE6rQA2 9sg/+w1OBGj/b4EWiW4oQuCfrV8noxCUTTEVDIyha7FmZOE0UUFWFMl4k oeCsjiupa15NI3JVOmntqtwtMfGZaU/vxx4sOnLGXM5bMWI1tQIj2HAQp 1hbaD8R4CMyEcf6KcTlYq5xf9DdwRO4Anz4UlKByTFcpCWOcfBsyhrM9y Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10261"; a="250794405" X-IronPort-AV: E=Sophos;i="5.88,377,1635231600"; d="scan'208";a="250794405" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2022 19:02:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,377,1635231600"; d="scan'208";a="546063582" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga008.jf.intel.com with ESMTP; 17 Feb 2022 19:02:01 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) 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; Thu, 17 Feb 2022 19:02:01 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Thu, 17 Feb 2022 19:02:01 -0800 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.169) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Thu, 17 Feb 2022 19:02:00 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OlTw6MZ6/I48G8iFrAfHLya1ePFl9RuZwzJ3cQVaKCptt3BD2F2iYlGIuFaxSIE/XVfPz1c2QiljaTIpfhxO9MNSOptBEpbTl9TJLpOiB2I5d8vmDgbCyglrnLCWfPCvq6gHQyAat3/BFtwiDWgM348Q5ElozO93ng1KGoHJJfMuUtfbBbPIPowiYnKJtseIqQQzL90RwNVnYwmEEsD7dgGTICtR6PG2yg3DQ9EopkR6z2U8vsaaIuc4Ia2lOEHcBc+AOQ7/nS/rg9BA2T0I3m3Cv/771u97GOyTtSLyBI8WdpVK9jyWXh2uOVWW9B0n+K5u1iN2SEuy7Ufh/kqNzw== 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=E3QK3nMLUtwkLwgjDtL5YdzZ2F9/oBZjGXl7WyHSsK0=; b=mrEOnRXudUULtfDNd0GLxF1QnyAHJux7WiUYisyxHUbwphRqQ+oo0l0hyh/HKq+wQPCXHYUo6VbKuEvCGQuEbCTvWglZx5I7lDPp+m11yn7Y4I3dsRIxR/U5LVnVb9IJnHzWdbX9tNUNGCr4QWJ+1iCkyi5WCsuXkHeWeqFqo4QZj0RLeAOKBFiKqNl029RkyF8KydF4xFiIKqmiRgalUfsvSNztWMYnekKqChTpwA6kWYQhzd1L2QUdd+zccDD8qjwT9QlNQkMq8oEf54ehpW/wXHRnNAONcao9YrzLMZWVae1pNzAyGGuNIUBgDKi86DBIVMeObzbSoTNfGyGrQA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from DM8PR11MB5575.namprd11.prod.outlook.com (2603:10b6:8:38::17) by BYAPR11MB2664.namprd11.prod.outlook.com (2603:10b6:a02:c7::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.16; Fri, 18 Feb 2022 03:01:59 +0000 Received: from DM8PR11MB5575.namprd11.prod.outlook.com ([fe80::21a5:7429:7bfa:ba22]) by DM8PR11MB5575.namprd11.prod.outlook.com ([fe80::21a5:7429:7bfa:ba22%5]) with mapi id 15.20.4995.022; Fri, 18 Feb 2022 03:01:58 +0000 From: "Dong, Eric" To: "Chiu, Chasel" , "devel@edk2.groups.io" CC: "Desimone, Nathaniel L" , "Gao, Liming" Subject: Re: [edk2-platforms: PATCH] MinPlatformPkg/SaveMemoryConfig: Fix GCC build failure. Thread-Topic: [edk2-platforms: PATCH] MinPlatformPkg/SaveMemoryConfig: Fix GCC build failure. Thread-Index: AQHYJHJ6JpjTFU5HxUeqXBNBXMYT2qyYnsgw Date: Fri, 18 Feb 2022 03:01:58 +0000 Message-ID: References: <20220218025131.2307-1-chasel.chiu@intel.com> In-Reply-To: <20220218025131.2307-1-chasel.chiu@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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: d85e19e2-d0bd-49f9-f606-08d9f28b077b x-ms-traffictypediagnostic: BYAPR11MB2664:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:167; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6xHzRyiYxBn7PXPI81k2cm7C+UWIofvQLFRZNlKuRJt38CNuia8OferN6j/Mv9obBbbtnF7qAr2IjZKNxXp+fbFs0mnTfBqLqRqwJJ0+ImDHBzT/qmszqZRL01xiLXBZS2Y34hueA+XhDPVr3zjBB/zLE1+uJxoakJT3Rc82V8kHFgStrztjw+NAcHyDYPdu9vrl6J0+Iq2zsWprNC1ibh/2zSNznWdB39UV0KYN49jJgLKLvcwMTKZwi294nSxBtNOkrp3LQwocR6V5FTyvxWkcBo+WpPZNEbKuAByhbSz61eUKzoIjK9JJGo//NOIzmKfcvNtAOUcGSLIFSo5hk6gjKFHIjBOQ6+DDCtw+69n3qaEdNzyKnp6aeMOeZDO55vr03uSHh5c5kEZcSshiBioAEQf2RmaV3atiaDLMME3pdrE+fdrFPO6OEjeWsWLP7A371nwydb+xNvZyuhv1smILgvlz/FIenyI2IiCcXbY3dBF1bmwa3um0DlwUze6KO96aZoSYfVUV9UQQ8n9Ytmh7IF1l3uP8TgCDmcCDv/ovaZvGjAfpK3omPjnBuPZNr+S71DEHft5T7OZY/5hiiObPb90oMCIssxrzo+fO/p4df44KKROqzeyvQMkHA4vPYgbK+UMU8SHKeOstFfgc1psa/WfoiCh+ZclytVw5xyh0ebPmoX33RqzTie0j1Pw7OXYZAFBwM9WctNRY+z6tSuVWwJ+b7aSrnu6/s1/gw851ltLlffNsdv/UXudd1vXzgACXmTF49PASxr3DcdqC4kuKV8TzaK2OHt5SonUuL3M= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM8PR11MB5575.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(71200400001)(53546011)(64756008)(2906002)(66556008)(8676002)(4326008)(8936002)(52536014)(38100700002)(66446008)(26005)(186003)(6506007)(66476007)(7696005)(316002)(966005)(38070700005)(86362001)(110136005)(54906003)(82960400001)(5660300002)(83380400001)(9686003)(508600001)(122000001)(33656002)(55016003)(66946007)(76116006);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?wHUj9Wol5QdmEflNmZImaf1NsENazdC1tL1Reg36Q1brMwqiCi1f6kWherd6?= =?us-ascii?Q?lUHvMllElDKyYZIYgB9IWWA9My4Khy5OB7nVyg9kWBjS6naDDBgDDJY8cEcM?= =?us-ascii?Q?uLb00s1e5h7D9/y25lkJKG88REdGkWK+68hJYDmSj8GqSsbZwmypdNkt/a5b?= =?us-ascii?Q?4c41JSkl2D0/GoLMVdvJ0p+APwLVcjsghJJ2h5r+PwlmEaYU01sSvEdGrY/R?= =?us-ascii?Q?Hz/Q8gUijNtyuFqPWkiEYQDoC4sbVL1cFNzxbg0VKWLI0XteWGT+1scDRLD6?= =?us-ascii?Q?fsoRP2csc6Wdnjg+NH53tiZQHi4ZqsH1wNeU+o3O8QlT9/tDxuhnKNAaBAGD?= =?us-ascii?Q?CzdQGt7gXbn0LGBOwQfkkxtN2y05PBemZpdOXp57qSZ9+KPNmd1M7oDHyfZM?= =?us-ascii?Q?XPXzksUyBkkfFbf4u+31n/OpsUpwnY/L9WG3yYcpaP4e2vEaGSzvJm09fVg8?= =?us-ascii?Q?8+dtN/voISVNt0dhOHY5+1wq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ascii?Q?dQnwO+UCwPFAsKb+WbaZlL+ELT3pM8uk9vXUGgoV3eWQyuS18Kppw3TqF2QF?= =?us-ascii?Q?xR3w6VX4BcXYPbEuI+5/F6YjLJxMaszdZBEtKDzPwXXF9LqG1KK0TQr/OQFc?= =?us-ascii?Q?gvq+kQkMToCHx8TLJ97dSuY827bxhAaab8+kqMMJwasuzTBAjcwpqO/7087N?= =?us-ascii?Q?UGd7n3ATOUX5ntlyJfLl7QYVKSKm+v1zT6zvM+/+AFubOM/kqklgwRZ/fuSR?= =?us-ascii?Q?OQCo8S+LQcIuCf/j9CYRJyQ=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM8PR11MB5575.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d85e19e2-d0bd-49f9-f606-08d9f28b077b X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Feb 2022 03:01:58.8950 (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: NUYsyu2koKqrwOrvk2n034A2K2JD/yMfUwAb7qsCfesECCzzi2ryQeKTqcz+B4nm9d2Lsp7sK2M6h4u8TNb56A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB2664 Return-Path: eric.dong@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Eric Dong -----Original Message----- From: Chiu, Chasel =20 Sent: Friday, February 18, 2022 10:52 AM To: devel@edk2.groups.io Cc: Chiu, Chasel ; Desimone, Nathaniel L ; Gao, Liming ; Dong, Eric <= eric.dong@intel.com> Subject: [edk2-platforms: PATCH] MinPlatformPkg/SaveMemoryConfig: Fix GCC b= uild failure. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3829 Commit cbc8e420ac4505e9c51aa0d4f049026691024ca5 caused GCC build failure wh= ich should be fixed. Cc: Nate DeSimone Cc: Liming Gao Cc: Eric Dong Signed-off-by: Chasel Chiu --- Platform/Intel/MinPlatformPkg/Library/BaseLargeVariableLib/LargeVariableWr= iteLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/Intel/MinPlatformPkg/Library/BaseLargeVariableLib/Lar= geVariableWriteLib.c b/Platform/Intel/MinPlatformPkg/Library/BaseLargeVaria= bleLib/LargeVariableWriteLib.c index 3a9869ff9c..de23ae6160 100644 --- a/Platform/Intel/MinPlatformPkg/Library/BaseLargeVariableLib/LargeVaria= bleWriteLib.c +++ b/Platform/Intel/MinPlatformPkg/Library/BaseLargeVariableLib/LargeVa +++ riableWriteLib.c @@ -485,7 +485,7 @@ LockLargeVariable ( ) { CHAR16 TempVariableName[MAX_VARIABLE_NAME_SIZE];- UINT64 = VariableSize;+ UINTN VariableSize; EFI_STATUS Status; = UINTN Index; --=20 2.28.0.windows.1