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

Next file: linux/drivers/char/misc.c
Previous file: linux/drivers/char/istallion.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/drivers/char/lp.c linux/drivers/char/lp.c
@@ -409,7 +409,7 @@
 	unsigned int minor = MINOR(inode->i_rdev);
 
 	lock_kernel();
-	kfree_s(lp_table[minor].lp_buffer, LP_BUFFER_SIZE);
+	kfree(lp_table[minor].lp_buffer);
 	lp_table[minor].lp_buffer = NULL;
 	LP_F(minor) &= ~LP_BUSY;
 	unlock_kernel();

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