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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]