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

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

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