patch-1.3.38 linux/drivers/sound/opl3.c

Next file: linux/drivers/sound/os.h
Previous file: linux/drivers/sound/mpu401.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.37/linux/drivers/sound/opl3.c linux/drivers/sound/opl3.c
@@ -229,7 +229,7 @@
     tenmicrosec ();
 
   stat2 = inb (ioaddr);		/*
-				 * Read status after timers have expired
+				   * Read status after timers have expired
 				 */
 
   /*
@@ -887,7 +887,7 @@
       return -EINVAL;
     }
 
-  memcpy_fromfs (&((char *) &ins)[offs], &(((char *) addr)[offs]), sizeof (ins) - offs);
+  memcpy_fromfs (&((char *) &ins)[offs], &((addr)[offs]), sizeof (ins) - offs);
 
   if (ins.channel < 0 || ins.channel >= SBFM_MAXINSTR)
     {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this