From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::442; helo=mail-pf1-x442.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) (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 A181921C8EFB5 for ; Wed, 14 Nov 2018 18:34:11 -0800 (PST) Received: by mail-pf1-x442.google.com with SMTP id h3so2352378pfg.1 for ; Wed, 14 Nov 2018 18:34:11 -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; bh=+RjedPSBk1of90NHkMaEwyzm4SsNaS5JG+UauSjILiA=; b=dyDoh2p6BjSVxE4om5G0I+k6/MoFV9c1ZWKg99kKXJbCHsAtpOK90+SPn5a2Qg4t4T 2DM6FAA3WAOFRiFUcMxuwUYHrUJW7OwvAaPyJjB7TAY+3zZRJTD9BnGYsNvNBvkFrkJK enj/7QDq0IN+99af9fvA/9isxbJNdSXYoltlk= 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; bh=+RjedPSBk1of90NHkMaEwyzm4SsNaS5JG+UauSjILiA=; b=TWrSaqg24v4/BC8zA0kj6yCcr27I982UsQy2gf6cyu8rCY18UuJBlcU3h5mVD9hq6k ZkMQlpl2fcewC624KvCqvwSwdXVfcU+tlfK4Kqw93zplygQosTQTrLsb6XzdE3TkhPHV 0PoAICtxHCRDHzSF8vnWKE35aQ1kfvXdx3GjYVRic2I52B84nLWSGv3nL4z8TNly4z55 YWe3+gInKqJdxAK1lxhMG40jjErATWnx7iB8/sW3020r8e18zdmPIU2XeLeY+eeQ7AiZ 8oQLySVl3oqSNZffPcaaVvRUkd2Ai3Ae7LdoQngsSmBeD835tTLHseSkE/edabq5LfaS wu3g== X-Gm-Message-State: AGRZ1gJjMMFBy5nxcu3znY5VSfcIYGEaw/UZGsYXHvhLE9JYp5KHk33X +hvcW/xpif4kRmC9nQ9Uq5Dq3oakzZfOwA== X-Google-Smtp-Source: AJdET5fyLPHn2HFZmu581uaojuiDwVZnlyk74DLuRvGp8J4E5IqsQ0VfR7oeiR0IqO0d88MPPl3TEA== X-Received: by 2002:aa7:8254:: with SMTP id e20-v6mr4606791pfn.164.1542249251091; Wed, 14 Nov 2018 18:34:11 -0800 (PST) Received: from mba13.psav.com ([64.114.255.97]) by smtp.gmail.com with ESMTPSA id v185-v6sm27323393pfv.48.2018.11.14.18.34.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Nov 2018 18:34:10 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, maciej.rabeda@intel.com, kamil.kacperski@intel.com, pawel.orlowski@intel.com, philmd@redhat.com, michael.d.kinney@intel.com, harry.l.hsiung@intel.com, eric.jin@intel.com, Ard Biesheuvel Date: Wed, 14 Nov 2018 18:33:41 -0800 Message-Id: <20181115023353.20159-9-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181115023353.20159-1-ard.biesheuvel@linaro.org> References: <20181115023353.20159-1-ard.biesheuvel@linaro.org> Subject: [PATCH edk2-staging 08/20] IntelUndiPkg/XGigUndiDxe: 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: Thu, 15 Nov 2018 02:34:11 -0000 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/XGigUndiDxe/NVDataStruc.h | 4 ++-- IntelUndiPkg/XGigUndiDxe/StartStop.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/IntelUndiPkg/XGigUndiDxe/NVDataStruc.h b/IntelUndiPkg/XGigUndiDxe/NVDataStruc.h index e5e669681b07..63dd841277ab 100644 --- a/IntelUndiPkg/XGigUndiDxe/NVDataStruc.h +++ b/IntelUndiPkg/XGigUndiDxe/NVDataStruc.h @@ -34,12 +34,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define XGBE_HII_FORM_GUID \ { \ - 0x25fd9f0b, 0xa3ef, 0x4788, 0xa4, 0x0c, 0x81, 0x84, 0x9d, 0x17, 0x8a, 0x6c \ + 0x25fd9f0b, 0xa3ef, 0x4788, { 0xa4, 0x0c, 0x81, 0x84, 0x9d, 0x17, 0x8a, 0x6c } \ } #define XGBE_HII_DATA_GUID \ { \ - 0xe2c85968, 0x6906, 0x4b27, 0x9d, 0x09, 0x33, 0x43, 0xaf, 0x06, 0x46, 0x76 \ + 0xe2c85968, 0x6906, 0x4b27, { 0x9d, 0x09, 0x33, 0x43, 0xaf, 0x06, 0x46, 0x76 } \ } diff --git a/IntelUndiPkg/XGigUndiDxe/StartStop.h b/IntelUndiPkg/XGigUndiDxe/StartStop.h index 03ad3dc9cecc..5dfc45c7de6a 100644 --- a/IntelUndiPkg/XGigUndiDxe/StartStop.h +++ b/IntelUndiPkg/XGigUndiDxe/StartStop.h @@ -32,8 +32,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "Xgbe.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.17.1