[edk2-devel] [PATCH] UefiCpuPkg/Library: Use semicolon instead of comma at end of statement

Elyes Haouas posted 1 patch 8 months, 1 week ago
Failed in applying to current master (apply log)
UefiCpuPkg/Library/MpInitLib/X64/AmdSev.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[edk2-devel] [PATCH] UefiCpuPkg/Library: Use semicolon instead of comma at end of statement
Posted by Elyes Haouas 8 months, 1 week ago
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
---
 UefiCpuPkg/Library/MpInitLib/X64/AmdSev.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/UefiCpuPkg/Library/MpInitLib/X64/AmdSev.c b/UefiCpuPkg/Library/MpInitLib/X64/AmdSev.c
index c9f0984f41..3b92beea31 100644
--- a/UefiCpuPkg/Library/MpInitLib/X64/AmdSev.c
+++ b/UefiCpuPkg/Library/MpInitLib/X64/AmdSev.c
@@ -281,14 +281,14 @@ SevSnpCreateAP (
     for (Index = 0; Index < CpuMpData->CpuCount; Index++) {
       if (Index != CpuMpData->BspNumber) {
         CpuData = &CpuMpData->CpuData[Index];
-        ApicId  = CpuInfoInHob[Index].ApicId,
+        ApicId  = CpuInfoInHob[Index].ApicId;
         SevSnpCreateSaveArea (CpuMpData, CpuData, ApicId);
       }
     }
   } else {
     Index   = (UINTN)ProcessorNumber;
     CpuData = &CpuMpData->CpuData[Index];
-    ApicId  = CpuInfoInHob[ProcessorNumber].ApicId,
+    ApicId  = CpuInfoInHob[ProcessorNumber].ApicId;
     SevSnpCreateSaveArea (CpuMpData, CpuData, ApicId);
   }
 }
-- 
2.40.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#107935): https://edk2.groups.io/g/devel/message/107935
Mute This Topic: https://groups.io/mt/100880850/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-