From ce68d3bc68eda5ce919b90aea8db094ed4b64c34 Mon Sep 17 00:00:00 2001 From: lzeng14 Date: Thu, 11 Oct 2012 02:15:23 +0000 Subject: Add missing braces around initializer. Signed-off-by: Star Zeng Reviewed-by: Jaben Carsey Reviewed-by: Qian Ouyang Reviewed-by: Ruiyu Ni Reviewed-by: Feng Tian Reviewed-by: Jeff Fan git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13817 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Universal/Acpi/AcpiS3SaveDxe/AcpiS3Save.c | 2 +- .../Universal/BdsDxe/BootMaint/ConsoleOption.c | 18 +++++++++++------- 2 files changed, 12 insertions(+), 8 deletions(-) (limited to 'IntelFrameworkModulePkg') diff --git a/IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3Save.c b/IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3Save.c index 5a021d2caa..afdfbf536c 100644 --- a/IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3Save.c +++ b/IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3Save.c @@ -58,7 +58,7 @@ EFI_ACPI_S3_SAVE_PROTOCOL mS3Save = { }; EFI_GUID mAcpiS3IdtrProfileGuid = { - 0xdea652b0, 0xd587, 0x4c54, 0xb5, 0xb4, 0xc6, 0x82, 0xe7, 0xa0, 0xaa, 0x3d + 0xdea652b0, 0xd587, 0x4c54, { 0xb5, 0xb4, 0xc6, 0x82, 0xe7, 0xa0, 0xaa, 0x3d } }; /** diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ConsoleOption.c b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ConsoleOption.c index ffa88b4d85..f216b4a03f 100644 --- a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ConsoleOption.c +++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ConsoleOption.c @@ -1,7 +1,7 @@ /** @file handles console redirection from boot manager -Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.
+Copyright (c) 2004 - 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 @@ -14,12 +14,16 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include "BootMaint.h" -UART_FLOW_CONTROL_DEVICE_PATH mFlowControlDevicePath = -{ - MESSAGING_DEVICE_PATH, - MSG_VENDOR_DP, - (UINT8)(sizeof(UART_FLOW_CONTROL_DEVICE_PATH)), - (UINT8)((sizeof(UART_FLOW_CONTROL_DEVICE_PATH)) >> 8), +UART_FLOW_CONTROL_DEVICE_PATH mFlowControlDevicePath = +{ + { + MESSAGING_DEVICE_PATH, + MSG_VENDOR_DP, + { + (UINT8)(sizeof(UART_FLOW_CONTROL_DEVICE_PATH)), + (UINT8)((sizeof(UART_FLOW_CONTROL_DEVICE_PATH)) >> 8) + } + }, DEVICE_PATH_MESSAGING_UART_FLOW_CONTROL, UART_FLOW_CONTROL_HARDWARE }; -- cgit v1.2.3