lkml.org 
[lkml]   [2010]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] NULL pointer might be used in ips_monitor()
On 09/16/2010 08:53 PM, Jesse Barnes wrote:
> On Thu, 16 Sep 2010 13:06:28 +0800
> minskey guo<chaohong.guo@linux.intel.com> wrote:
>
>
>> From: minskey guo<chaohong_guo@linux.intel.com>
>>
>> The patch is to enable creating ips_adjust thread before ips_monitor
>> executes because the latter will kthread_stop() or wake up the former
>> via ips->adjust pointer. Otherwise, it is possible that ips->adjust
>> is NULL when kthread_stop() or wake_up_process() is called in
>> ips_monitor()
>>
>> Besides, some trival changes:
>> a) correct an define of register bits;
>> b) old_cpu_power sample should not be divided by 65535
>> c) handling on error path in ips_get_i915_syms()
>>
> Excellent, thanks for the fixes. Can you split up the patch into
> individual fixes and send them over to the platform driver list and
> Matthew Garrett? You can add my acked-by on them.
>
> Thanks,
>


Ok. I split it into 4 patches, and sent to platform driver list:
platform-driver-x86@vger.kernel.org.


-minskey


\
 
 \ /
  Last update: 2010-09-17 08:15    [W:6.321 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site