From: jasonx.hsu@intel.com
To: devel@edk2.groups.io
Cc: "JasonX.Hsu" <jasonx.hsu@intel.com>,
Nate DeSimone <nathaniel.l.desimone@intel.com>,
Star Zeng <star.zeng@intel.com>,
Chasel Chiu <chasel.chiu@intel.com>,
Chen Gang C <gang.c.chen@intel.com>,
Duggapu Chinni B <chinni.b.duggapu@intel.com>,
Ted Kuo <ted.kuo@intel.com>,
Ashraf Ali S <ashraf.ali.s@intel.com>,
Susovan Mohapatra <susovan.mohapatra@intel.com>,
James Lu <james.lu@intel.com>, Gua Guo <gua.guo@intel.com>
Subject: [edk2-devel] [PATCH] IntelFsp2WrapperPkg: Add variable initialization
Date: Thu, 9 Nov 2023 18:00:56 +0800 [thread overview]
Message-ID: <45e974f7a6fdb497e243b8c61ea50b60e63bb501.1699523871.git.jasonx.hsu@intel.com> (raw)
From: "JasonX.Hsu" <jasonx.hsu@intel.com>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4595
Fix build error when remove "-Wno-sometimes-uninitialized" option,
Add variable "FspMultiPhaseApiOffset" initialization.
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Chasel Chiu <chasel.chiu@intel.com>
Cc: Chen Gang C <gang.c.chen@intel.com>
Cc: Duggapu Chinni B <chinni.b.duggapu@intel.com>
Cc: Ted Kuo <ted.kuo@intel.com>
Cc: Ashraf Ali S <ashraf.ali.s@intel.com>
Cc: Susovan Mohapatra <susovan.mohapatra@intel.com>
Cc: James Lu <james.lu@intel.com>
Cc: Gua Guo <gua.guo@intel.com>
Signed-off-by: Jason Hsu <jasonx.hsu@intel.com>
---
.../PeiFspWrapperMultiPhaseProcessLib.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/IntelFsp2WrapperPkg/Library/FspWrapperMultiPhaseProcessLib/PeiFspWrapperMultiPhaseProcessLib.c b/IntelFsp2WrapperPkg/Library/FspWrapperMultiPhaseProcessLib/PeiFspWrapperMultiPhaseProcessLib.c
index 834dca07a9..224c24881d 100644
--- a/IntelFsp2WrapperPkg/Library/FspWrapperMultiPhaseProcessLib/PeiFspWrapperMultiPhaseProcessLib.c
+++ b/IntelFsp2WrapperPkg/Library/FspWrapperMultiPhaseProcessLib/PeiFspWrapperMultiPhaseProcessLib.c
@@ -80,6 +80,7 @@ CallFspMultiPhaseEntry (
BOOLEAN IsVariableServiceRequest;
FSP_MULTI_PHASE_PARAMS *FspMultiPhaseParamsPtr;
+ FspMultiPhaseApiOffset = 0;
FspMultiPhaseParamsPtr = (FSP_MULTI_PHASE_PARAMS *)FspMultiPhaseParams;
IsVariableServiceRequest = FALSE;
if ((FspMultiPhaseParamsPtr->MultiPhaseAction == EnumMultiPhaseGetVariableRequestInfo) ||
--
2.39.1.windows.1
-=-=-=-=-=-=-=-=-=-=-=-
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/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
next reply other threads:[~2023-11-10 17:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-09 10:00 jasonx.hsu [this message]
2023-11-09 10:07 ` [edk2-devel] [PATCH] IntelFsp2WrapperPkg: Add variable initialization Guo, Gua
2023-11-09 10:12 ` Chen, Gang C
2023-11-09 11:44 ` Ashraf Ali S
-- strict thread matches above, loose matches on Subject: below --
2023-11-09 7:07 jasonx.hsu
2023-11-09 6:28 jasonx.hsu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45e974f7a6fdb497e243b8c61ea50b60e63bb501.1699523871.git.jasonx.hsu@intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox