X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FNetwork%2FMtftp4Dxe%2FComponentName.c;h=111c54e2effe9967dc57df545289b10588f5048a;hp=901c2df06414e96adebc4b4db6fd03cc7b5d16b3;hb=d1102dba7210b95e41d06c2338a22ba6af248645;hpb=ca79bab7af4770c5eb578f6d495af01705aedb79 diff --git a/MdeModulePkg/Universal/Network/Mtftp4Dxe/ComponentName.c b/MdeModulePkg/Universal/Network/Mtftp4Dxe/ComponentName.c index 901c2df064..111c54e2ef 100644 --- a/MdeModulePkg/Universal/Network/Mtftp4Dxe/ComponentName.c +++ b/MdeModulePkg/Universal/Network/Mtftp4Dxe/ComponentName.c @@ -1,7 +1,7 @@ /** @file UEFI Component Name(2) protocol implementation for Mtftp4Dxe driver. - -Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.
+ +Copyright (c) 2006 - 2018, 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 @@ -237,10 +237,10 @@ Mtftp4ComponentNameGetDriverName ( @param Mtftp4[in] A pointer to the EFI_MTFTP4_PROTOCOL. - + @retval EFI_SUCCESS Update the ControllerNameTable of this instance successfully. @retval EFI_INVALID_PARAMETER The input parameter is invalid. - + **/ EFI_STATUS UpdateName ( @@ -277,7 +277,7 @@ UpdateName ( FreeUnicodeStringTable (gMtftp4ControllerNameTable); gMtftp4ControllerNameTable = NULL; } - + Status = AddUnicodeString2 ( "eng", gMtftp4ComponentName.SupportedLanguages, @@ -288,7 +288,7 @@ UpdateName ( if (EFI_ERROR (Status)) { return Status; } - + return AddUnicodeString2 ( "en", gMtftp4ComponentName2.SupportedLanguages, @@ -385,10 +385,10 @@ Mtftp4ComponentNameGetControllerName ( if (ChildHandle == NULL) { return EFI_UNSUPPORTED; } - - // - // Make sure this driver produced ChildHandle - // + + // + // Make sure this driver produced ChildHandle + // Status = EfiTestChildHandle ( ControllerHandle, ChildHandle, @@ -398,9 +398,9 @@ Mtftp4ComponentNameGetControllerName ( return Status; } - // + // // Retrieve an instance of a produced protocol from ChildHandle - // + // Status = gBS->OpenProtocol ( ChildHandle, &gEfiMtftp4ProtocolGuid,