Skip to contentSkip to conversation

RFC: bus: fix of_table.cocci warnings

PATCH New Julia Lawall 1 participant 1 message Jun 15, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RFC: bus: fix of_table.cocci warnings

From: kbuild test robot <[email protected]>

Make sure (of/i2c/platform)_device_id tables are NULL terminated

Generated by: scripts/coccinelle/misc/of_table.cocci

Fixes 7d8c3a62781b ("RFC: bus: 96boards Low-Speed Connector")

---

tree:
https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
ultra96

head:   27803f286226e1b5b5893aabfd55feec08b73bae
commit: 7d8c3a62781bbd8b42119b3af2c90f4d9eef3748 [20/21] RFC: bus:

96boards Low-Speed Connector

 96boards-ls-connector.c |    1 +
 1 file changed, 1 insertion(+)
drivers/bus/96boards-mezzanines/96boards-ls-connector.c +1 -0
@@ -294,6 +294,7 @@ static const struct of_device_id lscon_o
 	{
 		.compatible = "96boards,low-speed-connector",
 	},
+	{},
 };
 
 static struct platform_driver lscon_driver = {