]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg SmbiosMeasurementDxe: Remove the tailing whitespace
authorStar Zeng <star.zeng@intel.com>
Thu, 29 Oct 2015 01:13:32 +0000 (01:13 +0000)
committerlzeng14 <lzeng14@Edk2>
Thu, 29 Oct 2015 01:13:32 +0000 (01:13 +0000)
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18694 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c
MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.inf

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
index 6f894476e46d011e015f96d9b5d4513ea69e08eb..3193a6df6ea4f6ba97d29e5d58096e94e7e1e9f4 100644 (file)
@@ -56,7 +56,7 @@
 \r
 [Protocols]\r
   gEfiSmbiosProtocolGuid                            ## PRODUCES\r
-  \r
+\r
 [Guids]\r
   gEfiSmbiosTableGuid                               ## SOMETIMES_PRODUCES ## SystemTable\r
   gEfiSmbios3TableGuid                              ## SOMETIMES_PRODUCES ## SystemTable\r