patch-2.4.0-test5 linux/drivers/net/hamradio/dmascc.c
Next file: linux/drivers/net/hamradio/soundmodem/sm_sbc.c
Previous file: linux/drivers/net/gmac.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Jul 18 16:52:35 2000
- Orig file:
v2.4.0-test4/linux/drivers/net/hamradio/dmascc.c
- Orig date:
Mon Jul 10 16:47:23 2000
diff -u --recursive --new-file v2.4.0-test4/linux/drivers/net/hamradio/dmascc.c linux/drivers/net/hamradio/dmascc.c
@@ -337,7 +337,7 @@
/* Free memory */
first = info->next;
- kfree_s(info, sizeof(struct scc_info));
+ kfree(info);
}
}
@@ -545,7 +545,7 @@
if (irq <= 0) {
printk("dmascc: could not find irq of %s at %#3x (irq=%d)\n",
hw[type].name, card_base, irq);
- kfree_s(info, sizeof(struct scc_info));
+ kfree(info);
return -1;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)