* [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
* Re: [PATCH] cpufreq: qcom-kryo: add NULL entry to the end of_device_id array
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
1 sibling, 0 replies; 4+ messages in thread
From: Ilia Lin @ 2018-07-23 12:44 UTC (permalink / raw)
To: yuehaibing; +Cc: Rafael J . Wysocki, Viresh Kumar, linux-kernel, linux-pm
On Mon, Jul 23, 2018 at 3:38 PM YueHaibing <yuehaibing@huawei.com> wrote:
>
> 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
>
>
Acked-by: Ilia Lin <ilia.lin@kernel.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] cpufreq: qcom-kryo: add NULL entry to the end of_device_id array
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
1 sibling, 1 reply; 4+ messages in thread
From: Viresh Kumar @ 2018-07-24 3:43 UTC (permalink / raw)
To: YueHaibing; +Cc: ilia.lin, rjw, linux-kernel, linux-pm
On 23-07-18, 20:34, YueHaibing wrote:
> 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", },
> + {}
> };
>
> /*
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
--
viresh
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] cpufreq: qcom-kryo: add NULL entry to the end of_device_id array
2018-07-24 3:43 ` Viresh Kumar
@ 2018-07-26 9:05 ` Rafael J. Wysocki
0 siblings, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2018-07-26 9:05 UTC (permalink / raw)
To: Viresh Kumar, YueHaibing; +Cc: ilia.lin, linux-kernel, linux-pm
On Tuesday, July 24, 2018 5:43:35 AM CEST Viresh Kumar wrote:
> On 23-07-18, 20:34, YueHaibing wrote:
> > 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", },
> > + {}
> > };
> >
> > /*
>
> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
>
>
Patch applied, thanks!
^ permalink raw reply [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).