Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1306044

[PATCH] gpio: max77620: fix of_table.cocci warnings

From Julia Lawall <julia.lawall@lip6.fr>
Newsgroups linux.kernel
Subject [PATCH] gpio: max77620: fix of_table.cocci warnings
Date 2016-01-11 11:50 +0100
Message-ID <qPIcW-17S-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

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

CC: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
---

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

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

--- a/drivers/gpio/gpio-max77620.c
+++ b/drivers/gpio/gpio-max77620.c
@@ -301,6 +301,7 @@ static struct platform_device_id max7762
 	{
 		.name = "max20024-gpio",
 	},
+	{},
 };

 static struct platform_driver max77620_gpio_driver = {

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] gpio: max77620: fix of_table.cocci warnings Julia Lawall <julia.lawall@lip6.fr> - 2016-01-11 11:50 +0100
  Re: [PATCH] gpio: max77620: fix of_table.cocci warnings Linus Walleij <linus.walleij@linaro.org> - 2016-01-14 10:10 +0100
    Re: [PATCH] gpio: max77620: fix of_table.cocci warnings Lee Jones <lee.jones@linaro.org> - 2016-01-14 10:50 +0100
      Re: [PATCH] gpio: max77620: fix of_table.cocci warnings Laxman Dewangan <ldewangan@nvidia.com> - 2016-01-14 11:00 +0100

csiph-web