commit | 44f080c46e84090daf81b4d142359f8e38d7c5ee | [log] [tgz] |
---|---|---|
author | Matt Domsch <Matt_Domsch@dell.com> | Fri Nov 18 01:10:54 2005 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Nov 18 07:49:45 2005 -0800 |
tree | 7f2cd28f932bba32c0c28a7c20983c9167f4667e | |
parent | 58bb01a9cd72eebf60d00c57b948a76aa7b85727 [diff] |
[PATCH] ipmi: missing NULL test for kthread On IPMI systems with BT interfaces, we don't start the kernel thread, so smi_info->thread is NULL. Test for NULL when stopping the thread, because kthread_stop() doesn't, and an oops ensues otherwise. Signed-off-by: Matt Domsch <Matt_Domsch@dell.com> Acked-by: Corey Minyard <minyard@acm.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>