X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FNetwork%2FIScsiDxe%2FIScsiMisc.c;h=7a77b2a04de80b7ba9b5804868ada21916719e2f;hp=2215fdaa2bc401198a291689d6bbaaabea31d684;hb=963dbb30018c6420a9b27778e05e5eed74b23173;hpb=96dcf1973f975ece358d8d70523a976ea218a962 diff --git a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c index 2215fdaa2b..7a77b2a04d 100644 --- a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c +++ b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c @@ -20,7 +20,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED CONST CHAR8 IScsiHexString[] = "0123456789ABCDEFa Removes (trims) specified leading and trailing characters from a string. @param[in, out] Str Pointer to the null-terminated string to be trimmed. On return, - str will hold the trimmed string. + Str will hold the trimmed string. @param[in] CharC Character will be trimmed from str. **/ @@ -74,7 +74,7 @@ StrTrim ( @param[in] SubnetMask The IPv4 subnet mask. @return The prefix length of the subnet mask. - @return 0 Some unexpected error happened. + @retval 0 Other errors as indicated. **/ UINT8 IScsiGetSubnetMaskPrefixLength ( @@ -424,7 +424,7 @@ IScsiBinToHex ( @retval EFI_SUCCESS The hexadecimal string is converted into a binary encoded buffer. - @retval EFI_BUFFER_TOO_SMALL The binary buffer is too small to hold the converted data.s + @retval EFI_BUFFER_TOO_SMALL The binary buffer is too small to hold the converted data. **/ EFI_STATUS IScsiHexToBin ( @@ -512,7 +512,7 @@ IScsiGenRandom ( @param[in] Controller The handle of the controller. @return The iSCSI driver data created. - @return NULL Some unexpected error happened. + @retval NULL Other errors as indicated. **/ ISCSI_DRIVER_DATA * IScsiCreateDriverData ( @@ -619,7 +619,7 @@ IScsiCleanDriverData ( @retval EFI_SUCCESS The configuration of this instance is got. @retval EFI_ABORTED The operation was aborted. - @retval Others Some unexpected error happened. + @retval Others Other errors as indicated. **/ EFI_STATUS IScsiGetConfigData ( @@ -709,7 +709,7 @@ IScsiGetConfigData ( @param[in] Private The iSCSI driver data. @return The updated device path. - @return NULL Some unexpected error happened. + @retval NULL Other errors as indicated. **/ EFI_DEVICE_PATH_PROTOCOL * IScsiGetTcpConnDevicePath (