Re: [edk2-devel] [PATCH EDK2 v1 1/1] UefiCpuPkg/MpInitLib:remove optional in declaration

2022-03-13 Thread Ni, Ray
Reviewed-by: Ray Ni 

-Original Message-
From: devel@edk2.groups.io  On Behalf Of wenyi,xie via 
groups.io
Sent: Thursday, March 10, 2022 4:06 PM
To: devel@edk2.groups.io; Dong, Eric ; Ni, Ray 
; Kumar, Rahul1 
Cc: songdongku...@huawei.com; xiewen...@huawei.com
Subject: [edk2-devel] [PATCH EDK2 v1 1/1] UefiCpuPkg/MpInitLib:remove optional 
in declaration

To keep the declaration same with definition, remove the last optional in 
declaration of WakeUpAP.

Cc: Eric Dong 
Cc: Ray Ni 
Cc: Rahul Kumar 
Signed-off-by: Wenyi Xie 
---
 UefiCpuPkg/Library/MpInitLib/MpLib.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/UefiCpuPkg/Library/MpInitLib/MpLib.h 
b/UefiCpuPkg/Library/MpInitLib/MpLib.h
index 7d84a56fbc51..f8c52426dd5f 100644
--- a/UefiCpuPkg/Library/MpInitLib/MpLib.h
+++ b/UefiCpuPkg/Library/MpInitLib/MpLib.h
@@ -477,7 +477,7 @@ WakeUpAP (
   IN UINTN ProcessorNumber,
   IN EFI_AP_PROCEDURE  Procedure   OPTIONAL,
   IN VOID  *ProcedureArgument  OPTIONAL,
-  IN BOOLEAN   WakeUpDisabledAps   OPTIONAL
+  IN BOOLEAN   WakeUpDisabledAps
   );
 
 /**
--
2.20.1.windows.1








-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#87527): https://edk2.groups.io/g/devel/message/87527
Mute This Topic: https://groups.io/mt/89682107/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-




[edk2-devel] [PATCH EDK2 v1 1/1] UefiCpuPkg/MpInitLib:remove optional in declaration

2022-03-10 Thread wenyi,xie via groups.io
To keep the declaration same with definition, remove the last optional
in declaration of WakeUpAP.

Cc: Eric Dong 
Cc: Ray Ni 
Cc: Rahul Kumar 
Signed-off-by: Wenyi Xie 
---
 UefiCpuPkg/Library/MpInitLib/MpLib.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/UefiCpuPkg/Library/MpInitLib/MpLib.h 
b/UefiCpuPkg/Library/MpInitLib/MpLib.h
index 7d84a56fbc51..f8c52426dd5f 100644
--- a/UefiCpuPkg/Library/MpInitLib/MpLib.h
+++ b/UefiCpuPkg/Library/MpInitLib/MpLib.h
@@ -477,7 +477,7 @@ WakeUpAP (
   IN UINTN ProcessorNumber,
   IN EFI_AP_PROCEDURE  Procedure   OPTIONAL,
   IN VOID  *ProcedureArgument  OPTIONAL,
-  IN BOOLEAN   WakeUpDisabledAps   OPTIONAL
+  IN BOOLEAN   WakeUpDisabledAps
   );
 
 /**
-- 
2.20.1.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#87401): https://edk2.groups.io/g/devel/message/87401
Mute This Topic: https://groups.io/mt/89682107/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-