diff options
author | Liming Gao <liming.gao@intel.com> | 2018-06-27 21:08:52 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-06-28 11:19:45 +0800 |
commit | d1102dba7210b95e41d06c2338a22ba6af248645 (patch) | |
tree | 8b4af076b5d6f2aa7f35563d4defcca4d4bfdd87 /MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c | |
parent | ca79bab7af4770c5eb578f6d495af01705aedb79 (diff) | |
download | edk2-d1102dba7210b95e41d06c2338a22ba6af248645.tar.gz edk2-d1102dba7210b95e41d06c2338a22ba6af248645.tar.bz2 edk2-d1102dba7210b95e41d06c2338a22ba6af248645.zip |
MdeModulePkg: Clean up source files
1. Do not use tab characters
2. No trailing white space in one line
3. All files must end with CRLF
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c')
-rw-r--r-- | MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c b/MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c index db2f859ae7..ecd01bbb81 100644 --- a/MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c +++ b/MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c @@ -1,7 +1,7 @@ /** @file
Library functions which relates with driver health.
-Copyright (c) 2011 - 2016, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
(C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR>
(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
This program and the accompanying materials
@@ -92,7 +92,7 @@ BmGetControllerName ( Status = ComponentName->GetControllerName (
ComponentName,
- ControllerHandle,
+ ControllerHandle,
ChildHandle,
BestLanguage,
&ControllerName
@@ -131,7 +131,7 @@ BmDisplayMessages ( ControllerName = BmGetControllerName (
DriverHealthInfo->DriverHealthHandle,
- DriverHealthInfo->ControllerHandle,
+ DriverHealthInfo->ControllerHandle,
DriverHealthInfo->ChildHandle
);
@@ -181,7 +181,7 @@ BmRepairNotify ( /**
Collect the Driver Health status of a single controller.
-
+
@param DriverHealthInfo A pointer to the array containing all of the platform driver health information.
@param Count Return the updated array count.
@param DriverHealthHandle The handle on which the Driver Health protocol instance is retrieved.
@@ -218,7 +218,7 @@ BmGetSingleControllerHealthStatus ( (VOID **) &DriverHealth
);
ASSERT_EFI_ERROR (Status);
-
+
if (ControllerHandle == NULL) {
//
@@ -471,7 +471,7 @@ BmRepairAllControllers ( if (DriverHealthInfo[Index].HealthStatus == EfiDriverHealthStatusConfigurationRequired) {
ConfigurationRequired = TRUE;
}
-
+
if (DriverHealthInfo[Index].HealthStatus == EfiDriverHealthStatusRepairRequired) {
RepairRequired = TRUE;
@@ -519,7 +519,7 @@ BmRepairAllControllers ( FreePool (HiiHandles);
}
}
-
+
EfiBootManagerFreeDriverHealthInfo (DriverHealthInfo, Count);
RepairCount++;
} while ((RepairRequired || ConfigurationRequired) && ((MaxRepairCount == 0) || (RepairCount < MaxRepairCount)));
|