TO: Linus Walleij linus.wall...@linaro.org
tree:
git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
realview-dt
head: d4bae478e4b45679fb20b4469f98104dd103456d
commit: d7f6c504b06b98006da616343f6e85e9cc54b99e [1/6] leds: add a driver for
syscon-based LEDs
:: branch date: 2 hours ago
:: commit date: 2 days ago
drivers/leds/leds-syscon.c:74:27-28: syscon_match is not NULL terminated at
line 74
Please consider folding the attached diff :-)
---
0-DAY kernel build testing backend Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
From: Fengguang Wu fengguang...@intel.com
Subject: [PATCH] leds: fix coccinelle warnings
TO: Linus Walleij linus.wall...@linaro.org
CC: Linus Walleij linus.wall...@linaro.org
CC: linux-l...@vger.kernel.org
CC: linux-ker...@vger.kernel.org
CC: devicet...@vger.kernel.org
drivers/leds/leds-syscon.c:74:27-28: syscon_match is not NULL terminated at line 74
Make sure of_device_id tables are NULL terminated
Generated by: scripts/coccinelle/misc/of_table.cocci
CC: Linus Walleij linus.wall...@linaro.org
Signed-off-by: Fengguang Wu fengguang...@intel.com
---
Please take the patch only if it's a positive warning. Thanks!
leds-syscon.c |1 +
1 file changed, 1 insertion(+)
--- a/drivers/leds/leds-syscon.c
+++ b/drivers/leds/leds-syscon.c
@@ -72,6 +72,7 @@ static void syscon_led_set(struct led_cl
static const struct of_device_id syscon_match[] = {
{ .compatible = syscon, },
+ {},
};
static int __init syscon_leds_init(void)
___
kbuild mailing list
kbuild@lists.01.org
https://lists.01.org/mailman/listinfo/kbuild