diff --git a/MdePkg/Include/Base.h b/MdePkg/Include/Base.h index 5eabb80eff..5b1f418d1a 100644 --- a/MdePkg/Include/Base.h +++ b/MdePkg/Include/Base.h @@ -636,7 +636,8 @@ typedef UINTN *BASE_LIST; Both a and b must be the same numerical types, signed or unsigned. @param a The first operand with any numerical type. - @param b The second operand. It should be the same any numerical type with a. + @param b The second operand. Can be any numerical type as long as is + the same type as a. @return Maximum of two operands. diff --git a/MdePkg/Include/Protocol/Udp4.h b/MdePkg/Include/Protocol/Udp4.h index f173816327..5541f5e692 100644 --- a/MdePkg/Include/Protocol/Udp4.h +++ b/MdePkg/Include/Protocol/Udp4.h @@ -168,7 +168,8 @@ EFI_STATUS @retval EFI_SUCCESS The configuration settings were set, changed, or reset successfully. @retval EFI_NO_MAPPING When using a default address, configuration (DHCP, BOOTP, RARP, etc.) is not finished yet. - @retval EFI_INVALID_PARAMETER One or more following conditions are TRUE: + @retval EFI_INVALID_PARAMETER This is NULL. + @retval EFI_INVALID_PARAMETER UdpConfigData.StationAddress is not a valid unicast IPv4 address. @retval EFI_ALREADY_STARTED The EFI UDPv4 Protocol instance is already started/configured and must be stopped/reset before it can be reconfigured. @retval EFI_ACCESS_DENIED UdpConfigData. AllowDuplicatePort is FALSE @@ -318,7 +319,8 @@ EFI_STATUS @retval EFI_NOT_STARTED This EFI UDPv4 Protocol instance has not been started. @retval EFI_NO_MAPPING When using a default address, configuration (DHCP, BOOTP, RARP, etc.) is not finished yet. - @retval EFI_INVALID_PARAMETER One or more of the following conditions is TRUE: + @retval EFI_INVALID_PARAMETER This is NULL. + @retval EFI_INVALID_PARAMETER UdpConfigData.StationAddress is not a valid unicast IPv4 address. @retval EFI_OUT_OF_RESOURCES The receive completion token could not be queued due to a lack of system resources (usually memory). @retval EFI_DEVICE_ERROR An unexpected system or network error occurred.