patch-2.4.0-test6 linux/drivers/char/scan_keyb.c

Next file: linux/drivers/char/sh-sci.c
Previous file: linux/drivers/char/radio-typhoon.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test5/linux/drivers/char/scan_keyb.c linux/drivers/char/scan_keyb.c
@@ -91,9 +91,9 @@
 
 	kbd->s0=kbd->s1=NULL;
 	if((kbd->s0=kmalloc(length, GFP_KERNEL))==NULL)
-		goto error_out;
+		goto error_mem_free;
 	if((kbd->s1=kmalloc(length, GFP_KERNEL))==NULL)
-		goto error_out;
+		goto error_mem_free;
 
 	kbd->scan(kbd->s0);
 	kbd->scan(kbd->s1);

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