patch-2.1.77 linux/drivers/sound/v_midi.c

Next file: linux/fs/exec.c
Previous file: linux/drivers/sound/uart6850.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.76/linux/drivers/sound/v_midi.c linux/drivers/sound/v_midi.c
@@ -1,5 +1,5 @@
 /*
- * sound/sb_dsp.c
+ * sound/v_midi.c
  *
  * The low level driver for the Sound Blaster DS chips.
  */
@@ -9,6 +9,7 @@
  * USS/Lite for Linux is distributed under the GNU GENERAL PUBLIC LICENSE (GPL)
  * Version 2 (June 1991). See the "COPYING" file distributed with this software
  * for more info.
+ * ??
  */
 #include <linux/config.h>
 #include <linux/module.h>
@@ -146,10 +147,10 @@
   return 0;
 }
 
-static int
-v_midi_ioctl (int dev, unsigned cmd, caddr_t arg)
+/* why -EPERM and not -EINVAL?? */
+static int v_midi_ioctl (int dev, unsigned cmd, caddr_t arg)
 {
-  return -(EPERM);
+	return -EPERM;
 }
 
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov