Re: [PATCH] PM / OPP: Remove confusing error message in of_cpumask_init_opp_table()

From: Thomas Petazzoni
Date: Thu Oct 15 2015 - 03:43:42 EST


Viresh, Rafael,

On Thu, 15 Oct 2015 13:05:44 +0530, Viresh Kumar wrote:
> On 14-10-15, 17:52, Thomas Petazzoni wrote:
> > ret = of_init_opp_table(cpu_dev);
> > if (ret) {
> > - pr_err("%s: couldn't find opp table for cpu:%d, %d\n",
> > - __func__, cpu, ret);
> > -
>
> It should have be modified to pr_debug() at least.

Would be fine as well, but then maybe with a rewording:

pr_debug("%s: no static opp table found for cpu %d, assuming one will be added at runtime (%d)\n",
__func__, cpu, ret);

Do you want me to resend a new version? Or a follow-up patch based on
the latest tree from Rafael now that he has applied the previous version?

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/