diff options
author | niruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-07-05 09:22:57 +0000 |
---|---|---|
committer | niruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-07-05 09:22:57 +0000 |
commit | 69cb32fca2d916a9a6a0ff6efec57a9e0aaf18cf (patch) | |
tree | 6236dd3f261c8503ed3787b15fa0ec5c97b6da4e /PcAtChipsetPkg/Bus/Pci/IdeControllerDxe | |
parent | c2d9a4d253d3a3b146b5ddf5313907a149ec4aca (diff) | |
download | edk2-69cb32fca2d916a9a6a0ff6efec57a9e0aaf18cf.tar.gz edk2-69cb32fca2d916a9a6a0ff6efec57a9e0aaf18cf.tar.bz2 edk2-69cb32fca2d916a9a6a0ff6efec57a9e0aaf18cf.zip |
Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid/invalid.
Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11981 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'PcAtChipsetPkg/Bus/Pci/IdeControllerDxe')
-rw-r--r-- | PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/ComponentName.c | 4 | ||||
-rw-r--r-- | PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/ComponentName.c b/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/ComponentName.c index a78bed7572..6e9d707152 100644 --- a/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/ComponentName.c +++ b/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/ComponentName.c @@ -2,7 +2,7 @@ This portion is to register the IDE Controller Driver name:
"IDE Controller Init Driver"
- Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2008 - 2011, 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
@@ -128,7 +128,7 @@ IdeControllerComponentNameGetDriverName ( @retval EFI_SUCCESS The Unicode string for the user readable name in the
language specified by Language for the driver
specified by This was returned in DriverName.
- @retval EFI_INVALID_PARAMETER ControllerHandle is not a valid EFI_HANDLE.
+ @retval EFI_INVALID_PARAMETER ControllerHandle is NULL.
@retval EFI_INVALID_PARAMETER ChildHandle is not NULL and it is not a valid
EFI_HANDLE.
@retval EFI_INVALID_PARAMETER Language is NULL.
diff --git a/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h b/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h index 79763496ee..b612fbab24 100644 --- a/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h +++ b/PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h @@ -1,7 +1,7 @@ /** @file
Header file for IDE controller driver.
- Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2008 - 2011, 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
@@ -306,7 +306,7 @@ IdeControllerComponentNameGetDriverName ( @retval EFI_SUCCESS The Unicode string for the user readable name in the
language specified by Language for the driver
specified by This was returned in DriverName.
- @retval EFI_INVALID_PARAMETER ControllerHandle is not a valid EFI_HANDLE.
+ @retval EFI_INVALID_PARAMETER ControllerHandle is NULL.
@retval EFI_INVALID_PARAMETER ChildHandle is not NULL and it is not a valid
EFI_HANDLE.
@retval EFI_INVALID_PARAMETER Language is NULL.
|