From nobody Thu May 16 10:31:55 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+111048+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+111048+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1699636100; cv=none; d=zohomail.com; s=zohoarc; b=j4H7fGQsTnb8fJ8PaLSPyZiKzzLqiK0UWrY2CDL47XcNsUDbQeMn/AmT9K2Ju0u0Qlbqb2mBf1XdYCKO1yWNJsoD5xyrcmcbsuCVBF8xhFhTVr7/dibolW/oo0Xq5YdCVBhmG/pFoO1/JKbNL1g3ETGfAczjECJOYplP+Ke3aiI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1699636100; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:Sender:Subject:Subject:To:To:Message-Id; bh=W7ldtjLDimEJAEP/DHu89qvwaNjnrvliuxlY3eBfW9s=; b=XRljRluGGor1dExOZX+vVgxODSiio9waArDtq4rmAYjb9i25+szsrEOwSTOcDNFC5xEnhrgorSXPYyoUiaqmTJ+pITxNv71kRwWtS78sxN6bW+eGmXCgxxGKN4oZGRjjObKla4p1PwvMWT23KwuPe455duUuS1ZJYR2COOqiUb4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+111048+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1699636100972353.41154900812285; Fri, 10 Nov 2023 09:08:20 -0800 (PST) Return-Path: DKIM-Signature: a=rsa-sha256; bh=6MXTMdOq3rux8ogpNFt+tYZXa+ZwWrdbZuObam9RWDY=; 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=tDEeP4XlD/iYrwxTSGwJuJI9qoCoyF0zleKX5odKyDvBTfrX1EfUplkkZ1dRWUZVJNqV2hxF KGWf6Rnj/P7KQ2ULmALGHgS0MljXl+PZGiei2q+sA/nTxcxwJVHGag1W/NV9SFSG2lGamef2EMi vfdBzHPj/sP8JgwwV0eHxLxE= X-Received: by 127.0.0.2 with SMTP id LRd3YY1788612xDCzT0Luhgw; 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: bqC8OcBXtp9p4eQ2KkXiH2ynx1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1699636103038100005 Content-Type: text/plain; charset="utf-8" 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; FSP_MULTI_PHASE_PARAMS *FspMultiPhaseParamsPtr; =20 + FspMultiPhaseApiOffset =3D 0; FspMultiPhaseParamsPtr =3D (FSP_MULTI_PHASE_PARAMS *)FspMultiPhasePara= ms; IsVariableServiceRequest =3D FALSE; if ((FspMultiPhaseParamsPtr->MultiPhaseAction =3D=3D EnumMultiPhaseGetVa= riableRequestInfo) || --=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 (#111048): https://edk2.groups.io/g/devel/message/111048 Mute This Topic: https://groups.io/mt/102482693/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-