Message ID | 20180502083753.25090-9-joel@jms.id.au |
---|---|
State | Superseded |
Headers | show
Return-Path: <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40bWvG5rfWz9s1d for <incoming@patchwork.ozlabs.org>; Wed, 2 May 2018 18:40:42 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="tjAewQKR"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 40bWvG2z41zF2Sb for <incoming@patchwork.ozlabs.org>; Wed, 2 May 2018 18:40:42 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="tjAewQKR"; dkim-atps=neutral X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:400e:c00::243; helo=mail-pf0-x243.google.com; envelope-from=joel.stan@gmail.com; receiver=<UNKNOWN>) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="tjAewQKR"; dkim-atps=neutral Received: from mail-pf0-x243.google.com (mail-pf0-x243.google.com [IPv6:2607:f8b0:400e:c00::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 40bWsB1MRWzF2SZ for <skiboot@lists.ozlabs.org>; Wed, 2 May 2018 18:38:54 +1000 (AEST) Received: by mail-pf0-x243.google.com with SMTP id e9so7187364pfi.4 for <skiboot@lists.ozlabs.org>; Wed, 02 May 2018 01:38:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=UEU3kuXSXe8Zwbtt5+EISAfubq0nWaGBa2hnBL5RAYM=; b=tjAewQKRvEV3VhHZUWhFbQtLQ+qv+/b21OwMkrHPJ7Uhf07aBEObeyiLx+N97t6vL3 YPatAmulg3YrRDMb5r43PQmRaJo9PcwQnFjYiROFkIxP8ZXhdYmUVyaDH7tkNE9U9V+F 85Y9VP7OelfGbHSLSJOLIN6rz0a1W8CfH7gSyYcLCs1sUAFVnOMYQZxWqW15GWWZ0XXq cxSH02m3pw1s8hfbBNSwwECFMJHWHHuk6LCsHyt3YcGP1nkAO11xSMA1wFjA921SOB50 1x697MMJAv+0fb1SNO2P4wh2XBBubLxZdgSuQx9VD5xv5BCxr0tcw1gfswN0J8n3L5ZU rFtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references; bh=UEU3kuXSXe8Zwbtt5+EISAfubq0nWaGBa2hnBL5RAYM=; b=JlsX+/ywMuw9ocytFtOoPrd085bTqs45URYgh08s9pEAVJSkM7L0pt+h3jbt8DtPHF xn+uGocPe9Loh90/LieFmGWe5tt8eUhP9Bp4v8s+OzQxNyQBZXEcwM957Kf/2gNy5FOT +ZE2YKXTa2Fi15q24pHxxY3/e0Cn7X249f60blSD/AfJKH8ku1cm456cBAtpNt6qmX+G syjR/wPkxYvHgM2fdbJ7HoIUX1eQt4lredDrl6CMaWAxQTIQTNmqku12wEr8YUidQLT/ K2Jv3KXFaIBqTerxgOOB4NIkPemI1d4OmJKxl1EkEt0y6Y4K2HIwDjd5rIuIrhTX6mg5 ievA== X-Gm-Message-State: ALQs6tCTQBgL/0myzfnC+YWc0fDjcsZ0k12QoRoV8WbVdDcfUpkfFww5 Y70D9ftDKbqk315jAXlPvkrUpgfm X-Google-Smtp-Source: AB8JxZpEblttddRBpcnqxajuj2s4fMMoperhPnZRQNv63LdF8merJuzaxW7iQh50+8+/MXJupjcVQA== X-Received: by 2002:a63:7a43:: with SMTP id j3-v6mr15282498pgn.172.1525250331950; Wed, 02 May 2018 01:38:51 -0700 (PDT) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id w85sm16375536pfa.35.2018.05.02.01.38.49 for <skiboot@lists.ozlabs.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 02 May 2018 01:38:51 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Wed, 02 May 2018 18:08:46 +0930 From: Joel Stanley <joel@jms.id.au> To: skiboot@lists.ozlabs.org Date: Wed, 2 May 2018 18:07:48 +0930 Message-Id: <20180502083753.25090-9-joel@jms.id.au> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180502083753.25090-1-joel@jms.id.au> References: <20180502083753.25090-1-joel@jms.id.au> Subject: [Skiboot] [PATCH 08/13] pci-quirk: Fix initiliser warning X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Mailing list for skiboot development <skiboot.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/skiboot>, <mailto:skiboot-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/skiboot/> List-Post: <mailto:skiboot@lists.ozlabs.org> List-Help: <mailto:skiboot-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/skiboot>, <mailto:skiboot-request@lists.ozlabs.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> |
Series |
Support building with clang
|
expand
|
diff --git a/core/pci-quirk.c b/core/pci-quirk.c index 0153bdb8435b..ada314d2d54d 100644 --- a/core/pci-quirk.c +++ b/core/pci-quirk.c @@ -67,7 +67,7 @@ static void quirk_astbmc_vga(struct phb *phb __unused, static const struct pci_quirk quirk_table[] = { /* ASPEED 2400 VGA device */ { &quirk_astbmc_vga, 0x1a03, 0x2000 }, - {NULL} + { } }; void pci_handle_quirk(struct phb *phb, struct pci_device *pd)
core/pci-quirk.c:70:7: warning: missing field 'vendor_id' initializer [-Wmissing-field-initializers] {NULL} ^ Instead use an empty initaliser, as this is what the kernel does. Signed-off-by: Joel Stanley <joel@jms.id.au> --- core/pci-quirk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)