From: Keith Moore Date: Thu, 2 Jun 2005 10:42:37 +0000 (+0200) Subject: [PATCH] cpqphp: fix oops during unload without probe X-Git-Tag: v2.6.13-rc1~39^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4002307d2b563a6ab317ca4d7eb1d201a6673d37;p=pandora-kernel.git [PATCH] cpqphp: fix oops during unload without probe drivers/pci/hotplug/cpqphp_core.c calls cpqphp_event_start_thread() in one_time_init(), which is called whenever the hardware is probed. Unfortunately, cpqphp_event_stop_thread() is *always* called when the module is unloaded. If the hardware is never probed, then cpqphp_event_stop_thread() tries to manipulate a couple of uninitialized mutexes. Signed-off-by: Keith Moore Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed