diff options
author | Zhang Lubo <lubo.zhang@intel.com> | 2016-04-22 15:18:56 +0800 |
---|---|---|
committer | Jiaxin Wu <jiaxin.wu@intel.com> | 2016-04-22 15:41:46 +0800 |
commit | e590d29f6e10d73d531e349e33dd28173cc076bf (patch) | |
tree | ad57ee46f351ef6f90790a22682f263de6b6b23e /NetworkPkg/IScsiDxe/IScsiMisc.h | |
parent | e3761c71d98d917175f68d25945fd687c65fd95f (diff) | |
download | edk2-e590d29f6e10d73d531e349e33dd28173cc076bf.tar.gz edk2-e590d29f6e10d73d531e349e33dd28173cc076bf.tar.bz2 edk2-e590d29f6e10d73d531e349e33dd28173cc076bf.zip |
NetworkPkg: refine codes of iSCSI driver.
Add error handling logic in DriverBingingStop function,
it may return error status when invoking the
UninstallProtocolInterface.
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Wu Jiaxin <jiaxin.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
Diffstat (limited to 'NetworkPkg/IScsiDxe/IScsiMisc.h')
-rw-r--r-- | NetworkPkg/IScsiDxe/IScsiMisc.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/NetworkPkg/IScsiDxe/IScsiMisc.h b/NetworkPkg/IScsiDxe/IScsiMisc.h index 7c7a6ba4e0..1bcaeb8bcc 100644 --- a/NetworkPkg/IScsiDxe/IScsiMisc.h +++ b/NetworkPkg/IScsiDxe/IScsiMisc.h @@ -1,7 +1,7 @@ /** @file
Miscellaneous definitions for iSCSI driver.
-Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2004 - 2016, 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,10 +306,13 @@ IScsiCreateDriverData ( /**
Clean the iSCSI driver data.
- @param[in] Private The iSCSI driver data.
+ @param[in] Private The iSCSI driver data.
+
+ @retval EFI_SUCCES The clean operation is successful.
+ @retval Others Other errors as indicated.
**/
-VOID
+EFI_STATUS
IScsiCleanDriverData (
IN ISCSI_DRIVER_DATA *Private
);
|