From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 0D2E3AC10D1 for ; Thu, 9 Nov 2023 10:07:22 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=CLnM5Fq81PVrllYplQNUIduelrRBRV7YTAkargHKqKE=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1699524441; v=1; b=RqoWgVw+0XpDnwIVUlXRyQPhKFNe22wIHf00n94KSDv4GzYqkqSgrfsbfTQ6yRMA77NLW6rd cEdYuUyffMneEUU7OETauHSFUXXKiCJE6Fe7KWmjylv+JRWZMn4+MWx3dUwxvx+PI1EToR2Pc7Y MlCE8xvekRptP/UzQhhA2UEs= X-Received: by 127.0.0.2 with SMTP id y73FYY7687511x96U7Ram4CH; Thu, 09 Nov 2023 02:07:21 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web11.118319.1699524440853905040 for ; Thu, 09 Nov 2023 02:07:21 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10888"; a="387118267" X-IronPort-AV: E=Sophos;i="6.03,289,1694761200"; d="scan'208";a="387118267" X-Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Nov 2023 02:07:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10888"; a="833780915" X-IronPort-AV: E=Sophos;i="6.03,289,1694761200"; d="scan'208";a="833780915" X-Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga004.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 09 Nov 2023 02:07:20 -0800 X-Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Thu, 9 Nov 2023 02:07:20 -0800 X-Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34 via Frontend Transport; Thu, 9 Nov 2023 02:07:20 -0800 X-Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.41) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.34; Thu, 9 Nov 2023 02:07:19 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EpQWFQWQSCTgedU3Gos3t+pmcZbtyNWeUtYoJxju5QZfV3tYj93L4TJn/xEPEGsccv74KJnKPk9u4acrQy2zsXRcu4MvT3boeVjf5xVgTElRv54PKU9loT7r7WqKNKKgBiJk0eilHndszODWHVkwMQCDWCM1ZNMgi3Rhf/Lm9yAtO4RPKivkQ9FAUgggRrz0aWi70sRHyYWXl3vCi/hFgCoNkVAroEycwHGsuE4QP2nCW13xmjE/t6URfUeDFhN7x6bkxOTARszCuGHB76zByyVvfTP5B1JvgFoXmGuETPLylBymXbzzCG7IZDO1iv2TJ6AQkPuOe/TBArRM5c6Rbg== 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=wL55ce5qUmAqLk3LL/TtXRklE96iB2+Cx0pQWw6pqK4=; b=ZNpltX2jk7Cp2DUXbTnRzJ59ErjWM33bWW0qXseqJme755PBHR20AOvEvgk3Cu/18RkTB4qUaI309gt9CFyUGzmBQLuKHQs9C8BFSNmHsWVGXSvbiWO9MenmEtAO5lPNctkp9jcXaGABSjS7P2SbsXRu0CmTGcUjLiqdpCy6Aweut/tBV657YtqrG/8sg5nJoMQk9wvzegLER7UcW4nLS3s9oRYs+wsM2haUzb1yOF9AU5GfpxXrBENwuJSfnLgzK4k+huPvy/Op+q+9g3+woRHppaKeR7nQ27BOW4nmNBsVpm3KX+nshAcLT7a8odFAsu13Xq+RVKkMUnJVLYsV7Q== 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 X-Received: from BL1PR11MB5478.namprd11.prod.outlook.com (2603:10b6:208:31d::12) by DS7PR11MB6077.namprd11.prod.outlook.com (2603:10b6:8:87::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.28; Thu, 9 Nov 2023 10:07:12 +0000 X-Received: from BL1PR11MB5478.namprd11.prod.outlook.com ([fe80::6ecf:1f93:d602:b443]) by BL1PR11MB5478.namprd11.prod.outlook.com ([fe80::6ecf:1f93:d602:b443%5]) with mapi id 15.20.6954.029; Thu, 9 Nov 2023 10:07:12 +0000 From: "Guo, Gua" To: "Hsu, JasonX" , "devel@edk2.groups.io" CC: "Desimone, Nathaniel L" , "Zeng, Star" , "Chiu, Chasel" , "Chen, Gang C" , "Duggapu, Chinni B" , "Kuo, Ted" , "S, Ashraf Ali" , "Mohapatra, Susovan" , "Lu, James" Subject: Re: [edk2-devel] [PATCH] IntelFsp2WrapperPkg: Add variable initialization Thread-Topic: [PATCH] IntelFsp2WrapperPkg: Add variable initialization Thread-Index: AQHaEvOuKVYVXM/RHkC3nhCnlQSAjbBxwwRA Date: Thu, 9 Nov 2023 10:07:11 +0000 Message-ID: References: <45e974f7a6fdb497e243b8c61ea50b60e63bb501.1699523871.git.jasonx.hsu@intel.com> In-Reply-To: <45e974f7a6fdb497e243b8c61ea50b60e63bb501.1699523871.git.jasonx.hsu@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BL1PR11MB5478:EE_|DS7PR11MB6077:EE_ x-ms-office365-filtering-correlation-id: f89e1ac6-f759-4a8f-1330-08dbe10ba40b x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: Fnzla9Z3SeGQ4oFpCq/82NB/1LswrO7HA3fuF38TVAZ059GmzP1FlnvZtbpuyCw9TVjUoreifeyVPctjdnqSK5CLYgQJz3IWdH48WZCgC8Z1cbHfSLumsgSag8w7uVVoatkszZPBHCLP3hsGef6tfQEJLbrjsPpCS7F2BiHQXEQI7gchsZ89WnX8el1EiVd435W2yojl/bnZ0IWD36+4GIY3dp07Z4DZVqFsB1hxwqEvfQkdBF4eXnAnIcn8XoI2U97XkjweZlvSK1O2eUHOGMv363WDtZ3kzgQpvNdkVwVpvfXoagjguKPy+7bQ4WHIkieYpEwnaQ+9wQ0nHcpikVMVZ33hxu9ZQsq2YPRRONUa9TUQ/+6kIAEikkoW5XgXbS1v9fDzqazZsM56fRvrv0G6rT8RfepXMT3pCxffS/YEbUu9zRKeSnFMW0tNjUHTVKWxkIxRDg3mvXph4ExpLNf4R9EmDdpaws9+GN0/kiEtKmEvtytq6S5NDw7SK6YNWnzwNMWbyk30UjN1wb7qdlDKgHTAVbcKToLVp6Nb1naDHJm4gxWzou7MSXZFA92QBU93ai/Sn8Co7qqm3Qpd3cNYlsDfKyKND46ITde+kBM= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?LTL7TQmrsZwPhGj4eEr+LC6vH5frugZglAS+LywCk2R/8G8v2lpg9MKlsrns?= =?us-ascii?Q?zsS8QTi4G8aKjBpvsPULHXYzv0iklSoYgw6XN8XktFyYpIdpk6fUy2b/zEVA?= =?us-ascii?Q?582Ykqktxv1hXhYCQEahtjxHlQbbg1VUDV0O8nI5UyG3m/bkSiPq3FZ0DrTU?= =?us-ascii?Q?iVdrGMa/ONu9bMQ+sob4cA3vYCGYFUHdWXN2yLoK2jhLL4ycIMyXEgs0yhGK?= =?us-ascii?Q?aZVyZ9HQE+Ue/T0dLAp4m/i55QUQA67wIa6o5ubKUNDZatQqTIgH7qTENyy1?= =?us-ascii?Q?2IIuCzZBhAeNPDy11hwz0ilF7WpAK2kjpVo21M0OsfHMXnc10VIdKmZLPVDv?= =?us-ascii?Q?Ba/UFnLRnVJrS++oDbXHX5pW/yNKbTVL9OiOV06TQ2U6UdcYSJ9hX6VfGE6h?= =?us-ascii?Q?2DMDy39Nh3D/IxxG2mBMArDOrj+tSey0qBlNjEAaFQB/FBb+fWMDlKOIWHph?= =?us-ascii?Q?RgItRcsptqBbcF+9De6oWOl6GJVUJdpiTQjOtTQzZB02/7xLVSvClj/ClbMC?= =?us-ascii?Q?IguxICJLQUy46MTzV1AwHMJchclxrbdUtpUe7HKB8im0GfaWO19DKJfTPc0L?= =?us-ascii?Q?j5VlD+DupCsCBd3Q4uW1P0MnNaTVCEp5yh2y3yMeoa9sO+CbfIoT5rrU37sd?= =?us-ascii?Q?lYnZPIEvCt3dfHFuJuydRSBUoq2txzoUcofZKNMs195muVZNWF7ePmS2Ckdo?= =?us-ascii?Q?wRUzS0EiP17RF7BCQkc2iACU2MXZtumctVTmbudFmT7QxsSY0H4QivYGLpLi?= =?us-ascii?Q?0CywIdORSlYb2eDCYOE4GdN7+s2BR1wUc1jHQchc5QFtZs66eQHYI92cJJwM?= =?us-ascii?Q?HeuIzLTORBQ5HOYNpsvqTE10XwmpyNgOgeh2gYx9Rett+aofUkp7x90Ux4AX?= =?us-ascii?Q?GxfISCGoMNr1K7XmI6uAcGsC+li6kTvT+8H9Ej2KOw3+LS100iyaYMCerI32?= =?us-ascii?Q?rottgRayxyBYM4UkpY0yNN/QHmgr9zLjKD/PDKMVo7+lDojy4tKYEVGtjU9G?= =?us-ascii?Q?z0cVvoDDpHAdC26Dm0UVfJ+gmlKKF1fzahABBDGpzO2iiSxX2ZA1uUJ7oh1V?= =?us-ascii?Q?EPuLRRs75qCHC05n6nZPlulCpVZuv+AwR8Oqn1vVIIU4GhBQDJ/diD+93ivK?= =?us-ascii?Q?ZkZ6dC/nV3rRVIgg8FnhDc+sSs7tbjsclgvGy98aK5zEvWDRlwfVbJ1ngzWZ?= =?us-ascii?Q?5kWMS3ZykS6YSrV0IbEGonv04W2jR3VP+tcEtwb3uaUn/7DT5jwtjDXc+2bP?= =?us-ascii?Q?x+CL9hOsfjksecC9ZCFRcLe8m8f0UAqIrLDmS5MRz3pTrZ33zycM3ZtPtzvf?= =?us-ascii?Q?2O97Esl+k9oQBN1g9hT7P3Yvn79f7F+SFYzMbSwseaOrIA36Dd7tHXIPWVXR?= =?us-ascii?Q?WO0IUwiW1LAM/Yp3WbLRLcL7UaqJnhgNBlGnoLqiq3Bt6YrKy1KbGokG2wHT?= =?us-ascii?Q?sR2tzH4BnxV+dtLYUldojfiph8Ip/CiMehMz059tbs8//rjwb7TWhFUBUHOE?= =?us-ascii?Q?+VxfzpTd8MA7prFswzjVu2GlD8FSGxRApUEbWXKlSaonJfRdSPtKRAq4Nz04?= =?us-ascii?Q?3RVyQ9k2Y9rBx8TOWhw1KVzxvNI1YoKIdAQeQNDY?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL1PR11MB5478.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f89e1ac6-f759-4a8f-1330-08dbe10ba40b X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Nov 2023 10:07:11.5987 (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: ZfBKiJxjTvlDKA3DLnHowZHYBYNdxRbZJzYeriGLpZR8KAzW8NotWNIXYrpxuq66uHRKqr15nWxMsbvHuG/H6w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR11MB6077 X-OriginatorOrg: intel.com Precedence: Bulk 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,gua.guo@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: KNC4S5JCBzhOLTvWSvG3E1z2x7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=RqoWgVw+; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Reviewed-by: Gua Guo -----Original Message----- From: Hsu, JasonX =20 Sent: Thursday, November 9, 2023 6:01 PM To: devel@edk2.groups.io Cc: Hsu, JasonX ; Desimone, Nathaniel L ; Zeng, Star ; Chiu, Chasel ; Chen, Gang C ; Duggapu, Chinni B <= chinni.b.duggapu@intel.com>; Kuo, Ted ; S, Ashraf Ali ; Mohapatra, Susovan ; L= u, James ; Guo, Gua Subject: [PATCH] IntelFsp2WrapperPkg: Add variable initialization From: "JasonX.Hsu" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4595 Fix build error when remove "-Wno-sometimes-uninitialized" option, Add vari= able "FspMultiPhaseApiOffset" initialization. Cc: Nate DeSimone Cc: Star Zeng Cc: Chasel Chiu Cc: Chen Gang C Cc: Duggapu Chinni B Cc: Ted Kuo Cc: Ashraf Ali S Cc: Susovan Mohapatra Cc: James Lu Cc: Gua Guo Signed-off-by: Jason Hsu --- .../PeiFspWrapperMultiPhaseProcessLib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/IntelFsp2WrapperPkg/Library/FspWrapperMultiPhaseProcessLib/Pei= FspWrapperMultiPhaseProcessLib.c b/IntelFsp2WrapperPkg/Library/FspWrapperMu= ltiPhaseProcessLib/PeiFspWrapperMultiPhaseProcessLib.c index 834dca07a9..224c24881d 100644 --- a/IntelFsp2WrapperPkg/Library/FspWrapperMultiPhaseProcessLib/PeiFspWrap= perMultiPhaseProcessLib.c +++ b/IntelFsp2WrapperPkg/Library/FspWrapperMultiPhaseProcessLib/PeiFspW +++ rapperMultiPhaseProcessLib.c @@ -80,6 +80,7 @@ CallFspMultiPhaseEntry ( BOOLEAN IsVariableServiceRequest; FSP_MULTI_PHASE_PARA= MS *FspMultiPhaseParamsPtr; + FspMultiPhaseApiOffset =3D 0; FspMultiP= haseParamsPtr =3D (FSP_MULTI_PHASE_PARAMS *)FspMultiPhaseParams; IsVari= ableServiceRequest =3D FALSE; if ((FspMultiPhaseParamsPtr->MultiPhaseActi= on =3D=3D EnumMultiPhaseGetVariableRequestInfo) ||--=20 2.39.1.windows.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 (#110963): https://edk2.groups.io/g/devel/message/110963 Mute This Topic: https://groups.io/mt/102482693/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-