lkml.org 
[lkml]   [2014]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH V2] cpufreq: fix a NULL pointer dereference triggered by _PPC changed notification
From
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.
*/


\
 
 \ /
  Last update: 2014-12-18 08:01    [W:0.031 / U:1.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site