From patchwork Sat Jul 29 15:54:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julia Lawall X-Patchwork-Id: 9870049 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8D81860353 for ; Sat, 29 Jul 2017 15:54:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E4BE286D2 for ; Sat, 29 Jul 2017 15:54:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 717F428786; Sat, 29 Jul 2017 15:54:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 12F0B286D2 for ; Sat, 29 Jul 2017 15:54:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:To:From :Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=rxDR2Gr1KC1nZN03/7jDa2gUwZjqOuYo2HoOuFjvl2g=; b=X20W1wJjieCZUF 3j0iYpzKJv1p5B16al5b4QEdgfQ27WazZJAZPYrn3occp/CxENFVBNUUCuDHy/8SLaSpCiLz2E4NX UaydTv/OJXkjRGlfFS55cEkZZvzuKSiVP8QYaiNCvPQoka20B7eXQOPePMV9HxoriSUetySG8WyrB l1VFVytu0JaeaJHfIKIBAQg4h+Emu9t4iEQRSyxtpOnuyN1xv8ELhrpZjmAvpAmPtjyNJfb/vp268 oqhVYA8USKJMCEjZSz/LJ6YBzJz4ewOuf7eWf+qkCbVS8Xspt0bfp6elSkZ+jVzsO5XlDGYMod8w5 vrnH0RNEiQebYVxIqdYg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dbU4g-0003vu-Ec; Sat, 29 Jul 2017 15:54:42 +0000 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dbU4c-0003tn-9Q for linux-arm-kernel@lists.infradead.org; Sat, 29 Jul 2017 15:54:40 +0000 X-IronPort-AV: E=Sophos;i="5.40,431,1496095200"; d="scan'208";a="285365834" Received: from 85-171-60-79.rev.numericable.fr (HELO [192.168.0.15]) ([85.171.60.79]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Jul 2017 17:54:11 +0200 Date: Sat, 29 Jul 2017 17:54:10 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Corentin Labbe Subject: [PATCH] net-next: stmmac: dwmac-sun8i: fix of_table.cocci warnings Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170729_085438_641612_312A1FF8 X-CRM114-Status: UNSURE ( 8.10 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, alexandre.torgue@st.com, netdev@vger.kernel.org, linux-sunxi@googlegroups.com, linux@armlinux.org.uk, linux-kernel@vger.kernel.org, wens@csie.org, robh+dt@kernel.org, Corentin Labbe , kbuild-all@01.org, peppe.cavallaro@st.com, maxime.ripard@free-electrons.com, linux-arm-kernel@lists.infradead.org, icenowy@aosc.io Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Make sure (of/i2c/platform)_device_id tables are NULL terminated Generated by: scripts/coccinelle/misc/of_table.cocci Fixes: d5dbe1976d52 ("net-next: stmmac: dwmac-sun8i: choose internal PHY via compatible") CC: Corentin Labbe Signed-off-by: Fengguang Wu --- url: https://github.com/0day-ci/linux/commits/Corentin-Labbe/dt-bindings-net-add-compatible-for-internal-sun8i-h3-sun8i-v3s-PHYs/20170729-174950 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next dwmac-sun8i.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c @@ -892,6 +892,7 @@ static int sun8i_dwmac_probe(struct plat static const struct of_device_id internal_phys[] = { { .compatible = "allwinner,sun8i-h3-ephy" }, { .compatible = "allwinner,sun8i-v3s-ephy" }, + {}, }; ret = stmmac_get_platform_resources(pdev, &stmmac_res);