]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/Ip4Dxe/ComponentName.c
BaseTools:Change the path of the file that Binary Cache
[mirror_edk2.git] / MdeModulePkg / Universal / Network / Ip4Dxe / ComponentName.c
index 2ccfb3cc1ce6edc49d3198db92d532ddb3c3abe3..3461ab2a89a0e8dbd0c6349e36b50adb3e849fb6 100644 (file)
@@ -1,13 +1,7 @@
 /** @file\r
-  \r
-Copyright (c) 2005 - 2012, 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<BR>\r
-http://opensource.org/licenses/bsd-license.php\r
 \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -237,10 +231,10 @@ Ip4ComponentNameGetDriverName (
 \r
   @param  Ip4[in]                 A pointer to the EFI_IP4_PROTOCOL.\r
 \r
-  \r
+\r
   @retval EFI_SUCCESS             Update the ControllerNameTable of this instance successfully.\r
   @retval EFI_INVALID_PARAMETER   The input parameter is invalid.\r
-  \r
+\r
 **/\r
 EFI_STATUS\r
 UpdateName (\r
@@ -290,7 +284,7 @@ UpdateName (
   if (EFI_ERROR (Status)) {\r
     return Status;\r
   }\r
-  \r
+\r
   return AddUnicodeString2 (\r
            "en",\r
            gIp4ComponentName2.SupportedLanguages,\r
@@ -378,9 +372,9 @@ Ip4ComponentNameGetControllerName (
   OUT CHAR16                                          **ControllerName\r
   )\r
 {\r
-  EFI_STATUS                    Status;  \r
+  EFI_STATUS                    Status;\r
   EFI_IP4_PROTOCOL              *Ip4;\r
-  \r
+\r
   //\r
   // Only provide names for child handles.\r
   //\r
@@ -388,9 +382,9 @@ Ip4ComponentNameGetControllerName (
     return EFI_UNSUPPORTED;\r
   }\r
 \r
-  // \r
-  // Make sure this driver produced ChildHandle \r
-  // \r
+  //\r
+  // Make sure this driver produced ChildHandle\r
+  //\r
   Status = EfiTestChildHandle (\r
              ControllerHandle,\r
              ChildHandle,\r
@@ -400,9 +394,9 @@ Ip4ComponentNameGetControllerName (
     return Status;\r
   }\r
 \r
-  // \r
-  // Retrieve an instance of a produced protocol from ChildHandle  \r
-  // \r
+  //\r
+  // Retrieve an instance of a produced protocol from ChildHandle\r
+  //\r
   Status = gBS->OpenProtocol (\r
                   ChildHandle,\r
                   &gEfiIp4ProtocolGuid,\r