* [PATCH] rtc: max77xxx: fix of_table.cocci warnings
@ 2016-01-12 11:27 Julia Lawall
2016-01-12 11:20 ` Laxman Dewangan
0 siblings, 1 reply; 2+ messages in thread
From: Julia Lawall @ 2016-01-12 11:27 UTC (permalink / raw)
To: Laxman Dewangan
Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, pawel.moll-5wv7dgnIgG8,
mark.rutland-5wv7dgnIgG8, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg,
galak-sgV2jX0FEOL9JmXXK+q4OQ,
linus.walleij-QSEj5FYQhm4dnm+yROfE0A,
gnurou-Re5JQEeQqe8AvxtiuMwx3w, lee.jones-QSEj5FYQhm4dnm+yROfE0A,
broonie-DgEjT+Ai2ygdnm+yROfE0A, a.zummo-BfzFCNDTiLLj+vYz1yj4TQ,
alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8,
lgirdwood-Re5JQEeQqe8AvxtiuMwx3w,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
linux-gpio-u79uwXL29TY76Z2rM5mHXA,
rtc-linux-/JYPxA39Uh5TLH3MbocFFw, swarren-DDmLM1+adcrQT0dZR+AlfA,
treding-DDmLM1+adcrQT0dZR+AlfA,
k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ
Make sure (of/i2c/platform)_device_id tables are NULL terminated
Generated by: scripts/coccinelle/misc/of_table.cocci
CC: Laxman Dewangan <ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Signed-off-by: Fengguang Wu <fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Signed-off-by: Julia Lawall <julia.lawall-L2FTfq7BK8M@public.gmane.org>
---
Please take the patch only if it's a positive warning. Thanks!
rtc-max77xxx.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/rtc/rtc-max77xxx.c
+++ b/drivers/rtc/rtc-max77xxx.c
@@ -480,6 +480,7 @@ static const struct platform_device_id m
{ .name = "max77xxx-rtc", },
{ .name = "max77620-rtc", },
{ .name = "max20024-rtc", },
+ {},
};
static struct platform_driver max77xxx_rtc_driver = {
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] rtc: max77xxx: fix of_table.cocci warnings
2016-01-12 11:27 [PATCH] rtc: max77xxx: fix of_table.cocci warnings Julia Lawall
@ 2016-01-12 11:20 ` Laxman Dewangan
0 siblings, 0 replies; 2+ messages in thread
From: Laxman Dewangan @ 2016-01-12 11:20 UTC (permalink / raw)
To: Julia Lawall
Cc: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
linus.walleij, gnurou, lee.jones, broonie, a.zummo,
alexandre.belloni, lgirdwood, devicetree, linux-kernel,
linux-gpio, rtc-linux, swarren, treding, k.kozlowski
Hi Julia,
Thanks for pointing this issue.
What script do you run to get this error?
I tried to run script/coccicheck and it did not showed this issue.
When I run make with coccicheck per Documentation, it did not show
specific to this error. Although, there was lots of output.
I want to get this type of error by running script.
Any command for this?
Thanks,
Laxman
On Tuesday 12 January 2016 04:57 PM, Julia Lawall wrote:
> Make sure (of/i2c/platform)_device_id tables are NULL terminated
>
> Generated by: scripts/coccinelle/misc/of_table.cocci
>
> CC: Laxman Dewangan <ldewangan@nvidia.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
> ---
>
> Please take the patch only if it's a positive warning. Thanks!
>
> rtc-max77xxx.c | 1 +
> 1 file changed, 1 insertion(+)
>
> --- a/drivers/rtc/rtc-max77xxx.c
> +++ b/drivers/rtc/rtc-max77xxx.c
> @@ -480,6 +480,7 @@ static const struct platform_device_id m
> { .name = "max77xxx-rtc", },
> { .name = "max77620-rtc", },
> { .name = "max20024-rtc", },
> + {},
> };
>
> static struct platform_driver max77xxx_rtc_driver = {
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-12 11:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-12 11:27 [PATCH] rtc: max77xxx: fix of_table.cocci warnings Julia Lawall
2016-01-12 11:20 ` Laxman Dewangan
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).