OpenCloudOS-Kernel/drivers/sbus/char
David S. Miller 14d87e6c39 sparc: Fix cleanup crash in bbc_envctrl_cleanup()
If kthread_run() fails or never gets to run we'll have NULL
or a pointer encoded error in kenvctrld_task, rather than
a legitimate task pointer.

So this makes bbc_envctrl_cleanup() crash as it passed this
bogus pointer into kthread_stop().

Reported-by: BERTRAND Joël <joel.bertrand@systella.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-07-17 10:28:19 -07: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 sparc: Fix cleanup crash in bbc_envctrl_cleanup() 2009-07-17 10:28:19 -07: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 sparc: Annotate of_device_id arrays with const or __initdata. 2008-08-31 01:23:17 -07:00
flash.c sparc: Annotate of_device_id arrays with const or __initdata. 2008-08-31 01:23:17 -07:00
jsflash.c block: implement and enforce request peek/start/fetch 2009-05-11 09:52:18 +02: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