Message ID | 20180504021036.17027-10-joel@jms.id.au |
---|---|
State | Accepted |
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 40cbCw5c3Gz9s0q for <incoming@patchwork.ozlabs.org>; Fri, 4 May 2018 12:13:48 +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="k96lQg7b"; 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 40cbCw3fn7zF1PD for <incoming@patchwork.ozlabs.org>; Fri, 4 May 2018 12:13:48 +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="k96lQg7b"; 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::241; helo=mail-pf0-x241.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="k96lQg7b"; dkim-atps=neutral Received: from mail-pf0-x241.google.com (mail-pf0-x241.google.com [IPv6:2607:f8b0:400e:c00::241]) (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 40cb9W4NhDzF1Pp for <skiboot@lists.ozlabs.org>; Fri, 4 May 2018 12:11:43 +1000 (AEST) Received: by mail-pf0-x241.google.com with SMTP id f20so7429779pfn.0 for <skiboot@lists.ozlabs.org>; Thu, 03 May 2018 19:11:43 -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=EtOEojwQDB0X9ZtaAYYKKqiynvF6O2/hPZs9lL0RPac=; b=k96lQg7baFnpR7Sip/f0YF2DzZuk3L7agf5Vw8Q857w2RHkgkLC+Ir+XLce9ygfcg7 G+fqHeVG2B4f6Cg+56O/YTbvncsnFXNiXmvpHNNHtdYl0aK5NqS0+oe/8o6Gi94b8kE2 8nkggAU38znN/IjvQ9WgpycEYuVNcFuwN7kDAUYtbizGOYq1/60OBzDyueq1N3nRS2Rd 4cgh6KKgznY1dI5Gqck3DZPlFwZ9Wm94ba3hNNdBmhIeW4eQPcHEGnASDcPNlursCr62 rgvmVOIFOmwhNoZaWkkd/I9kzEQDpBQt8eujSc57cuoI4xQBZGqCc570F6vjIltiwRzF UCxQ== 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=EtOEojwQDB0X9ZtaAYYKKqiynvF6O2/hPZs9lL0RPac=; b=GDvvXKhJecPwmWtK49rcBhbEyZNEPT+kj3nDhyDJncnd+iuxEEtGE7UdnARvmCL2mX N7QMCeqSLfS5hGo7p7+BK+z0PFErrP4aaPEMSUb8uhd6a/i4L/2wtxn/elBB/7YvcWsn PnTHjjk5kwBiIOP8rBThqMqhKTDC/GricuywbUBEgBzgFm+fJhk7np37cvDKnPEuBFGM snZja9sc/f0J3u7aSerZKJwRge4Y7/ZpPpdio/+J7P8brta1RGcvczPE8u4hcLUdCXoI WkC/Ws3BFmhva0G8cScKtF+mDOT+PFV8Ah6AsyWct5XUutYh2LsCKjCea1xjnhTtA6Hr jDEw== X-Gm-Message-State: ALQs6tD/qUYzlfABxJGSinlq4ddpwDSJIzObsWjsovPsQhjKqOG9SISG rvC5jvB+TDDULTACT4pnGHyWK1tY X-Google-Smtp-Source: AB8JxZoHxrd77tPmVI3/RwXvM+kb9zGbn/OZSFiO/hikYWWeJ2VGut0uw4heTKjl+NsjN0EEAXAyVA== X-Received: by 2002:a17:902:b681:: with SMTP id c1-v6mr18253772pls.286.1525399901497; Thu, 03 May 2018 19:11:41 -0700 (PDT) Received: from aurora.jms.id.au ([45.124.203.19]) by smtp.gmail.com with ESMTPSA id e18sm21602335pfi.100.2018.05.03.19.11.38 for <skiboot@lists.ozlabs.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 May 2018 19:11:40 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Fri, 04 May 2018 11:41:35 +0930 From: Joel Stanley <joel@jms.id.au> To: skiboot@lists.ozlabs.org Date: Fri, 4 May 2018 11:40:34 +0930 Message-Id: <20180504021036.17027-10-joel@jms.id.au> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180504021036.17027-1-joel@jms.id.au> References: <20180504021036.17027-1-joel@jms.id.au> Subject: [Skiboot] [PATCH v2 09/11] 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..04cbf8e2cfd0 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} + { NULL, 0, 0 } }; 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> --- v2: Older gcc such as 4.8 don't like the empty initialiser, so make it explicit instead --- core/pci-quirk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)