All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] usb: host: xhci-plat: fix of_table.cocci warnings
@ 2016-01-08  7:20 Julia Lawall
  2016-01-13  1:37 ` Simon Horman
  2016-01-13  2:07 ` Simon Horman
  0 siblings, 2 replies; 3+ messages in thread
From: Julia Lawall @ 2016-01-08  7:20 UTC (permalink / raw)
  To: linux-sh

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

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

CC: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
---

 xhci-plat.c |    1 +
 1 file changed, 1 insertion(+)

--- 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_xhc
 		.compatible = "renesas,rcar-gen3-xhci",
 		.data = &xhci_plat_renesas_rcar_gen3,
 	},
+	{},
 };
 MODULE_DEVICE_TABLE(of, usb_xhci_of_match);
 #endif

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] usb: host: xhci-plat: fix of_table.cocci warnings
  2016-01-08  7:20 [PATCH] usb: host: xhci-plat: fix of_table.cocci warnings Julia Lawall
@ 2016-01-13  1:37 ` Simon Horman
  2016-01-13  2:07 ` Simon Horman
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2016-01-13  1:37 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>

---
v3
* No change

v2
* New patch
---
 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.1.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] usb: host: xhci-plat: fix of_table.cocci warnings
  2016-01-08  7:20 [PATCH] usb: host: xhci-plat: fix of_table.cocci warnings Julia Lawall
  2016-01-13  1:37 ` Simon Horman
@ 2016-01-13  2:07 ` Simon Horman
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2016-01-13  2:07 UTC (permalink / raw)
  To: linux-sh

On Wed, Jan 13, 2016 at 10:37:58AM +0900, Simon Horman wrote:
> 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>

Sorry, this was a miss-post.

I have reposted this patch in a 2-patch series.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-13  2:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-08  7:20 [PATCH] usb: host: xhci-plat: fix of_table.cocci warnings Julia Lawall
2016-01-13  1:37 ` Simon Horman
2016-01-13  2:07 ` 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.