From: Matt Domsch Date: Fri, 18 Nov 2005 09:10:54 +0000 (-0800) Subject: [PATCH] ipmi: missing NULL test for kthread X-Git-Tag: v2.6.15-rc2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44f080c46e84090daf81b4d142359f8e38d7c5ee;p=pandora-kernel.git [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 Acked-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed