]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/IScsiDxe/ComponentName.c
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Universal / Network / IScsiDxe / ComponentName.c
index 063b3722921ac9f630a706835fe573b43b343e70..3f561e93439dfd313d503c3cbf4f1f13e8843ef4 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   UEFI Component Name(2) protocol implementation for iSCSI.\r
 \r
-Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -33,7 +33,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL    gIScsiComponentNam
 };\r
 \r
 GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mIScsiDriverNameTable[] = {\r
-  {"eng;en", L"iSCSI Driver"}, \r
+  {"eng;en", L"iSCSI Driver"},\r
   {NULL, NULL}\r
 };\r
 \r
@@ -48,7 +48,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE  *mIScsiControllerNameTab
   returned in DriverName, and EFI_SUCCESS is returned. If the driver specified\r
   by This does not support the language specified by Language,\r
   then EFI_UNSUPPORTED is returned.\r
-  \r
+\r
   @param[in]  This        A pointer to the EFI_COMPONENT_NAME_PROTOCOL instance.\r
   @param[in]  Language    A pointer to a three character ISO 639-2 language identifier.\r
                           This is the language of the driver name that that the caller\r
@@ -88,11 +88,11 @@ IScsiComponentNameGetDriverName (
   Update the component name for the iSCSI instance.\r
 \r
   @param[in]  IScsiExtScsiPassThru  A pointer to the EFI_EXT_SCSI_PASS_THRU_PROTOCOL instance.\r
-  \r
+\r
   @retval EFI_SUCCESS               Update the ControllerNameTable of this instance successfully.\r
   @retval EFI_INVALID_PARAMETER     The input parameter is invalid.\r
   @retval EFI_UNSUPPORTED           Can't get the corresponding NIC info from the Controller handle.\r
-  \r
+\r
 **/\r
 EFI_STATUS\r
 UpdateName (\r
@@ -110,7 +110,7 @@ UpdateName (
   if (IScsiExtScsiPassThru == NULL) {\r
     return EFI_INVALID_PARAMETER;\r
   }\r
-  \r
+\r
   Private  = ISCSI_DRIVER_DATA_FROM_EXT_SCSI_PASS_THRU (IScsiExtScsiPassThru);\r
 \r
   //\r
@@ -122,7 +122,7 @@ UpdateName (
   }\r
   VlanId = NetLibGetVlanId (Private->Controller);\r
   IScsiMacAddrToStr (&MacAddress, (UINT32) HwAddressSize, VlanId, MacString);\r
-    \r
+\r
   UnicodeSPrint (\r
     HandleName,\r
     sizeof (HandleName),\r
@@ -183,7 +183,7 @@ UpdateName (
 \r
   @retval EFI_SUCCESS           The Unicode string for the user readable name in the\r
                                 language specified by Language for the driver\r
-                                specified by This was returned in DriverName.                                \r
+                                specified by This was returned in DriverName.\r
   @retval EFI_INVALID_PARAMETER ControllerHandle is NULL.\r
   @retval EFI_INVALID_PARAMETER ChildHandle is not NULL and it is not a valid EFI_HANDLE.\r
   @retval EFI_INVALID_PARAMETER Language is NULL.\r
@@ -271,7 +271,7 @@ IScsiComponentNameGetControllerName (
       return Status;\r
     }\r
   }\r
-  \r
+\r
   return LookupUnicodeString2 (\r
            Language,\r
            This->SupportedLanguages,\r