]> git.proxmox.com Git - mirror_edk2.git/commitdiff
SecurityPkg: Issues reported by ECC in EDK2.
authorGuoMinJ <newexplorerj@gmail.com>
Thu, 13 Feb 2020 08:33:48 +0000 (16:33 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 14 Feb 2020 07:27:28 +0000 (07:27 +0000)
https://bugzilla.tianocore.org/show_bug.cgi?id=2515

Change the SecurityPkg to match the ECC check rule

Signed-off-by: GuoMinJ <newexplorerj@gmail.com>
Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c

index 1fe1955cab8b90057ace35e6a5c1e354afeb4ce7..9a5f987e686933ac5b532bb50f83bed1c1927a04 100644 (file)
@@ -772,7 +772,7 @@ Tcg2GetEventLog (
   return EFI_SUCCESS;\r
 }\r
 \r
-/*\r
+/**\r
   Return if this is a Tcg800155PlatformIdEvent.\r
 \r
   @param[in]      NewEventHdr         Pointer to a TCG_PCR_EVENT_HDR/TCG_PCR_EVENT_EX data structure.\r
@@ -783,7 +783,7 @@ Tcg2GetEventLog (
   @retval TRUE   This is a Tcg800155PlatformIdEvent.\r
   @retval FALSE  This is NOT a Tcg800155PlatformIdEvent.\r
 \r
-*/\r
+**/\r
 BOOLEAN\r
 Is800155Event (\r
   IN      VOID                      *NewEventHdr,\r
index 7e94a8e1ed1a1607626e52423e58765dd71c2848..4852d8690617e9d80b8205316d90ad512417e15a 100644 (file)
@@ -460,7 +460,7 @@ MeasureCRTMVersion (
            );\r
 }\r
 \r
-/*\r
+/**\r
   Get the FvName from the FV header.\r
 \r
   Causion: The FV is untrusted input.\r
@@ -470,7 +470,7 @@ MeasureCRTMVersion (
 \r
   @return FvName pointer\r
   @retval NULL   FvName is NOT found\r
-*/\r
+**/\r
 VOID *\r
 GetFvName (\r
   IN EFI_PHYSICAL_ADDRESS           FvBase,\r