]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Compatibility/DataHubSmBiosRecordsOnPiSmBiosThunk/ConvLib.c
Fix some typo.
[mirror_edk2.git] / EdkCompatibilityPkg / Compatibility / DataHubSmBiosRecordsOnPiSmBiosThunk / ConvLib.c
index 56df30c9fda9c1d78eb3bbbe2b77f89ce1bf6501..fac1fb7b58b467c3deeba8138a6118dd8790824e 100644 (file)
@@ -1,4 +1,4 @@
-/**@file\r
+/** @file\r
   Common filling functions used in translating Datahub's record\r
   to PI SMBIOS's record.\r
   \r
@@ -105,7 +105,7 @@ SmbiosFldCacheType10 (
   @param StructureNode The structure node whose structure buffer is to be enlarged.\r
   @param NewLength     The new length of SMBIOS record which does not include unformat area.\r
   @param OldBufferSize The old size of SMBIOS record buffer.\r
-  @param NewSize       The new size is targeted for enlarged.\r
+  @param NewBufferSize The new size is targeted for enlarged.\r
   \r
   @retval EFI_OUT_OF_RESOURCES  No more memory to allocate new record\r
   @retval EFI_SUCCESS           Success to enlarge the record buffer size.\r
@@ -437,7 +437,7 @@ SmbiosFldInterLink (
     // Hang this in the link data fixup node\r
     //\r
     LinkDataFixupNode = AllocateZeroPool (sizeof (SMBIOS_LINK_DATA_FIXUP_NODE));\r
-    if (!LinkDataFixupNode) {\r
+    if (LinkDataFixupNode == NULL) {\r
       return EFI_OUT_OF_RESOURCES;\r
     }\r
 \r