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 90B07740035 for ; Fri, 10 Nov 2023 17:08:21 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Z8zENXV37aYv362wddIFgPnPT4QgNvjsNWnIxL9PbpI=; 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=P4iZFvtiul3oH+b2t860rLIjizUgDlejymO4Ve+dHvoeUIPhV8FPPOUPUM1Ehb3tt9OTGoMc DU2XmS7qFrGAVDsW9QoZhDJxiR1gannkquT/Qnhry9FOOVAAkDQ/B5BrAK+fFPTBqICoY5re8dw MY1c+LBhm44QYMeumxNjuyto= X-Received: by 127.0.0.2 with SMTP id 1QQwYY7687511xG0DIuRxez9; Fri, 10 Nov 2023 09:08:20 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by mx.groups.io with SMTP id smtpd.web10.116201.1699513654387030046 for ; Wed, 08 Nov 2023 23:07:34 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10888"; a="11483808" X-IronPort-AV: E=Sophos;i="6.03,288,1694761200"; d="scan'208";a="11483808" X-Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2023 23:07:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10888"; a="853991808" X-IronPort-AV: E=Sophos;i="6.03,288,1694761200"; d="scan'208";a="853991808" X-Received: from yunhsiax-mobl3.gar.corp.intel.com ([10.227.107.37]) by FMSMGA003.fm.intel.com with ESMTP; 08 Nov 2023 23:07:32 -0800 From: jasonx.hsu@intel.com To: devel@edk2.groups.io Cc: "JasonX.Hsu" , Nate DeSimone , Star Zeng , James Lu , Gua Guo Subject: [edk2-devel] [PATCH] IntelFsp2WrapperPkg: Add variable initialization Date: Thu, 9 Nov 2023 15:07:15 +0800 Message-Id: <56ce3b649c131d15f5552419cec72a8f1431ecdf.1699513520.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: 42jqEEGmz9HG6j5IISWMLrcsx7686176AA= 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=P4iZFvti; 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. Cc: Nate DeSimone Cc: Star Zeng 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/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 (#111048): https://edk2.groups.io/g/devel/message/111048 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] -=-=-=-=-=-=-=-=-=-=-=-