Thread (7 messages) 7 messages, 4 authors, 2016-01-18
STALE3794d

[rtc-linux] [PATCH] gpio: max77620: fix of_table.cocci warnings

From: Julia Lawall <hidden>
Date: 2016-01-11 10:48:51
Also in: linux-devicetree, linux-gpio, lkml

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 <redacted>
Signed-off-by: Julia Lawall <redacted>
---

Please take the patch only if it's a positive warning. Thanks!

 gpio-max77620.c |    1 +
 1 file changed, 1 insertion(+)
--- a/drivers/gpio/gpio-max77620.c
+++ b/drivers/gpio/gpio-max77620.c
@@ -301,6 +301,7 @@ static struct platform_device_id max7762
 	{
 		.name = "max20024-gpio",
 	},
+	{},
 };

 static struct platform_driver max77620_gpio_driver = {
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help