Linux GPIO subsystem development
 help / color / mirror / Atom feed
* [PATCH] gpio: fix of_table.cocci warnings
@ 2019-02-09 19:22 Julia Lawall
  0 siblings, 0 replies; only message in thread
From: Julia Lawall @ 2019-02-09 19:22 UTC (permalink / raw)
  To: Linus Walleij; +Cc: Bartosz Golaszewski, kbuild-all, linux-gpio

From: kbuild test robot <fengguang.wu@intel.com>

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

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

Fixes: cfa6215225c6 ("gpio: Add a Gateworks PLD GPIO driver")
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>

---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git devel
head:   9073ca27d806ed4dbb35ea13de4712048175bdef
commit: cfa6215225c6c6f62d7045e484285a99a5a69f98 [20/24] gpio: Add a Gateworks PLD GPIO driver
:::::: branch date: 7 hours ago
:::::: commit date: 11 hours ago

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

 gpio-gw-pld.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/gpio/gpio-gw-pld.c
+++ b/drivers/gpio/gpio-gw-pld.c
@@ -119,6 +119,7 @@ MODULE_DEVICE_TABLE(i2c, gw_pld_id);

 static const struct of_device_id gw_pld_dt_ids[] = {
 	{ .compatible = "gateworks,pld-gpio", },
+	{},
 };
 MODULE_DEVICE_TABLE(of, gw_pld_dt_ids);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-02-09 19:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-09 19:22 [PATCH] gpio: fix of_table.cocci warnings Julia Lawall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox