From patchwork Thu Nov 15 02:33:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 151145 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6453622ljp; Wed, 14 Nov 2018 18:34:34 -0800 (PST) X-Google-Smtp-Source: AFSGD/U0pU9b3mqWQ6qntRnbdeS+40KFdG3nVqHE37GhOYkYSoIsr7Pl/KQB0B/Mx4v5eGAMIOVf X-Received: by 2002:a6b:ec18:: with SMTP id c24-v6mr3959246ioh.33.1542249274451; Wed, 14 Nov 2018 18:34:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542249274; cv=none; d=google.com; s=arc-20160816; b=OAo5fyQF1FuaAmGJg9EytntL5/e9w4KFATJAvIM+E7fcyYQBfkxFo63vSfXE4lq+gv po5VBHLwQZpDBkGqetJiwfbXJ7f73zsB7P8zGWd6uYEM3uhN2qDV4MM7LFuRYKHjOVFB 9yalSlXkCJx/4I/ENIe1Fsu+7IhDGdhb4DwM+nuinxvJVAxFR325eQT8wjiVdcxP1EnC f5xl2oRhthkARmFHNqwaLf53ySClyNHlB3S+zWrledroufD0X9BpGohDxy6zK11MlcpN OnQ8KqzDZAZ+RB+fGUP41TzGIlTCwxarjSoowPLhAGF0hU2nFtmvobOZhd+rzo4Oqh1g oy2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=o2qNQaYwb0TlaXRKUH5HGfGUwDGXEBf8M/AqdFxALTw=; b=VxsXfHRvQ1qR8HLQkjUZPwRV+2OZhkweQ2Ee7SZK21pzfyOFa6fKWsoSpg4iJAd4th /4WUqc3VJG1AxIJWk1NE5XAGJC3TxK2BV/FKu0+uV+s5ATfT4/pIyqurOOwNhMkWULwT q/BaJpIIFOs5Div1y3nao1kd6GXeI20hbEVDQRPaSsFfC4XpYVxB+I5NAxckXmoYxaJr KmcrDUPgCU4nQanjblS7FNAou1FHtYpZErkPmCWeie3Tlz36raefix+Y5RKwR8FRx2Xt WDhpEdVD+oNZLq0i8LlYnPFCjAL7ZeKiTB3oD5Wjdra1NJpPSrTv3F9U06LwNtTHYq41 WP3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=dyDoh2p6; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id l79si2055782jab.122.2018.11.14.18.34.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Nov 2018 18:34:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=dyDoh2p6; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 697D621190730; Wed, 14 Nov 2018 18:34:13 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org 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-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 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: [edk2] [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: , Cc: kamil.kacperski@intel.com, eric.jin@intel.com, pawel.orlowski@intel.com, michael.d.kinney@intel.com, harry.l.hsiung@intel.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 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(-) -- 2.17.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Ryszard Knop 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;