]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c
1)update function header coding style issue
[mirror_edk2.git] / MdeModulePkg / Universal / Network / IScsiDxe / IScsiMisc.c
index 2215fdaa2bc401198a291689d6bbaaabea31d684..7a77b2a04de80b7ba9b5804868ada21916719e2f 100644 (file)
@@ -20,7 +20,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED CONST CHAR8  IScsiHexString[] = "0123456789ABCDEFa
   Removes (trims) specified leading and trailing characters from a string.\r
 \r
   @param[in, out]  Str  Pointer to the null-terminated string to be trimmed. On return, \r
-                        str will hold the trimmed string. \r
+                        Str will hold the trimmed string. \r
 \r
   @param[in]      CharC Character will be trimmed from str.\r
 **/\r
@@ -74,7 +74,7 @@ StrTrim (
   @param[in]  SubnetMask The IPv4 subnet mask.\r
 \r
   @return The prefix length of the subnet mask.\r
-  @return 0 Some unexpected error happened.\r
+  @retval 0 Other errors as indicated.\r
 **/\r
 UINT8\r
 IScsiGetSubnetMaskPrefixLength (\r
@@ -424,7 +424,7 @@ IScsiBinToHex (
 \r
   @retval EFI_SUCCESS          The hexadecimal string is converted into a binary\r
                                encoded buffer.\r
-  @retval EFI_BUFFER_TOO_SMALL The binary buffer is too small to hold the converted data.s\r
+  @retval EFI_BUFFER_TOO_SMALL The binary buffer is too small to hold the converted data.\r
 **/\r
 EFI_STATUS\r
 IScsiHexToBin (\r
@@ -512,7 +512,7 @@ IScsiGenRandom (
   @param[in] Controller The handle of the controller.\r
 \r
   @return The iSCSI driver data created.\r
-  @return NULL Some unexpected error happened.\r
+  @retval NULL Other errors as indicated.\r
 **/\r
 ISCSI_DRIVER_DATA *\r
 IScsiCreateDriverData (\r
@@ -619,7 +619,7 @@ IScsiCleanDriverData (
 \r
   @retval EFI_SUCCESS   The configuration of this instance is got.\r
   @retval EFI_ABORTED   The operation was aborted.\r
-  @retval Others        Some unexpected error happened.\r
+  @retval Others        Other errors as indicated.\r
 **/\r
 EFI_STATUS\r
 IScsiGetConfigData (\r
@@ -709,7 +709,7 @@ IScsiGetConfigData (
   @param[in]  Private The iSCSI driver data.\r
 \r
   @return The updated device path.\r
-  @return NULL Some unexpected error happened.\r
+  @retval NULL Other errors as indicated.\r
 **/\r
 EFI_DEVICE_PATH_PROTOCOL *\r
 IScsiGetTcpConnDevicePath (\r