linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] drm/omap: Add NULL entry to the end of_device_id array
@ 2019-03-27  3:19 YueHaibing
  2019-03-27 12:49 ` Mukesh Ojha
  0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2019-03-27  3:19 UTC (permalink / raw)
  To: Tomi Valkeinen, David Airlie, Daniel Vetter, Laurent Pinchart,
	Sebastian Reichel
  Cc: YueHaibing, dri-devel, linux-kernel, kernel-janitors

Make sure of_device_id tables are NULL terminated
Found by coccinelle spatch "misc/of_table.cocci"

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 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)




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] drm/omap: Add NULL entry to the end of_device_id array
  2019-03-27  3:19 [PATCH -next] drm/omap: Add NULL entry to the end of_device_id array YueHaibing
@ 2019-03-27 12:49 ` Mukesh Ojha
  0 siblings, 0 replies; 2+ messages in thread
From: Mukesh Ojha @ 2019-03-27 12:49 UTC (permalink / raw)
  To: YueHaibing, Tomi Valkeinen, David Airlie, Daniel Vetter,
	Laurent Pinchart, Sebastian Reichel
  Cc: dri-devel, linux-kernel, kernel-janitors

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 <yuehaibing@huawei.com>

Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>

-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)
>
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-27 12:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-27  3:19 [PATCH -next] drm/omap: Add NULL entry to the end of_device_id array YueHaibing
2019-03-27 12:49 ` Mukesh Ojha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).