summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Universal/SmbiosMeasurementDxe
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2015-10-29 01:13:32 +0000
committerlzeng14 <lzeng14@Edk2>2015-10-29 01:13:32 +0000
commit14c218b398b994b7685e372ce3ed043379964326 (patch)
tree2d9f8cb3224148f0206ce9a4ec4ae35a5ec80a95 /MdeModulePkg/Universal/SmbiosMeasurementDxe
parente293bc24ed3bcffe8227d6a9b2ff3711954fce44 (diff)
downloadedk2-14c218b398b994b7685e372ce3ed043379964326.tar.gz
edk2-14c218b398b994b7685e372ce3ed043379964326.tar.bz2
edk2-14c218b398b994b7685e372ce3ed043379964326.zip
MdeModulePkg SmbiosMeasurementDxe: Remove the tailing whitespace
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
Diffstat (limited to 'MdeModulePkg/Universal/SmbiosMeasurementDxe')
-rw-r--r--MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c26
-rw-r--r--MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.inf2
2 files changed, 14 insertions, 14 deletions
diff --git a/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c b/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c
index 95a3aebefd..9a73f299b1 100644
--- a/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c
+++ b/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c
@@ -1,14 +1,14 @@
/** @file
This driver measures SMBIOS table to TPM.
-
+
Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
-This program and the accompanying materials
-are licensed and made available under the terms and conditions of the BSD License
-which accompanies this distribution. The full text of the license may be found at
-http://opensource.org/licenses/bsd-license.php
-
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
@@ -217,7 +217,7 @@ GetSmbiosStringById (
// look for the two consecutive zeros, check the string limit by the way.
//
String = NULL;
- while (*CharInStr != 0 || *(CharInStr+1) != 0) {
+ while (*CharInStr != 0 || *(CharInStr+1) != 0) {
if (*CharInStr == 0) {
Size += 1;
CharInStr++;
@@ -306,7 +306,7 @@ FilterSmbiosEntry (
@param Head Pointer to the beginning of SMBIOS structure.
@param NumberOfStrings The returned number of optional strings that follow the formatted structure.
-
+
@return Size The returned size.
**/
UINTN
@@ -327,7 +327,7 @@ GetSmbiosStructureSize (
//
// look for the two consecutive zeros, check the string limit by the way.
//
- while (*CharInStr != 0 || *(CharInStr+1) != 0) {
+ while (*CharInStr != 0 || *(CharInStr+1) != 0) {
if (*CharInStr == 0) {
Size += 1;
CharInStr++;
@@ -570,7 +570,7 @@ MeasureSmbiosTable (
/**
- Driver to produce Smbios measurement.
+ Driver to produce Smbios measurement.
@param ImageHandle Module's image handle
@param SystemTable Pointer of EFI_SYSTEM_TABLE
@@ -592,7 +592,7 @@ SmbiosMeasurementDriverEntryPoint (
Status = gBS->LocateProtocol (&gEfiSmbiosProtocolGuid, NULL, (VOID **) &mSmbios);
ASSERT_EFI_ERROR (Status);
DEBUG ((DEBUG_INFO, "The Smbios Table Version: %x.%x\n", mSmbios->MajorVersion, mSmbios->MinorVersion));
-
+
if (mSmbios->MajorVersion < 2 || (mSmbios->MajorVersion == 2 && mSmbios->MinorVersion < 7)){
mMaxLen = SMBIOS_STRING_MAX_LENGTH;
} else if (mSmbios->MajorVersion < 3) {
diff --git a/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.inf b/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.inf
index 6f894476e4..3193a6df6e 100644
--- a/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.inf
+++ b/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.inf
@@ -56,7 +56,7 @@
[Protocols]
gEfiSmbiosProtocolGuid ## PRODUCES
-
+
[Guids]
gEfiSmbiosTableGuid ## SOMETIMES_PRODUCES ## SystemTable
gEfiSmbios3TableGuid ## SOMETIMES_PRODUCES ## SystemTable