Re: Oops on rmmod asus_acpi

From: Jan Engelhardt
Date: Wed Jun 27 2007 - 16:17:20 EST



On Jun 27 2007 16:15, Chuck Ebbert wrote:
>The device's klist_node is not on any list (n->n_klist == NULL)
>in klist_del:
>
>void klist_del(struct klist_node * n)
>{
> struct klist * k = n->n_klist;
>===> void (*put)(struct klist_node *) = k->put;
>
>So the driver gets totally screwed up if it loads, finds no compatible
>hardware and then you try to unload it.

Then it should probably not load at all (return with -ENODEV).


Jan
--
-
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/