From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::443; helo=mail-wr1-x443.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 1B0662118C50E for ; Tue, 6 Nov 2018 09:59:04 -0800 (PST) Received: by mail-wr1-x443.google.com with SMTP id j26-v6so14595180wre.1 for ; Tue, 06 Nov 2018 09:59:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lC9G8GB6g7sqN4TkV/0PFsdLWl9a11sNpopG25QtG8w=; b=bArKgPMir5ONUlZS2ASt3nOOTvfSXBECLj3NhJzqcEFjLTkDiaijTiGAJgrJG1ONV8 xu5BlqFQoFaC2G1P/YeEBz/uTmpVLKNxTSe0r/wJxfJWs7i997rhhjDMI3tndwWBaKfL G3MWUaBlUxtyDI9EigqeopWLYy9CTZXSviyfg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lC9G8GB6g7sqN4TkV/0PFsdLWl9a11sNpopG25QtG8w=; b=Avk0A+UOughjQ0zPZRaW/+c2PZXxTGcjZA3P08W2OVTehZr6jxIFQPWj08cOhfKrge 2huB2MGpzqBA9DRXvSnr9Gf1G4hFfmrqv0lHf/gLEZOj68kGmHD+oxJi+JbkFC/b/tNU WimkWO24Xel5vcgI7qxTOUWT8j84rraEVQJFP09Tmh7HPw5k50izunVokCs13TZ+FJEC 6bsuQhQt9E5wa566Qh/DOUZHv7uYu1JXMU1CTI9+rr9HVPszp71pn29ySAtNmKlW2BUe 8d8tSnXquJsgRePtW4xjYysNrDYkYkLDV2YEmR4fNsBROBbTc2GhSOfAwb78zMYndkZ+ rcaA== X-Gm-Message-State: AGRZ1gKLBQzV5IZdjgX6CCI5pgipENsls27BJ7Bq/GexnzDc0fMfWsF+ nMDd2r/F5yEZ2ugmMN/Mow2N9I9Kr9w= X-Google-Smtp-Source: AJdET5dPc8c16caau3e4sTCySbuTSPYuFvSFerCei//TAM+EyjbCUeVRhAQzvEKBvmewn4ZGG+JAJA== X-Received: by 2002:adf:ec41:: with SMTP id w1-v6mr24445354wrn.266.1541527142352; Tue, 06 Nov 2018 09:59:02 -0800 (PST) Received: from localhost.localdomain (laubervilliers-657-1-83-120.w92-154.abo.wanadoo.fr. [92.154.90.120]) by smtp.gmail.com with ESMTPSA id 134-v6sm2971522wmp.6.2018.11.06.09.59.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Nov 2018 09:59:01 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: maciej.rabeda@intel.com, michael.d.kinney@intel.com, eric.jin@intel.com, leif.lindholm@linaro.org, Ard Biesheuvel Date: Tue, 6 Nov 2018 18:58:24 +0100 Message-Id: <20181106175833.26964-11-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181106175833.26964-1-ard.biesheuvel@linaro.org> References: <20181106175833.26964-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Subject: [PATCH edk2-staging 10/19] IntelUndiPkg/GigUndiDxe: add missing braces to GUID literals X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2018 17:59:04 -0000 Content-Transfer-Encoding: 8bit The Data4 member of the GUID/EFI_GUID struct type is an array of UINT8, so literals require two sets of { } braces. Add them where missing. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- IntelUndiPkg/GigUndiDxe/NVDataStruc.h | 4 ++-- IntelUndiPkg/GigUndiDxe/StartStop.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/IntelUndiPkg/GigUndiDxe/NVDataStruc.h b/IntelUndiPkg/GigUndiDxe/NVDataStruc.h index bd7d4defc9a3..72f6a95ccb6d 100644 --- a/IntelUndiPkg/GigUndiDxe/NVDataStruc.h +++ b/IntelUndiPkg/GigUndiDxe/NVDataStruc.h @@ -34,12 +34,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define E1000_HII_FORM_GUID \ { \ - 0x77f2ea2f, 0x4312, 0x4569, 0x85, 0xc4, 0x58, 0x3a, 0xcd, 0x8d, 0xb7, 0xe2 \ + 0x77f2ea2f, 0x4312, 0x4569, { 0x85, 0xc4, 0x58, 0x3a, 0xcd, 0x8d, 0xb7, 0xe2 } \ } #define E1000_HII_DATA_GUID \ { \ - 0xa31abb16, 0xc627, 0x475b, 0x98, 0x8e, 0x7e, 0xe0, 0x77, 0x67, 0x40, 0xf3 \ + 0xa31abb16, 0xc627, 0x475b, { 0x98, 0x8e, 0x7e, 0xe0, 0x77, 0x67, 0x40, 0xf3 } \ } diff --git a/IntelUndiPkg/GigUndiDxe/StartStop.h b/IntelUndiPkg/GigUndiDxe/StartStop.h index 255f17aabaa4..b29a5002bb8e 100644 --- a/IntelUndiPkg/GigUndiDxe/StartStop.h +++ b/IntelUndiPkg/GigUndiDxe/StartStop.h @@ -32,8 +32,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "e1000.h" #define EFI_DRIVER_STOP_PROTOCOL_GUID \ -{ 0x34d59603, 0x1428, 0x4429, 0xa4, 0x14, 0xe6, 0xb3, \ -0xb5, 0xfd, 0x7d, 0xc1 } +{ 0x34d59603, 0x1428, 0x4429, { 0xa4, 0x14, 0xe6, 0xb3, \ +0xb5, 0xfd, 0x7d, 0xc1 } } typedef struct EFI_DRIVER_STOP_PROTOCOL_S EFI_DRIVER_STOP_PROTOCOL; -- 2.19.1