]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c
MdeModulePkg SmbiosMeasurementDxe: Remove the tailing whitespace
[mirror_edk2.git] / MdeModulePkg / Universal / SmbiosMeasurementDxe / SmbiosMeasurementDxe.c
index 95a3aebefd74922e8d12bd9e63c7ed3e0e6ab11c..9a73f299b1f63043dd812ea6dc3be2ff0cd98f88 100644 (file)
@@ -1,14 +1,14 @@
 /** @file\r
   This driver measures SMBIOS table to TPM.\r
-  \r
+\r
 Copyright (c) 2015, 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
+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
 \r
 **/\r
 \r
@@ -217,7 +217,7 @@ GetSmbiosStringById (
   // look for the two consecutive zeros, check the string limit by the way.\r
   //\r
   String = NULL;\r
-  while (*CharInStr != 0 || *(CharInStr+1) != 0) { \r
+  while (*CharInStr != 0 || *(CharInStr+1) != 0) {\r
     if (*CharInStr == 0) {\r
       Size += 1;\r
       CharInStr++;\r
@@ -306,7 +306,7 @@ FilterSmbiosEntry (
 \r
   @param Head                   Pointer to the beginning of SMBIOS structure.\r
   @param NumberOfStrings        The returned number of optional strings that follow the formatted structure.\r
-  \r
+\r
   @return Size                  The returned size.\r
 **/\r
 UINTN\r
@@ -327,7 +327,7 @@ GetSmbiosStructureSize (
   //\r
   // look for the two consecutive zeros, check the string limit by the way.\r
   //\r
-  while (*CharInStr != 0 || *(CharInStr+1) != 0) { \r
+  while (*CharInStr != 0 || *(CharInStr+1) != 0) {\r
     if (*CharInStr == 0) {\r
       Size += 1;\r
       CharInStr++;\r
@@ -570,7 +570,7 @@ MeasureSmbiosTable (
 \r
 /**\r
 \r
-  Driver to produce Smbios measurement. \r
+  Driver to produce Smbios measurement.\r
 \r
   @param ImageHandle     Module's image handle\r
   @param SystemTable     Pointer of EFI_SYSTEM_TABLE\r
@@ -592,7 +592,7 @@ SmbiosMeasurementDriverEntryPoint (
   Status = gBS->LocateProtocol (&gEfiSmbiosProtocolGuid, NULL, (VOID **) &mSmbios);\r
   ASSERT_EFI_ERROR (Status);\r
   DEBUG ((DEBUG_INFO, "The Smbios Table Version: %x.%x\n", mSmbios->MajorVersion, mSmbios->MinorVersion));\r
-  \r
+\r
   if (mSmbios->MajorVersion < 2 || (mSmbios->MajorVersion == 2 && mSmbios->MinorVersion < 7)){\r
     mMaxLen = SMBIOS_STRING_MAX_LENGTH;\r
   } else if (mSmbios->MajorVersion < 3) {\r