lkml.org 
[lkml]   [1999]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: 2.2.2-ac4 does not build...
Date
I think this fixes it

--- drivers/net/3c509.c~ Fri Feb 26 01:55:06 1999
+++ drivers/net/3c509.c Fri Feb 26 13:50:58 1999
@@ -917,12 +917,12 @@
cleanup_module(void)
{
struct device *next_dev;
- struct el3_private *lp = (struct el3_private *)dev->priv;

/* No need to check MOD_IN_USE, as sys_delete_module() checks. */
while (el3_root_dev) {
+ struct el3_private *lp = (struct el3_private *)el3_root_dev->priv;
mca_mark_as_unused(lp->mca_slot);
- next_dev = ((struct el3_private *)el3_root_dev->priv)->next_dev;
+ next_dev = lp->next_dev;
unregister_netdev(el3_root_dev);
release_region(el3_root_dev->base_addr, EL3_IO_EXTENT);
kfree(el3_root_dev);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.057 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site