All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 2/2] usb: host: xhci-plat: fix of_table.cocci warnings
@ 2016-01-11  4:07 Simon Horman
  0 siblings, 0 replies; only message in thread
From: Simon Horman @ 2016-01-11  4:07 UTC (permalink / raw)
  To: linux-sh

From: Julia Lawall <julia.lawall@lip6.fr>

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

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

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
---
 drivers/usb/host/xhci-plat.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
index 05d09d7547ea..cb2f080ab0a3 100644
--- a/drivers/usb/host/xhci-plat.c
+++ b/drivers/usb/host/xhci-plat.c
@@ -116,6 +116,7 @@ static const struct of_device_id usb_xhci_of_match[] = {
 		.compatible = "renesas,rcar-gen3-xhci",
 		.data = &xhci_plat_renesas_rcar_gen3,
 	},
+	{},
 };
 MODULE_DEVICE_TABLE(of, usb_xhci_of_match);
 #endif
-- 
2.7.0.rc3.207.g0ac5344


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

only message in thread, other threads:[~2016-01-11  4:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-11  4:07 [PATCH v2 2/2] usb: host: xhci-plat: fix of_table.cocci warnings Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.