lkml.org 
[lkml]   [2007]   [Jun]   [27]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 27 Jun 2007 22:17:09 +0200 (CEST)
FromJan Engelhardt <>
SubjectRe: Oops on rmmod asus_acpi
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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-06-27 20:19    [from the cache]
©2003-2008