summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Include
diff options
context:
space:
mode:
authorFu Siyuan <siyuan.fu@intel.com>2017-12-13 15:06:16 +0800
committerFu Siyuan <siyuan.fu@intel.com>2017-12-22 13:30:20 +0800
commitc167ef913106048db68acfdbe27987a79fefda82 (patch)
tree89d857610ab7a6c1e446b838659154671dc266cd /MdeModulePkg/Include
parent69ebfa2b2bda5557c0fbe707d0c3de9ab4c809b4 (diff)
downloadedk2-c167ef913106048db68acfdbe27987a79fefda82.tar.gz
edk2-c167ef913106048db68acfdbe27987a79fefda82.tar.bz2
edk2-c167ef913106048db68acfdbe27987a79fefda82.zip
MdeModulePkg/IpIoLib: add more error handling code to DxeIpIoLib.
In DxeIpIo, there are several places not check the returned value of called functions. This patch is to add the error handling to these functions. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com>
Diffstat (limited to 'MdeModulePkg/Include')
-rw-r--r--MdeModulePkg/Include/Library/IpIoLib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Include/Library/IpIoLib.h b/MdeModulePkg/Include/Library/IpIoLib.h
index 0bebdb73b5..059eb05f17 100644
--- a/MdeModulePkg/Include/Library/IpIoLib.h
+++ b/MdeModulePkg/Include/Library/IpIoLib.h
@@ -428,7 +428,7 @@ IpIoSend (
IN IP_IO_IP_INFO *Sender OPTIONAL,
IN VOID *Context OPTIONAL,
IN VOID *NotifyData OPTIONAL,
- IN EFI_IP_ADDRESS *Dest,
+ IN EFI_IP_ADDRESS *Dest OPTIONAL,
IN IP_IO_OVERRIDE *OverrideData OPTIONAL
);