diff options
author | niruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-07-06 03:44:19 +0000 |
---|---|---|
committer | niruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-07-06 03:44:19 +0000 |
commit | b28b274d088bac60ca7da85dbf891e2e3b94ee11 (patch) | |
tree | 8d9a57876576e1fc83ef86418c310c76181321d2 /OptionRomPkg/AtapiPassThruDxe | |
parent | a97a859621e2f480b4cd12e32162ac60305ede22 (diff) | |
download | edk2-b28b274d088bac60ca7da85dbf891e2e3b94ee11.tar.gz edk2-b28b274d088bac60ca7da85dbf891e2e3b94ee11.tar.bz2 edk2-b28b274d088bac60ca7da85dbf891e2e3b94ee11.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@11984 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OptionRomPkg/AtapiPassThruDxe')
-rw-r--r-- | OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.h | 4 | ||||
-rw-r--r-- | OptionRomPkg/AtapiPassThruDxe/ComponentName.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.h b/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.h index 4ab3880041..e1f1759e41 100644 --- a/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.h +++ b/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.h @@ -1,5 +1,5 @@ /** @file
- Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2006 - 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
@@ -409,7 +409,7 @@ AtapiScsiPassThruComponentNameGetDriverName ( 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.
diff --git a/OptionRomPkg/AtapiPassThruDxe/ComponentName.c b/OptionRomPkg/AtapiPassThruDxe/ComponentName.c index b4cf378542..f179db7581 100644 --- a/OptionRomPkg/AtapiPassThruDxe/ComponentName.c +++ b/OptionRomPkg/AtapiPassThruDxe/ComponentName.c @@ -1,5 +1,5 @@ /** @file
- Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2006 - 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
@@ -144,7 +144,7 @@ AtapiScsiPassThruComponentNameGetDriverName ( 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.
|