patch-2.4.0-test5 linux/drivers/char/istallion.c
Next file: linux/drivers/char/lp.c
Previous file: linux/drivers/char/ip2main.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Tue Jul 18 15:57:58 2000
- Orig file:
v2.4.0-test4/linux/drivers/char/istallion.c
- Orig date:
Mon Jul 10 16:47:22 2000
diff -u --recursive --new-file v2.4.0-test4/linux/drivers/char/istallion.c linux/drivers/char/istallion.c
@@ -868,9 +868,9 @@
printk("STALLION: failed to un-register serial memory device, "
"errno=%d\n", -i);
if (stli_tmpwritebuf != (char *) NULL)
- kfree_s(stli_tmpwritebuf, STLI_TXBUFSIZE);
+ kfree(stli_tmpwritebuf);
if (stli_txcookbuf != (char *) NULL)
- kfree_s(stli_txcookbuf, STLI_TXBUFSIZE);
+ kfree(stli_txcookbuf);
for (i = 0; (i < stli_nrbrds); i++) {
if ((brdp = stli_brds[i]) == (stlibrd_t *) NULL)
@@ -880,14 +880,14 @@
if (portp != (stliport_t *) NULL) {
if (portp->tty != (struct tty_struct *) NULL)
tty_hangup(portp->tty);
- kfree_s(portp, sizeof(stliport_t));
+ kfree(portp);
}
}
iounmap(brdp->membase);
if (brdp->iosize > 0)
release_region(brdp->iobase, brdp->iosize);
- kfree_s(brdp, sizeof(stlibrd_t));
+ kfree(brdp);
stli_brds[i] = (stlibrd_t *) NULL;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)