From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mukesh Ojha Subject: Re: [PATCH -next] drm/omap: Add NULL entry to the end of_device_id array Date: Wed, 27 Mar 2019 18:19:09 +0530 Message-ID: <5acec65f-03c0-d09c-cdd6-acab5da01678@codeaurora.org> References: <20190327031904.63046-1-yuehaibing@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20190327031904.63046-1-yuehaibing@huawei.com> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: YueHaibing , Tomi Valkeinen , David Airlie , Daniel Vetter , Laurent Pinchart , Sebastian Reichel Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org List-Id: dri-devel@lists.freedesktop.org Sorry for the spam whosoever has got the last mail, as the last did not get to the mailing list, and it bounced, so sending it again. On 3/27/2019 8:49 AM, YueHaibing wrote: > Make sure of_device_id tables are NULL terminated > Found by coccinelle spatch "misc/of_table.cocci" > > Signed-off-by: YueHaibing Reviewed-by: Mukesh Ojha -Mukesh > --- > drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c b/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c > index 2b41c75ce988..e02aa8e70968 100644 > --- a/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c > +++ b/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c > @@ -198,6 +198,7 @@ static const struct of_device_id omapdss_of_fixups_whitelist[] __initconst = { > { .compatible = "toppoly,td028ttec1" }, > { .compatible = "tpo,td028ttec1" }, > { .compatible = "tpo,td043mtea1" }, > + {}, > }; > > static int __init omapdss_boot_init(void) > > >