From patchwork Tue Nov 6 17:58:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 150312 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp4192362ljp; Tue, 6 Nov 2018 09:59:25 -0800 (PST) X-Google-Smtp-Source: AJdET5cm8prslxGOB9QLzY1G1uICrN4k76ekTpHmOQ5yTRVRydPQ1RQjd9249CUp+BaBjHTW0a7v X-Received: by 2002:a17:902:b784:: with SMTP id e4-v6mr26776442pls.45.1541527165841; Tue, 06 Nov 2018 09:59:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541527165; cv=none; d=google.com; s=arc-20160816; b=fChWJK+ruG9ZB+Dsu8+FonLrTgWqg4OlevzgaVJNVshehBYCsNhrE+WSJAPmmRT6Om sNn0HqHZVImdVoYvkPvc9KYcosL7E4QZ0wdc7xzAszFPTJgHlu8+nYJcTIlXYV5kipwA FSmUR1Ir50+VF23vlk1uLP5wPcOD96CjTTcF5/0mUCcauzx2478eYcRk/GZ/BKCcAPLC 76xAkClD+lEmBjARL6W7zTX1sTJgZSAXutpJdVCTjacIqLNv3yGuqaBptq/06hNf1sxD Z7c7ZherACo1CoM2XdVJAooJUjeRrEJlSUkUHA41OoAlT8y0C2VGGzETO1UyBRekQhM6 emLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to; bh=fqa5MK4iZWV2KGoc8DUvV+4Jo2gMUWTm0zRowtLSjgA=; b=xat4kovPXt99npLztgXY5Rz9VR4IMIqV51xQbo9FEFhqiFT6++Nz44hL+DLQLs42Cu VK4h2/9UKsVCvpsOARraDjbDktYtRrhmXxJSqQ7+5j5n1tlN8jv+KOEzhYvNDysb1Wlx w4rzfziVxuZGxgoFT+RnCWfkW7WtRr+3Y1dYnI5ooi+tFMT1O3/Qe9LIGMf5PzJkjdmn H/4x0UJqmHVmBxK3+eaaOhvv08I+FkFW6nc74T3NjylQGc3uhWFia+QGOaZKVeK2oHpp zZ5yKAHxhk6CdC0xJUoMR/havHYaadcS5/EmGVYh91x9jLNsBZfdBQkPSmP4v/p6OPh6 OSNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=bArKgPMi; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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. [198.145.21.10]) by mx.google.com with ESMTPS id o24-v6si43550301pgv.242.2018.11.06.09.59.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Nov 2018 09:59:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=bArKgPMi; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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 3F2722118C50E; Tue, 6 Nov 2018 09:59:05 -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=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-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 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: [edk2] [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: , Cc: michael.d.kinney@intel.com, eric.jin@intel.com 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/GigUndiDxe/NVDataStruc.h | 4 ++-- IntelUndiPkg/GigUndiDxe/StartStop.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) -- 2.19.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Ryszard Knop 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;