From patchwork Thu Oct 27 20:23:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Vincent_Stehl=C3=A9?= X-Patchwork-Id: 9400441 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 97E0D600BA for ; Thu, 27 Oct 2016 20:45:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 80FDE2A3C5 for ; Thu, 27 Oct 2016 20:45:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 75BE52A3CB; Thu, 27 Oct 2016 20:45:32 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1907B2A3C5 for ; Thu, 27 Oct 2016 20:45:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1034004AbcJ0Up3 (ORCPT ); Thu, 27 Oct 2016 16:45:29 -0400 Received: from smtpoutz27.laposte.net ([194.117.213.102]:49099 "EHLO smtp.laposte.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S942325AbcJ0Up1 (ORCPT ); Thu, 27 Oct 2016 16:45:27 -0400 Received: from smtp.laposte.net (localhost [127.0.0.1]) by lpn-prd-vrout015 (Postfix) with ESMTP id A22FC1C8B99 for ; Thu, 27 Oct 2016 22:23:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=laposte.net; s=mail0; t=1477599824; bh=xjk+VoSM01jYyU5alKHXRS5QQO31nenvvdGSxOlqqFw=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=VVLChDgcLTAL6C1NUAvTHpxKF2t+5ABelfNMeLDQ9KBZmzvC1fSpogRV6c1imMcov ETe9yZvhV8KrlmpJ8+FCA0epTRlOXwVQjCu5fxHodgXJ+F+DLFS52bAbvNxpFzlOWX q1xS8MZIZ9dwGGg3mi9AuKIERl3LbkR+bqjBmGZSX+LB9vqkgsvrS2s9+JB1EJSwzp 6fGeXQ1zL2ViufBJmuKWj5aVToB0zef/a71bmVeX0EP7sYGL5xVEuHM1z5eeAbhdM1 erWIQb3ETW/PRHY8Vn3swjxSwwOpBC9qiDXP97sOrbixl1qXJBtzInlO25X2p6M8qS sdxL5jyj30aqw== Received: from smtp.laposte.net (localhost [127.0.0.1]) by lpn-prd-vrout015 (Postfix) with ESMTP id 941601C8BE8 for ; Thu, 27 Oct 2016 22:23:44 +0200 (CEST) Received: from lpn-prd-vrin001 (lpn-prd-vrin001.laposte [10.128.63.2]) by lpn-prd-vrout015 (Postfix) with ESMTP id 8E9651C8B99 for ; Thu, 27 Oct 2016 22:23:44 +0200 (CEST) Received: from lpn-prd-vrin001 (localhost [127.0.0.1]) by lpn-prd-vrin001 (Postfix) with ESMTP id 79AFE366DBA for ; Thu, 27 Oct 2016 22:23:44 +0200 (CEST) Received: from romuald.bergerie (rqp06-1-88-178-86-202.fbx.proxad.net [88.178.86.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lpn-prd-vrin001 (Postfix) with ESMTPSA id 39FE9366DA5; Thu, 27 Oct 2016 22:23:44 +0200 (CEST) Received: from radicelle.bergerie (radicelle.bergerie [192.168.124.12]) by romuald.bergerie (Postfix) with ESMTPS id A828D17E4BB9; Thu, 27 Oct 2016 22:23:43 +0200 (CEST) Received: from vincent by radicelle.bergerie with local (Exim 4.87) (envelope-from ) id 1bzrDD-0005k1-Kb; Thu, 27 Oct 2016 22:23:43 +0200 From: =?UTF-8?q?Vincent=20Stehl=C3=A9?= To: linux-media@vger.kernel.org, linux-mediatek@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Vincent=20Stehl=C3=A9?= , Minghsiu Tsai , Hans Verkuil , Mauro Carvalho Chehab Subject: [PATCH next 2/2] media: mtk-mdp: NULL-terminate mtk_mdp_comp_dt_ids Date: Thu, 27 Oct 2016 22:23:25 +0200 Message-Id: <20161027202325.20680-2-vincent.stehle@laposte.net> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161027202325.20680-1-vincent.stehle@laposte.net> References: <1473340146-6598-4-git-send-email-minghsiu.tsai@mediatek.com> <20161027202325.20680-1-vincent.stehle@laposte.net> MIME-Version: 1.0 X-VR-SrcIP: 88.178.86.202 X-VR-FullState: 0 X-VR-Score: -100 X-VR-Cause-1: gggruggvucftvghtrhhoucdtuddrfeelvddrjedugddugeeiucetufdoteggodetrfdotffvucfrrhho X-VR-Cause-2: fhhilhgvmecunfetrffquffvgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhht X-VR-Cause-3: shculddquddttddmnecujfgurhephffvufffkffojghfgggtgfesthekredtredtjeenucfhrhhomhep X-VR-Cause-4: gghinhgtvghnthcuufhtvghhlhoruceovhhinhgtvghnthdrshhtvghhlhgvsehlrghpohhsthgvrdhn X-VR-Cause-5: vghtqeenucfkphepkeekrddujeekrdekiedrvddtvdenucfrrghrrghmpehmohguvgepshhmthhpohhu X-VR-Cause-6: thdphhgvlhhopehrohhmuhgrlhgurdgsvghrghgvrhhivgdpihhnvghtpeekkedrudejkedrkeeirddv X-VR-Cause-7: tddvpdhmrghilhhfrhhomhepvhhinhgtvghnthdrshhtvghhlhgvsehlrghpohhsthgvrdhnvghtpdhr X-VR-Cause-8: tghpthhtoheplhhinhhugidqmhgvughirgesvhhgvghrrdhkvghrnhgvlhdrohhrgh X-VR-AvState: No X-VR-State: 0 X-VR-State: 0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The mtk_mdp_comp_dt_ids[] array should be NULL-terminated; add therefore an empty entry in the end. Fixes: c8eb2d7e8202fd9c ("[media] media: Add Mediatek MDP Driver") Signed-off-by: Vincent Stehlé Cc: Minghsiu Tsai Cc: Hans Verkuil Cc: Mauro Carvalho Chehab --- drivers/media/platform/mtk-mdp/mtk_mdp_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/mtk-mdp/mtk_mdp_core.c b/drivers/media/platform/mtk-mdp/mtk_mdp_core.c index 40a229d..53296e2 100644 --- a/drivers/media/platform/mtk-mdp/mtk_mdp_core.c +++ b/drivers/media/platform/mtk-mdp/mtk_mdp_core.c @@ -50,7 +50,8 @@ static const struct of_device_id mtk_mdp_comp_dt_ids[] = { }, { .compatible = "mediatek,mt8173-mdp-wrot", .data = (void *)MTK_MDP_WROT - } + }, + { }, }; static const struct of_device_id mtk_mdp_of_ids[] = {