diff options
author | Ursula Braun <braunu@de.ibm.com> | 2007-08-29 11:26:56 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-08-31 06:52:58 -0400 |
commit | 6d4f3d182b1c6074b84feaadd84a0957059a5940 (patch) | |
tree | 0a9506423e06a70fc420b16420f6c038649f8f93 /drivers/leds/leds-locomo.c | |
parent | 5a4b61a95a9b742d8a966950d23f386c34a733f2 (diff) |
qeth: crash during reboot after failing online setting
Online setting of a qeth device may fail for instance because of:
- out-of-memory condition when allocating qdio queues
- IDX ACTIVATE problem
- ...
Such a device is still returned in a driver_for_each_device loop
processed in qeth_reboot_event(), which calls
qeth_clear_qdio_buffers(). Make sure qeth_clear_output_buffer() is
called only, if the qdio queues have been successfully allocated
during initialization of a qeth device.
Signed-off-by: Ursula Braun <braunu@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/leds/leds-locomo.c')
0 files changed, 0 insertions, 0 deletions