X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FNetwork%2FIp4Dxe%2FComponentName.c;h=3461ab2a89a0e8dbd0c6349e36b50adb3e849fb6;hb=c0fd7f734e2d33e22215899b40a47b843129541d;hp=2ccfb3cc1ce6edc49d3198db92d532ddb3c3abe3;hpb=216f79703b8cb8dc65abdd768bedb2bcdbc1a1f8;p=mirror_edk2.git diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/ComponentName.c b/MdeModulePkg/Universal/Network/Ip4Dxe/ComponentName.c index 2ccfb3cc1c..3461ab2a89 100644 --- a/MdeModulePkg/Universal/Network/Ip4Dxe/ComponentName.c +++ b/MdeModulePkg/Universal/Network/Ip4Dxe/ComponentName.c @@ -1,13 +1,7 @@ /** @file - -Copyright (c) 2005 - 2012, Intel Corporation. All rights reserved.
-This program and the accompanying materials -are licensed and made available under the terms and conditions of the BSD License -which accompanies this distribution. The full text of the license may be found at
-http://opensource.org/licenses/bsd-license.php -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.
+SPDX-License-Identifier: BSD-2-Clause-Patent **/ @@ -237,10 +231,10 @@ Ip4ComponentNameGetDriverName ( @param Ip4[in] A pointer to the EFI_IP4_PROTOCOL. - + @retval EFI_SUCCESS Update the ControllerNameTable of this instance successfully. @retval EFI_INVALID_PARAMETER The input parameter is invalid. - + **/ EFI_STATUS UpdateName ( @@ -290,7 +284,7 @@ UpdateName ( if (EFI_ERROR (Status)) { return Status; } - + return AddUnicodeString2 ( "en", gIp4ComponentName2.SupportedLanguages, @@ -378,9 +372,9 @@ Ip4ComponentNameGetControllerName ( OUT CHAR16 **ControllerName ) { - EFI_STATUS Status; + EFI_STATUS Status; EFI_IP4_PROTOCOL *Ip4; - + // // Only provide names for child handles. // @@ -388,9 +382,9 @@ Ip4ComponentNameGetControllerName ( return EFI_UNSUPPORTED; } - // - // Make sure this driver produced ChildHandle - // + // + // Make sure this driver produced ChildHandle + // Status = EfiTestChildHandle ( ControllerHandle, ChildHandle, @@ -400,9 +394,9 @@ Ip4ComponentNameGetControllerName ( return Status; } - // - // Retrieve an instance of a produced protocol from ChildHandle - // + // + // Retrieve an instance of a produced protocol from ChildHandle + // Status = gBS->OpenProtocol ( ChildHandle, &gEfiIp4ProtocolGuid,