summaryrefslogtreecommitdiffstats
path: root/SecurityPkg/Tcg
diff options
context:
space:
mode:
authorGuoMinJ <newexplorerj@gmail.com>2020-02-13 16:33:48 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-14 07:27:28 +0000
commitf9713abe950b3d3e0e27bf87a03b5fa2bc69735f (patch)
tree68913aca3ead10ee3310e2081b27d7021edb44cf /SecurityPkg/Tcg
parent1e947f9bf5932260a14b628614bf165916959f21 (diff)
downloadedk2-f9713abe950b3d3e0e27bf87a03b5fa2bc69735f.tar.gz
edk2-f9713abe950b3d3e0e27bf87a03b5fa2bc69735f.tar.bz2
edk2-f9713abe950b3d3e0e27bf87a03b5fa2bc69735f.zip
SecurityPkg: Issues reported by ECC in EDK2.
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>
Diffstat (limited to 'SecurityPkg/Tcg')
-rw-r--r--SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c4
-rw-r--r--SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
index 1fe1955cab..9a5f987e68 100644
--- a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
+++ b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
@@ -772,7 +772,7 @@ Tcg2GetEventLog (
return EFI_SUCCESS;
}
-/*
+/**
Return if this is a Tcg800155PlatformIdEvent.
@param[in] NewEventHdr Pointer to a TCG_PCR_EVENT_HDR/TCG_PCR_EVENT_EX data structure.
@@ -783,7 +783,7 @@ Tcg2GetEventLog (
@retval TRUE This is a Tcg800155PlatformIdEvent.
@retval FALSE This is NOT a Tcg800155PlatformIdEvent.
-*/
+**/
BOOLEAN
Is800155Event (
IN VOID *NewEventHdr,
diff --git a/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c b/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c
index 7e94a8e1ed..4852d86906 100644
--- a/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c
+++ b/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c
@@ -460,7 +460,7 @@ MeasureCRTMVersion (
);
}
-/*
+/**
Get the FvName from the FV header.
Causion: The FV is untrusted input.
@@ -470,7 +470,7 @@ MeasureCRTMVersion (
@return FvName pointer
@retval NULL FvName is NOT found
-*/
+**/
VOID *
GetFvName (
IN EFI_PHYSICAL_ADDRESS FvBase,