patch-2.4.0-test5 linux/drivers/net/depca.c

Next file: linux/drivers/net/eepro.c
Previous file: linux/drivers/net/defxx.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/drivers/net/depca.c linux/drivers/net/depca.c
@@ -717,7 +717,7 @@
       ether_setup(dev);
     } else {                           /* Incorrectly initialised hardware */
       if (dev->priv) {
-	kfree_s(dev->priv, sizeof(struct depca_private));
+	kfree(dev->priv);
 	dev->priv = NULL;
       }
     }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)