From patchwork Tue Oct 25 17:10:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 79245 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp3227181qge; Tue, 25 Oct 2016 10:10:45 -0700 (PDT) X-Received: by 10.98.17.196 with SMTP id 65mr40978972pfr.55.1477415445136; Tue, 25 Oct 2016 10:10:45 -0700 (PDT) Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id e13si21659829pgn.145.2016.10.25.10.10.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Oct 2016 10:10:45 -0700 (PDT) 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; 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 dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 75C0D1A1E86; Tue, 25 Oct 2016 10:10:44 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received: from mail-lf0-x22a.google.com (mail-lf0-x22a.google.com [IPv6:2a00:1450:4010:c07::22a]) (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 49F4F1A1E77 for ; Tue, 25 Oct 2016 10:10:43 -0700 (PDT) Received: by mail-lf0-x22a.google.com with SMTP id t133so18649930lff.6 for ; Tue, 25 Oct 2016 10:10:43 -0700 (PDT) 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=2nkNguPmE8r6ls7aJncPth4mHnNhcyEFAOeKt8NuVvA=; b=WZSSFfQtr5mwYUbpzQzC7DG6Bt2VZooHYFsHSM9lv3RKHe0YH4ckhvFoAGTZgGvaN0 DhqaPi/G9yzVzzz5f/SUA6UkRJI+XPURIcs3ozaWD0DIbQF/vmDH6N+u1AdWHTLsTZQi 8Jkh8ckDbwCzD1ICGq+rzeirb8b6HxsZvZ/mE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=2nkNguPmE8r6ls7aJncPth4mHnNhcyEFAOeKt8NuVvA=; b=cDbRkqsQxkemo9FIIKvbKdbjdny69BX2ARq3Egjn9yP+CfDfpWF2Jy86B6UZwXgjLB 2Y3NgD4zTOvmEz9ycNNk+Yzt/+CsEOtDIfU+5gt+7j6jGPo8T63diIdTNZwRdjzNYaOb QpDTx7qTxeYILHCrjh9yOyofNjO1PbJJ9OM1Pb1OSk8jWMH8AZfv4EM7LwyggoKi2VAi h/iJr2NN41hEViMZXjWc40gn3QTWXhy0ECXIjtNa3fmjViQDFmS1F0LeryKtPCjgzhYG DzlTxjin99sUz6LiArYHR5MB4hci7aYHSIB5qUVqa6yZEkh8yWdZhX7OOd7BcKztXqXs yfcQ== X-Gm-Message-State: ABUngvd7VofIBCCmuEfImDKDUcRWUS8/PPMcuDNe3mU3KbqVq/1v8nB1cGmbNvlxpuvJLOlS X-Received: by 10.194.141.233 with SMTP id rr9mr16802846wjb.18.1477415441303; Tue, 25 Oct 2016 10:10:41 -0700 (PDT) Received: from localhost.localdomain ([105.129.136.43]) by smtp.gmail.com with ESMTPSA id a1sm26174792wjl.28.2016.10.25.10.10.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Oct 2016 10:10:40 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Date: Tue, 25 Oct 2016 18:10:25 +0100 Message-Id: <1477415427-10888-3-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1477415427-10888-1-git-send-email-ard.biesheuvel@linaro.org> References: <1477415427-10888-1-git-send-email-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH 3/5] Omap35xxPkg/MMCHSDxe: fix device path initializer X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lersek@redhat.com, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Fix the braces in a static device path template definition. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel --- Omap35xxPkg/MMCHSDxe/MMCHS.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Omap35xxPkg/MMCHSDxe/MMCHS.c b/Omap35xxPkg/MMCHSDxe/MMCHS.c index 9f0ebe0f65d5..5c8e1bd74692 100644 --- a/Omap35xxPkg/MMCHSDxe/MMCHS.c +++ b/Omap35xxPkg/MMCHSDxe/MMCHS.c @@ -43,11 +43,15 @@ typedef struct { MMCHS_DEVICE_PATH gMmcHsDevicePath = { { - HARDWARE_DEVICE_PATH, - HW_VENDOR_DP, - (UINT8)(sizeof(VENDOR_DEVICE_PATH)), - (UINT8)((sizeof(VENDOR_DEVICE_PATH)) >> 8), - 0xb615f1f5, 0x5088, 0x43cd, 0x80, 0x9c, 0xa1, 0x6e, 0x52, 0x48, 0x7d, 0x00 + { + HARDWARE_DEVICE_PATH, + HW_VENDOR_DP, + { + (UINT8)(sizeof(VENDOR_DEVICE_PATH)), + (UINT8)((sizeof(VENDOR_DEVICE_PATH)) >> 8), + }, + }, + { 0xb615f1f5, 0x5088, 0x43cd, { 0x80, 0x9c, 0xa1, 0x6e, 0x52, 0x48, 0x7d, 0x00 } }, }, { END_DEVICE_PATH_TYPE,