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 7B37378003C for ; Fri, 10 Nov 2023 17:08:21 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=PaoAqaZgHuFh2glerrbZQGzWttgJ4AQgu2lugyvoP4A=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1699636100; v=1; b=KkxpS2kePz/iZclOP147H602xvVlN3pIiSpOqSdg9N/Zcpt4BIL/u6p3NpWZZaOBhf3w4oxL GsjP1sUQxdI7SJKP87OXxbt1bBxyNxAenrmhNujBk5pvrHfLD420bqXFE4XYNK1bTTFe94tt19Z UsIefFObOwj+6qbXoiWOHyk4= X-Received: by 127.0.0.2 with SMTP id Fne2YY7687511x3YLvHLyprQ; Fri, 10 Nov 2023 09:08:20 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by mx.groups.io with SMTP id smtpd.web10.115922.1699511352470535352 for ; Wed, 08 Nov 2023 22:29:13 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10888"; a="2956076" X-IronPort-AV: E=Sophos;i="6.03,288,1694761200"; d="scan'208";a="2956076" X-Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2023 22:28:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.03,288,1694761200"; d="scan'208";a="4638056" X-Received: from yunhsiax-mobl3.gar.corp.intel.com ([10.225.33.98]) by fmviesa002.fm.intel.com with ESMTP; 08 Nov 2023 22:28:48 -0800 From: jasonx.hsu@intel.com To: devel@edk2.groups.io Cc: "JasonX.Hsu" Subject: [edk2-devel] [PATCH] IntelFsp2WrapperPkg: Add variable initialization Date: Thu, 9 Nov 2023 14:28:35 +0800 Message-Id: <0d2b1091e616d1aecee086f25290c8c95ff8de73.1699511058.git.jasonx.hsu@intel.com> MIME-Version: 1.0 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,jasonx.hsu@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: jNj5UNKtl1GT4i013v0c87OLx7686176AA= 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=KkxpS2ke; 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 From: "JasonX.Hsu" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4595 Fix build error when remove "-Wno-sometimes-uninitialized" option, Add variable "FspMultiPhaseApiOffset" initialization. --- .../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/PeiFspWrap= perMultiPhaseProcessLib.c @@ -80,6 +80,7 @@ CallFspMultiPhaseEntry ( BOOLEAN IsVariableServiceRequest;=0D FSP_MULTI_PHASE_PARAMS *FspMultiPhaseParamsPtr;=0D =0D + FspMultiPhaseApiOffset =3D 0;=0D FspMultiPhaseParamsPtr =3D (FSP_MULTI_PHASE_PARAMS *)FspMultiPhasePara= ms;=0D IsVariableServiceRequest =3D FALSE;=0D if ((FspMultiPhaseParamsPtr->MultiPhaseAction =3D=3D EnumMultiPhaseGetVa= riableRequestInfo) ||=0D --=20 2.39.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#111047): https://edk2.groups.io/g/devel/message/111047 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] -=-=-=-=-=-=-=-=-=-=-=-