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

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

diff -u --recursive --new-file v2.4.0-test4/linux/drivers/net/sk_mca.c linux/drivers/net/sk_mca.c
@@ -1290,7 +1290,7 @@
 			mca_mark_as_unused(priv->slot);
 #endif
 			mca_set_adapter_procfn(priv->slot, NULL, NULL);
-			kfree_s(dev->priv, sizeof(skmca_priv));
+			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)