[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.10.1608272058090.3363@hadrien>
Date: Sat, 27 Aug 2016 20:59:12 +0200 (CEST)
From: Julia Lawall <julia.lawall@...6.fr>
To: Bin Gao <bin.gao@...ux.intel.com>
cc: Zhang Rui <rui.zhang@...el.com>,
Eduardo Valentin <edubezval@...il.com>,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
ysiyer <yegnesh.s.iyer@...el.com>, Bin Gao <bin.gao@...el.com>
Subject: [PATCH] thermal: fix of_table.cocci warnings
Make sure (of/i2c/platform)_device_id tables are NULL terminated
Generated by: scripts/coccinelle/misc/of_table.cocci
CC: Yegnesh S Iyer <yegnesh.s.iyer@...el.com>
Signed-off-by: Julia Lawall <julia.lawall@...6.fr>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
Please take the patch only if it's a positive warning. Thanks!
intel_bxt_pmic_thermal.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/thermal/intel_bxt_pmic_thermal.c
+++ b/drivers/thermal/intel_bxt_pmic_thermal.c
@@ -281,6 +281,7 @@ static struct platform_device_id pmic_th
.name = "bxt_wcove_thermal",
.driver_data = (kernel_ulong_t)&bxtwc_thermal_data,
},
+ {},
};
static struct platform_driver pmic_thermal_driver = {
Powered by blists - more mailing lists