* Cocci spatch "of_table" - v5.2-rc1 @ 2019-05-27 20:41 Thomas Meyer 2019-05-27 20:41 ` [PATCH] drm/omap: Make sure device_id tables are NULL terminated Thomas Meyer 0 siblings, 1 reply; 4+ messages in thread From: Thomas Meyer @ 2019-05-27 20:41 UTC (permalink / raw) To: linux-kernel Make sure (of/i2c/platform)_device_id tables are NULL terminated. Found by coccinelle spatch "misc/of_table.cocci" Run against version v5.2-rc1 P.S. If you find this email unwanted, set up a procmail rule junking on the header: X-Patch: Cocci ^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] drm/omap: Make sure device_id tables are NULL terminated 2019-05-27 20:41 Cocci spatch "of_table" - v5.2-rc1 Thomas Meyer @ 2019-05-27 20:41 ` Thomas Meyer 2019-05-28 10:50 ` Tomi Valkeinen 0 siblings, 1 reply; 4+ messages in thread From: Thomas Meyer @ 2019-05-27 20:41 UTC (permalink / raw) To: tomi.valkeinen, airlied, daniel, dri-devel, linux-kernel Make sure (of/i2c/platform)_device_id tables are NULL terminated. Signed-off-by: Thomas Meyer <thomas@m3y3r.de> --- diff -u -p a/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c b/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c --- 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 { .compatible = "toppoly,td028ttec1" }, { .compatible = "tpo,td028ttec1" }, { .compatible = "tpo,td043mtea1" }, + {}, }; static int __init omapdss_boot_init(void) ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] drm/omap: Make sure device_id tables are NULL terminated 2019-05-27 20:41 ` [PATCH] drm/omap: Make sure device_id tables are NULL terminated Thomas Meyer @ 2019-05-28 10:50 ` Tomi Valkeinen 0 siblings, 0 replies; 4+ messages in thread From: Tomi Valkeinen @ 2019-05-28 10:50 UTC (permalink / raw) To: Thomas Meyer, airlied, daniel, dri-devel, linux-kernel On 27/05/2019 23:41, Thomas Meyer wrote: > Make sure (of/i2c/platform)_device_id tables are NULL terminated. > > Signed-off-by: Thomas Meyer <thomas@m3y3r.de> > --- > > diff -u -p a/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c b/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c > --- 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 > { .compatible = "toppoly,td028ttec1" }, > { .compatible = "tpo,td028ttec1" }, > { .compatible = "tpo,td043mtea1" }, > + {}, > }; > > static int __init omapdss_boot_init(void) > Thanks! I've picked this up. Tomi -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] drm/omap: Make sure device_id tables are NULL terminated @ 2019-05-28 10:50 ` Tomi Valkeinen 0 siblings, 0 replies; 4+ messages in thread From: Tomi Valkeinen @ 2019-05-28 10:50 UTC (permalink / raw) To: Thomas Meyer, airlied, daniel, dri-devel, linux-kernel On 27/05/2019 23:41, Thomas Meyer wrote: > Make sure (of/i2c/platform)_device_id tables are NULL terminated. > > Signed-off-by: Thomas Meyer <thomas@m3y3r.de> > --- > > diff -u -p a/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c b/drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c > --- 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 > { .compatible = "toppoly,td028ttec1" }, > { .compatible = "tpo,td028ttec1" }, > { .compatible = "tpo,td043mtea1" }, > + {}, > }; > > static int __init omapdss_boot_init(void) > Thanks! I've picked this up. Tomi -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-05-28 10:50 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2019-05-27 20:41 Cocci spatch "of_table" - v5.2-rc1 Thomas Meyer 2019-05-27 20:41 ` [PATCH] drm/omap: Make sure device_id tables are NULL terminated Thomas Meyer 2019-05-28 10:50 ` Tomi Valkeinen 2019-05-28 10:50 ` Tomi Valkeinen
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.