diff options
author | hfang <hfang@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-25 08:59:02 +0000 |
---|---|---|
committer | hfang <hfang@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-25 08:59:02 +0000 |
commit | 97404058f1752da8fa2ba531e592491c65cb29f1 (patch) | |
tree | 59fc6597872e21b9ca9439fe2b113435cc14ef85 /IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciDriverOverride.c | |
parent | e1b4bd1486ae919d1cb2b60dbbf311f08c95f99d (diff) | |
download | edk2-platforms-97404058f1752da8fa2ba531e592491c65cb29f1.tar.xz |
Fixup for review
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7120 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciDriverOverride.c')
-rw-r--r-- | IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciDriverOverride.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciDriverOverride.c b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciDriverOverride.c index 282f810aae..b3456417e8 100644 --- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciDriverOverride.c +++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciDriverOverride.c @@ -1,4 +1,4 @@ -/**@file
+/** @file
Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials
@@ -15,11 +15,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include "PciBus.h"
/**
- Initializes a PCI Driver Override Instance
+ Initializes a PCI Driver Override Instance.
- @param PciIoDevice Device instance
+ @param PciIoDevice Device instance.
- @retval EFI_SUCCESS Operation success
+ @retval EFI_SUCCESS Operation success.
**/
EFI_STATUS
InitializePciDriverOverrideInstance (
@@ -31,13 +31,13 @@ InitializePciDriverOverrideInstance ( }
/**
- Get a overriding driver image
- @param This Pointer to instance of EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL
- @param DriverImageHandle Override driver image,
+ Get a overriding driver image.
+ @param This Pointer to instance of EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL.
+ @param DriverImageHandle Override driver image.
- @retval EFI_SUCCESS Success to get driver image handle
- @retval EFI_NOT_FOUND can not find override driver image
- @retval EFI_INVALID_PARAMETER Invalid parameter
+ @retval EFI_SUCCESS Success to get driver image handle.
+ @retval EFI_NOT_FOUND can not find override driver image.
+ @retval EFI_INVALID_PARAMETER Invalid parameter.
**/
EFI_STATUS
EFIAPI
@@ -54,7 +54,7 @@ GetDriver ( CurrentLink = PciIoDevice->OptionRomDriverList.ForwardLink;
- while (CurrentLink && CurrentLink != &PciIoDevice->OptionRomDriverList) {
+ while (CurrentLink != NULL && CurrentLink != &PciIoDevice->OptionRomDriverList) {
Node = DRIVER_OVERRIDE_FROM_LINK (CurrentLink);
|