Message ID | 20161027202325.20680-2-vincent.stehle@laposte.net |
---|---|
State | New |
Headers | show
Return-Path: <linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3t4dhQ0vWqz9ryv for <incoming-imx@patchwork.ozlabs.org>; Fri, 28 Oct 2016 07:26:30 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=laposte.net header.i=@laposte.net header.b=VVLChDgc; dkim-atps=neutral Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bzrEW-0008TT-2i; Thu, 27 Oct 2016 20:25:04 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bzrEQ-0008Qk-SK for linux-arm-kernel@bombadil.infradead.org; Thu, 27 Oct 2016 20:24:59 +0000 Received: from smtpoutz26.laposte.net ([194.117.213.101] helo=smtp.laposte.net) by casper.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bzrEM-0007uX-Dl for linux-arm-kernel@lists.infradead.org; Thu, 27 Oct 2016 20:24:57 +0000 Received: from smtp.laposte.net (localhost [127.0.0.1]) by lpn-prd-vrout014 (Postfix) with ESMTP id 9E133121276 for <linux-arm-kernel@lists.infradead.org>; 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-vrout014 (Postfix) with ESMTP id 9056D121308 for <linux-arm-kernel@lists.infradead.org>; Thu, 27 Oct 2016 22:23:44 +0200 (CEST) Received: from lpn-prd-vrin001 (lpn-prd-vrin001.prosodie [10.128.63.2]) by lpn-prd-vrout014 (Postfix) with ESMTP id 8C064121276 for <linux-arm-kernel@lists.infradead.org>; 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 79A7F366DB4 for <linux-arm-kernel@lists.infradead.org>; 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 <vincent@radicelle.bergerie>) id 1bzrDD-0005k1-Kb; Thu, 27 Oct 2016 22:23:43 +0200 From: =?UTF-8?q?Vincent=20Stehl=C3=A9?= <vincent.stehle@laposte.net> To: linux-media@vger.kernel.org, linux-mediatek@lists.infradead.org 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161027_212454_596726_370883FB X-CRM114-Status: GOOD ( 12.98 ) X-Spam-Score: -4.1 (----) X-Spam-Report: SpamAssassin version 3.4.1 on casper.infradead.org summary: Content analysis details: (-4.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [194.117.213.101 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [194.117.213.101 listed in list.dnswl.org] -1.4 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (vincent.stehle[at]laposte.net) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Minghsiu Tsai <minghsiu.tsai@mediatek.com>, linux-kernel@vger.kernel.org, =?UTF-8?q?Vincent=20Stehl=C3=A9?= <vincent.stehle@laposte.net>, Mauro Carvalho Chehab <mchehab@s-opensource.com>, Hans Verkuil <hans.verkuil@cisco.com>, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org |
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[] = {
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é <vincent.stehle@laposte.net> Cc: Minghsiu Tsai <minghsiu.tsai@mediatek.com> Cc: Hans Verkuil <hans.verkuil@cisco.com> Cc: Mauro Carvalho Chehab <mchehab@s-opensource.com> --- drivers/media/platform/mtk-mdp/mtk_mdp_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)