diff options
author | Matt Domsch <Matt_Domsch@dell.com> | 2005-11-18 01:10:54 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-18 07:49:45 -0800 |
commit | 44f080c46e84090daf81b4d142359f8e38d7c5ee (patch) | |
tree | 7f2cd28f932bba32c0c28a7c20983c9167f4667e /include | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions