patch-2.4.0-test5 linux/drivers/char/epca.c

Next file: linux/drivers/char/ftape/lowlevel/ftape-tracing.h
Previous file: linux/drivers/char/efirtc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/drivers/char/epca.c linux/drivers/char/epca.c
@@ -1599,7 +1599,7 @@
 			{
 				if (ch->tty)
 					tty_hangup(ch->tty);
-				kfree_s(ch->tmp_buf, ch->txbufsize);
+				kfree(ch->tmp_buf);
 			}
 
 		} /* End for each port */

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