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

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

diff -u --recursive --new-file v2.4.0-test4/linux/drivers/net/skeleton.c linux/drivers/net/skeleton.c
@@ -703,7 +703,7 @@
 	release_region(this_device.base_addr, NETCARD_IO_EXTENT);
 
 	if (this_device.priv)
-		kfree_s(this_device.priv, sizeof(struct net_local));
+		kfree(this_device.priv);
 }
 
 #endif /* MODULE */

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