]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Library/TcgStorageCoreLib/TcgStorageCore.c
SecurityPkg: Fix spelling errors
[mirror_edk2.git] / SecurityPkg / Library / TcgStorageCoreLib / TcgStorageCore.c
index e333b55352b8a2af8dbe7cb555cd0e75742d5d15..f9c57a13f2e4905fa1467b04e3cb5b6c3ff1c6fb 100644 (file)
@@ -2,13 +2,7 @@
   Provide functions to provide tcg storage core spec related functions.\r
 \r
 Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution.  The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -1255,7 +1249,7 @@ TcgGetTokenByteSequence(
   Get next specify value.\r
 \r
   @param    ParseStruct   Input parse structure.\r
-  @param    Value         Return vlaue.\r
+  @param    Value         Return value.\r
 \r
   @retval   return the action result.\r
 \r
@@ -1288,7 +1282,7 @@ TcgGetNextUINT8(
   Get next specify value.\r
 \r
   @param    ParseStruct   Input parse structure.\r
-  @param    Value         Return vlaue.\r
+  @param    Value         Return value.\r
 \r
   @retval   return the action result.\r
 \r
@@ -1321,7 +1315,7 @@ TcgGetNextUINT16(
   Get next specify value.\r
 \r
   @param    ParseStruct   Input parse structure.\r
-  @param    Value         Return vlaue.\r
+  @param    Value         Return value.\r
 \r
   @retval   return the action result.\r
 \r
@@ -1354,7 +1348,7 @@ TcgGetNextUINT32(
   Get next specify value.\r
 \r
   @param    ParseStruct   Input parse structure.\r
-  @param    Value         Return vlaue.\r
+  @param    Value         Return value.\r
 \r
   @retval   return the action result.\r
 \r
@@ -1376,7 +1370,7 @@ TcgGetNextUINT64(
   Get next specify value.\r
 \r
   @param    ParseStruct   Input parse structure.\r
-  @param    Value         Return vlaue.\r
+  @param    Value         Return value.\r
 \r
   @retval   return the action result.\r
 \r
@@ -1435,6 +1429,8 @@ TcgGetNextTcgUid(
     return TcgResultFailure;\r
   }\r
 \r
+  ASSERT (ByteSeq != NULL);\r
+\r
   CopyMem(Uid, ByteSeq, sizeof(TCG_UID));\r
 \r
   return TcgResultSuccess;\r