From nobody Thu May 16 09:53:44 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+111047+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+111047+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=m/G84YLoscnKepI4JY1HlIuZ0g7CqFsuSTZ1L+pLEccFdw210LlILAh6aqQT8hU9sZnrwrJkMIfmKOHgVPbSFb/7+uN4P8UnPg5AW2MWjn7/DmxArZYIUGT40nm1LTYgG6x7bKM7DPAgQGr7IkphAMjNqXQGhGDke8rPjAlzVy0= 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=VTtNg3tm3iibt8xnFD/VruPeqIqr9Rndwap4NTW2nYo=; b=Y8zOmrXfDwK8Fqgs7IMA2Qk4KMlIQ2e8aUFgHP0sO8zhfEOwL1Jd2DBb5VN2DVQJimjx2QxA1DP05YE6xQoSnP01+OxlgbXJMzDOMbArRUez4CIzzXLVW7oddMDmM9nJXHq2A+DYMjqQji4r4TSZlknaVzeE6jt3ZXjipKeRvkY= 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+111047+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 1699636100663602.4143779383558; Fri, 10 Nov 2023 09:08:20 -0800 (PST) Return-Path: DKIM-Signature: a=rsa-sha256; bh=2TSdyFZvcd+KFND6sLp/l30kqLDxhx5LrAEsuhLMcGM=; 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=t+NIp+JFaPPK84425IjdXRwNfltkxp1f7RKdGFlXufkDtOeP3F6OUtcZ+ffqzp1Ou0zt80wm pgbV8bRCgI3EDqq1f8ZS+5T5kSizc2wD70c/l+qeQvC3qL8nSPTzIn6R6o7M2IKWLcuxqSx2wAX IEsQ9UuuPQB+LtXSsi5VhEXc= X-Received: by 127.0.0.2 with SMTP id eQUXYY1788612xMYFB5fw1j7; 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: fRuDMIwzLsxXzFKJsFDra1fDx1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1699636101029100003 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. --- .../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 (#111047): https://edk2.groups.io/g/devel/message/111047 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-