Re: [edk2-platforms: PATCH] MinPlatformPkg/SaveMemoryConfig: Fix GCC build failure.


Chiu, Chasel
 

-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Chiu, Chasel
Sent: Friday, February 18, 2022 10:52 AM
To: devel@edk2.groups.io
Cc: Chiu, Chasel <chasel.chiu@...>; Desimone, Nathaniel L
<nathaniel.l.desimone@...>; Gao, Liming <gaoliming@...>;
Dong, Eric <eric.dong@...>
Subject: [edk2-devel] [edk2-platforms: PATCH]
MinPlatformPkg/SaveMemoryConfig: Fix GCC build failure.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3829

Commit cbc8e420ac4505e9c51aa0d4f049026691024ca5 caused GCC build
failure which should be fixed.

Cc: Nate DeSimone <nathaniel.l.desimone@...>
Cc: Liming Gao <gaoliming@...>
Cc: Eric Dong <eric.dong@...>
Signed-off-by: Chasel Chiu <chasel.chiu@...>
---

Platform/Intel/MinPlatformPkg/Library/BaseLargeVariableLib/LargeVariableWri
teLib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git
a/Platform/Intel/MinPlatformPkg/Library/BaseLargeVariableLib/LargeVariable
WriteLib.c
b/Platform/Intel/MinPlatformPkg/Library/BaseLargeVariableLib/LargeVariable
WriteLib.c
index 3a9869ff9c..de23ae6160 100644
---
a/Platform/Intel/MinPlatformPkg/Library/BaseLargeVariableLib/LargeVariable
WriteLib.c
+++ b/Platform/Intel/MinPlatformPkg/Library/BaseLargeVariableLib/LargeVa
+++ riableWriteLib.c
@@ -485,7 +485,7 @@ LockLargeVariable (
) { CHAR16 TempVariableName[MAX_VARIABLE_NAME_SIZE];- UINT64
VariableSize;+ UINTN VariableSize; EFI_STATUS Status; UINTN
Index; --
2.28.0.windows.1



-=-=-=-=-=-=
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#86750): https://edk2.groups.io/g/devel/message/86750
Mute This Topic: https://groups.io/mt/89225574/1777047
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [chasel.chiu@...] -=-
=-=-=-=-=

Join devel@edk2.groups.io to automatically receive all group messages.