lkml.org 
[lkml]   [2007]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 22:19    [W:0.066 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site