2018-06-15 18:01:18

by Julia Lawall

[permalink] [raw]
Subject: [PATCH] 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")
Signed-off-by: kbuild test robot <[email protected]>
Signed-off-by: Julia Lawall <[email protected]>
---

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

--- a/drivers/bus/96boards-mezzanines/96boards-ls-connector.c
+++ b/drivers/bus/96boards-mezzanines/96boards-ls-connector.c
@@ -294,6 +294,7 @@ static const struct of_device_id lscon_o
{
.compatible = "96boards,low-speed-connector",
},
+ {},
};

static struct platform_driver lscon_driver = {