Revision: 18817
http://sourceforge.net/p/edk2/code/18817
Author: vanjeff
Date: 2015-11-16 08:16:22 +0000 (Mon, 16 Nov 2015)
Log Message:
-----------
MdeModulePkg SmbiosMeasurementDxe: Remove the tailing whitespace
(Sync patch r18694 from main trunk.)
Cc: Jiewen Yao <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <[email protected]>
Reviewed-by: Jiewen Yao <[email protected]>
Revision Links:
--------------
http://sourceforge.net/p/edk2/code/18694
Modified Paths:
--------------
branches/UDK2015/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c
branches/UDK2015/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.inf
Modified:
branches/UDK2015/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c
===================================================================
---
branches/UDK2015/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c
2015-11-16 08:15:24 UTC (rev 18816)
+++
branches/UDK2015/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c
2015-11-16 08:16:22 UTC (rev 18817)
@@ -1,15 +1,15 @@
/** @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.
+
**/
#include <PiDxe.h>
@@ -217,7 +217,7 @@
// 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 @@
@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 @@
//
// 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 @@
/**
- 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 @@
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) {
Modified:
branches/UDK2015/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.inf
===================================================================
---
branches/UDK2015/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.inf
2015-11-16 08:15:24 UTC (rev 18816)
+++
branches/UDK2015/MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.inf
2015-11-16 08:16:22 UTC (rev 18817)
@@ -56,7 +56,7 @@
[Protocols]
gEfiSmbiosProtocolGuid ## PRODUCES
-
+
[Guids]
gEfiSmbiosTableGuid ## SOMETIMES_PRODUCES ##
SystemTable
gEfiSmbios3TableGuid ## SOMETIMES_PRODUCES ##
SystemTable
------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits