patch-2.3.99-pre9 linux/drivers/char/rio/rioctrl.c

Next file: linux/drivers/char/rio/rioinit.c
Previous file: linux/drivers/char/rio/riocmd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre8/linux/drivers/char/rio/rioctrl.c linux/drivers/char/rio/rioctrl.c
@@ -201,6 +201,8 @@
 	int		retval = 0;
 	unsigned long flags;
 	
+	func_enter ();
+	
 	/* Confuse teh compiler to think that we've initialized these */
 	Host=0;
 	PortP = NULL;
@@ -1776,6 +1778,8 @@
 	}
 	rio_dprint(RIO_DEBUG_CTRL, ("INVALID DAEMON IOCTL 0x%x\n",cmd));
 	p->RIOError.Error = IOCTL_COMMAND_UNKNOWN;
+
+	func_exit ();
 	return EINVAL;
 }
 

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