OpenCloudOS-Kernel/drivers/sbus/char
David S. Miller c7c17c2779 bbc_envctrl: Clean up properly if kthread_run() fails.
In bbc_envctrl_init() we have to unlink the fan and temp instances
from the lists because our caller is going to free up the 'bp' object
if we return an error.

We can't rely upon bbc_envctrl_cleanup() to do this work for us in
this case.

Reported-by: Patrick Finnegan <pat@computer-refuge.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-01-04 15:31:10 -08:00
..
Kconfig sparc: Kill sbus mostek RTC driver. 2008-09-03 15:55:32 -07:00
Makefile sparc: Kill sbus mostek RTC driver. 2008-09-03 15:55:32 -07:00
bbc_envctrl.c bbc_envctrl: Clean up properly if kthread_run() fails. 2010-01-04 15:31:10 -08:00
bbc_i2c.c sparc64: wait_event_interruptible_timeout may return -ERESTARTSYS 2009-03-04 00:19:28 -08:00
bbc_i2c.h bbc_i2c: Convert to pure OF driver. 2008-08-29 22:34:14 -07:00
display7seg.c sparc64: Fix unsigned long long warnings in drivers. 2009-01-06 13:20:38 -08:00
envctrl.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
flash.c sparc: Annotate of_device_id arrays with const or __initdata. 2008-08-31 01:23:17 -07:00
jsflash.c const: make block_device_operations const 2009-09-22 07:17:25 -07:00
max1617.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
openprom.c openprom: Squelch useless GCC warning. 2009-06-16 04:56:57 -07:00
uctrl.c sbus: changed ioctls to unlocked 2009-04-14 19:46:19 -07:00