]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/IpIoLib: return error instead of ASSERT if input parameter is incorrect.
authorFu Siyuan <siyuan.fu@intel.com>
Wed, 13 Dec 2017 06:41:37 +0000 (14:41 +0800)
committerFu Siyuan <siyuan.fu@intel.com>
Mon, 18 Dec 2017 00:57:41 +0000 (08:57 +0800)
commit8569a87ef0e11127d3d138c1bbb50447256dbaa0
treed5750164f7d00f731ad126bd806ba4da3d444be2
parent72bdc5f09362872c8865774a9bf003b6b35dcbc1
MdeModulePkg/IpIoLib: return error instead of ASSERT if input parameter is incorrect.

This patch updates the DxeIpIoLib to return EFI_INVALID_PARAMETER instead of
ASSERT if the input pointers are not correct.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
MdeModulePkg/Include/Library/IpIoLib.h
MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.c