Messages in this thread | | | Date | Thu, 18 Dec 2014 11:53:25 +0530 | Subject | Re: [PATCH V2] cpufreq: fix a NULL pointer dereference triggered by _PPC changed notification | From | Viresh Kumar <> |
| |
On 18 December 2014 at 11:50, Ethan Zhao <ethan.zhao@oracle.com> wrote: > diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c > index 4473eba..b75735c 100644 > --- a/drivers/cpufreq/cpufreq.c > +++ b/drivers/cpufreq/cpufreq.c > @@ -2021,6 +2021,11 @@ static int __cpufreq_governor(struct cpufreq_policy *policy, > /* Don't start any governor operations if we are entering suspend */ > if (cpufreq_suspended) > return 0; > + /* Governor might not be initiated here if _PPC changed notification > + * happened, check it. > + */
Its still wrong.
/* * Governor might not be initiated here if _PPC changed notification * happened, check it. */
| |