summaryrefslogtreecommitdiffstats
path: root/drivers/char/rio/rioctrl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/rio/rioctrl.c')
-rw-r--r--drivers/char/rio/rioctrl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/char/rio/rioctrl.c b/drivers/char/rio/rioctrl.c
index 27b46398a..fa68646d5 100644
--- a/drivers/char/rio/rioctrl.c
+++ b/drivers/char/rio/rioctrl.c
@@ -201,6 +201,8 @@ int su;
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_DEBUG_CTRL, if (su)
}
rio_dprint(RIO_DEBUG_CTRL, ("INVALID DAEMON IOCTL 0x%x\n",cmd));
p->RIOError.Error = IOCTL_COMMAND_UNKNOWN;
+
+ func_exit ();
return EINVAL;
}