From patchwork Wed Jan 13 02:00:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 8021551 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D9250BEEE5 for ; Wed, 13 Jan 2016 02:00:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1DC102039E for ; Wed, 13 Jan 2016 02:00:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2EAD5201FE for ; Wed, 13 Jan 2016 02:00:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753981AbcAMCAq (ORCPT ); Tue, 12 Jan 2016 21:00:46 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:36840 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753921AbcAMCAp (ORCPT ); Tue, 12 Jan 2016 21:00:45 -0500 Received: from reginn.isobedori.kobe.vergenet.net (p4139-ipbfp1501kobeminato.hyogo.ocn.ne.jp [114.153.215.139]) by kirsty.vergenet.net (Postfix) with ESMTPA id ADCCA25B7FD; Wed, 13 Jan 2016 13:00:39 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1452650439; bh=ioossACJPcQrg8iFo9Fw9YJCYy/1JXVSCzL/UFwNXJw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HimsitvZ5C34lvJUoH7Hm0PH4BfCJIeievM5giJBFIMP6T9vcnbB77jTDkVuyP31r rKXbnBFna/1/GFs5e46Vpbw2X70qPH7f0V/litOxSGbzoORob36/NRZJf9BX9TLYLo sQ5phvwgZFSLhikyqV+O2EzBnfwsV8g8Vk4DERCA= Received: by reginn.isobedori.kobe.vergenet.net (Postfix, from userid 7100) id BFDBD940541; Wed, 13 Jan 2016 11:00:38 +0900 (JST) From: Simon Horman To: Mathias Nyman Cc: linux-usb@vger.kernel.org, linux-sh@vger.kernel.org, Yoshihiro Shimoda , Magnus Damm , Julia Lawall , Fengguang Wu Subject: [PATCH v3 2/2] usb: host: xhci-plat: fix of_table.cocci warnings Date: Wed, 13 Jan 2016 11:00:37 +0900 Message-Id: <1452650437-26312-3-git-send-email-horms+renesas@verge.net.au> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1452650437-26312-1-git-send-email-horms+renesas@verge.net.au> References: <1452650437-26312-1-git-send-email-horms+renesas@verge.net.au> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Julia Lawall Make sure (of/i2c/platform)_device_id tables are NULL terminated Generated by: scripts/coccinelle/misc/of_table.cocci Signed-off-by: Fengguang Wu Signed-off-by: Julia Lawall --- v3 * No change v2 * New patch --- drivers/usb/host/xhci-plat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c index 05d09d7547ea..cb2f080ab0a3 100644 --- a/drivers/usb/host/xhci-plat.c +++ b/drivers/usb/host/xhci-plat.c @@ -116,6 +116,7 @@ static const struct of_device_id usb_xhci_of_match[] = { .compatible = "renesas,rcar-gen3-xhci", .data = &xhci_plat_renesas_rcar_gen3, }, + {}, }; MODULE_DEVICE_TABLE(of, usb_xhci_of_match); #endif