Re: [Openipmi-developer] [PATCH 2.6.15-rc] ipmi: missing NULL testfor kthread

From: Corey Minyard
Date: Wed Nov 16 2005 - 14:30:24 EST


Matt Domsch wrote:

>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@xxxxxxxx>
>
>
>
Yes, obvious fix, please apply. I wish I had a system with a BT
interface :(. Of course, then I'd have to find a place to put it, and
I'd have an unhappy wife...

-Corey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/