OpenCloudOS-Kernel/drivers/sbus
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
..
char sparc: Fix cleanup crash in bbc_envctrl_cleanup() 2009-07-17 10:28:19 -07:00
Makefile sparc: Remove generic SBUS probing layer. 2008-08-29 02:15:21 -07:00