From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Cc: lersek@redhat.com, Ard Biesheuvel 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: [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: , X-List-Received-Date: Tue, 25 Oct 2016 17:10:43 -0000 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(-) 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, -- 2.7.4