patch-1.3.22 linux/drivers/block/optcd.c
Next file: linux/drivers/block/sbpcd.c
Previous file: linux/drivers/block/mcdx.c
Back to the patch index
Back to the overall index
-  Lines: 17
 -  Date:
Tue Aug 29 11:39:40 1995
 -  Orig file: 
v1.3.21/linux/drivers/block/optcd.c
 -  Orig date: 
Mon Aug 28 14:52:19 1995
 
diff -u --recursive --new-file v1.3.21/linux/drivers/block/optcd.c linux/drivers/block/optcd.c
@@ -46,6 +46,7 @@
 				copied from sjcd.c, with a few changes.
 				Updated README.optcd. Submitted for
 				inclusion in 1.3.21
+	29-9-95		v0.4a	Fixed bug that prevented compilation as module
 */
 
 #include <linux/major.h>
@@ -1442,7 +1443,7 @@
 
     if ( isp16_config( optcd_port, ISP16_SONY, 0, 0 ) < 0 ) {
       printk( "ISP16 cdrom interface has not been properly configured.\n" );
-      return(mem_start);
+      RETURN_EIO;
     }
   }
 	}
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