linux/drivers/base
Michael Richardson 9c08a938ce [PATCH] device_shutdown can loop if the driver frees itself
This patch changes device_shutdown() to use the newly introduced safe
reverse list traversal.  We experienced loops on system reboot if we had
removed and re-inserted our device from the device list.

We noticed this problem on PPC405. Our PCI IDE device comes and goes a lot.

Our hypothesis was that there was a loop caused by the driver->shutdown
freeing memory.  It is possible that we do something wrong as well, but
being unable to reboot is kind of nasty.

Signed-off-by: Michael Richardson <mcr@marajade.sandelman.ca>
Cc: Patrick Mochel <mochel@digitalimplant.org>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-01-13 11:26:12 -08:00
..
power [PATCH] device_shutdown can loop if the driver frees itself 2006-01-13 11:26:12 -08:00
Kconfig [PATCH] driver core: replace "hotplug" by "uevent" 2006-01-04 16:18:08 -08:00
Makefile
attribute_container.c
base.h
bus.c [PATCH] Driver core: only all userspace bind/unbind if CONFIG_HOTPLUG is enabled 2006-01-04 16:18:09 -08:00
class.c [PATCH] driver core: replace "hotplug" by "uevent" 2006-01-04 16:18:08 -08:00
core.c [PATCH] DocBook: fix kernel-doc comments 2006-01-10 08:01:53 -08:00
cpu.c [PATCH] kdump: export per cpu crash notes pointer through sysfs (fix) 2006-01-10 08:01:26 -08:00
dd.c [PATCH] Add bus_type probe, remove, shutdown methods. 2006-01-13 11:26:04 -08:00
dmapool.c
driver.c [PATCH] Add bus_type probe, remove, shutdown methods. 2006-01-13 11:26:04 -08:00
firmware.c
firmware_class.c [PATCH] move capable() to capability.h 2006-01-11 18:42:13 -08:00
init.c
map.c
memory.c [PATCH] move capable() to capability.h 2006-01-11 18:42:13 -08:00
node.c
platform.c [PATCH] platform-device-del typo fix 2006-01-13 11:26:11 -08:00
sys.c
transport_class.c