]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] cpqphp: fix oops during unload without probe
authorKeith Moore <keithmo@exmsft.com>
Thu, 2 Jun 2005 10:42:37 +0000 (12:42 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2005 04:52:46 +0000 (21:52 -0700)
commit4002307d2b563a6ab317ca4d7eb1d201a6673d37
treea95936bd9f9180eeaac3c41fae0baaf878486a2d
parent70549ad9cf074e12f12cdc931b29b2616dfb873a
[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 <keithmo@exmsft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/cpqphp_core.c