Linux GPIO subsystem development
 help / color / mirror / Atom feed
From: Julia Lawall <julia.lawall@lip6.fr>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>,
	kbuild-all@01.org,
	linux-gpio@vger.kernel.orglinux-gpio@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH] gpio: fix of_table.cocci warnings
Date: Sat, 9 Feb 2019 20:22:20 +0100 (CET)	[thread overview]
Message-ID: <alpine.DEB.2.21.1902092020140.2512@hadrien> (raw)

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);

                 reply	other threads:[~2019-02-09 19:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.21.1902092020140.2512@hadrien \
    --to=julia.lawall@lip6.fr \
    --cc=bgolaszewski@baylibre.com \
    --cc=kbuild-all@01.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.orglinux-gpio \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox