From nobody Thu May 16 08:54:25 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+111049+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+111049+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1699636101; cv=none; d=zohomail.com; s=zohoarc; b=BLlB6SkXKZuaq02ubu0Vr5tNunOgyiffhk8VoBk5s1+XrL7e//4R+po3G571dldlQNxR7pXGcl2+E1CNeCHO3QPLBGZW/LtCR5MDUCn7Wy5Ss7adVcYn2ORimg7nkaKJBlwd9xwVYj3wE+cPDI9vhBzmL71uSlRd9ESKPAwYZMw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1699636101; 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=r8XuHQ8cp1+q/thTSs0JPRJY2D2bJJesRKtS8GGah0c=; b=U/Y7e2qvRMuYr4KyL/f8lilDtUTuem2Y33WYswvE1gZkLjJ66He6IJFwPGTuhNPgao6zn2D/2o26/mMcCT0q5uHuGRbyJA3Mlyy+hkzP7B2wStXJbKBRwIWaF9VMPxty7n8PgE4HfeydC9CQrJD4+UZ/Voh1redazAL8y6ZoibE= 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+111049+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 1699636101459513.5981740236595; Fri, 10 Nov 2023 09:08:21 -0800 (PST) Return-Path: DKIM-Signature: a=rsa-sha256; bh=RPn6I45nsw3v67b5erzcJGjfUarZSK4SUwFMqlpiYv0=; 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=1699636101; v=1; b=ghlNheqIzx/0mi6uICY7H0RSMNciayibgJNCQ0A/fQdSl1s7u0x4/Yc8xkql9meRZYDfjwy9 tOa86v6azspeuGjw5bJu6MnPs7W8TVvqYNiDof7k5cEt8cUoTr+dUwt4qmHLgM6mlxBAswDHV3X QOPxpJHIIkc295iGI3c8H5nU= X-Received: by 127.0.0.2 with SMTP id ueS9YY1788612xrjRnL6VJdg; Fri, 10 Nov 2023 09:08:21 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web10.117755.1699524068917060146 for ; Thu, 09 Nov 2023 02:01:09 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10888"; a="374993725" X-IronPort-AV: E=Sophos;i="6.03,289,1694761200"; d="scan'208";a="374993725" X-Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Nov 2023 02:01:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.03,289,1694761200"; d="scan'208";a="11094426" X-Received: from yunhsiax-mobl3.gar.corp.intel.com ([10.227.107.37]) by orviesa001.jf.intel.com with ESMTP; 09 Nov 2023 02:01:05 -0800 From: jasonx.hsu@intel.com To: devel@edk2.groups.io Cc: "JasonX.Hsu" , Nate DeSimone , Star Zeng , Chasel Chiu , Chen Gang C , Duggapu Chinni B , Ted Kuo , Ashraf Ali S , Susovan Mohapatra , James Lu , Gua Guo Subject: [edk2-devel] [PATCH] IntelFsp2WrapperPkg: Add variable initialization Date: Thu, 9 Nov 2023 18:00:56 +0800 Message-Id: <45e974f7a6fdb497e243b8c61ea50b60e63bb501.1699523871.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: 4MqD9tmiJb48Ze3riDNpyTSYx1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1699636103054100006 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: 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 Reviewed-by: Chen Gang C Reviewed-by: Gua Guo Reviewed-by: S, Ashraf Ali --- .../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 (#111049): https://edk2.groups.io/g/devel/message/111049 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-