linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cpufreq: qcom-kryo: add NULL entry to the end of_device_id array
@ 2018-07-23 12:34 YueHaibing
  2018-07-23 12:44 ` Ilia Lin
  2018-07-24  3:43 ` Viresh Kumar
  0 siblings, 2 replies; 4+ messages in thread
From: YueHaibing @ 2018-07-23 12:34 UTC (permalink / raw)
  To: ilia.lin, rjw, viresh.kumar; +Cc: linux-kernel, linux-pm, YueHaibing

Make sure of_device_id tables are NULL terminated
Found by coccinelle spatch "misc/of_table.cocci"

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 drivers/cpufreq/qcom-cpufreq-kryo.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/cpufreq/qcom-cpufreq-kryo.c b/drivers/cpufreq/qcom-cpufreq-kryo.c
index 29389ac..efc9a7a 100644
--- a/drivers/cpufreq/qcom-cpufreq-kryo.c
+++ b/drivers/cpufreq/qcom-cpufreq-kryo.c
@@ -183,6 +183,7 @@ static struct platform_driver qcom_cpufreq_kryo_driver = {
 static const struct of_device_id qcom_cpufreq_kryo_match_list[] __initconst = {
 	{ .compatible = "qcom,apq8096", },
 	{ .compatible = "qcom,msm8996", },
+	{}
 };
 
 /*
-- 
2.7.0



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

end of thread, other threads:[~2018-07-26  9:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-23 12:34 [PATCH] cpufreq: qcom-kryo: add NULL entry to the end of_device_id array YueHaibing
2018-07-23 12:44 ` Ilia Lin
2018-07-24  3:43 ` Viresh Kumar
2018-07-26  9:05   ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).