aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pnp
diff options
context:
space:
mode:
authorminskey guo <chaohong.guo@linux.intel.com>2010-09-17 02:03:27 -0400
committerMatthew Garrett <mjg@redhat.com>2010-10-05 14:59:06 -0400
commita7abda8d721359363d679c5f2de964f29419568c (patch)
tree8f0fe2df8a421a8b1f558a9952fffc2f9d411472 /drivers/pnp
parentfed522f7ea780d195d5d3e55df95fee520136e17 (diff)
NULL pointer might be used in ips_monitor()
The patch is to create ips_adjust thread before ips_monitor begins to run because the latter will kthread_stop() or wake up the former via ips->adjust pointer. Without this change, it is possible that ips->adjust is NULL when kthread_stop() or wake_up_process() is called in ips_monitor(). Signed-off-by: minskey guo <chaohong.guo@intel.com> Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions