patch-2.4.2 linux/Documentation/mca.txt

Next file: linux/Documentation/modules.txt
Previous file: linux/Documentation/magic-number.txt
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.1/linux/Documentation/mca.txt linux/Documentation/mca.txt
@@ -25,7 +25,7 @@
 	if( MCA_bus ) {
 		slot = mca_find_adapter( ADAPTER_ID, 0 );
 		if( slot == MCA_NOTFOUND ) {
-			return ENODEV;
+			return -ENODEV;
 		}
 		/* optional - see below */
 		mca_set_adapter_name( slot, "adapter name & description" );
@@ -37,7 +37,7 @@
 		pos4 = mca_read_stored_pos( slot, 4 );
 		pos5 = mca_read_stored_pos( slot, 5 );
 	} else {
-		return ENODEV;
+		return -ENODEV;
 	}
 
 	/* extract configuration from pos[2345] and set everything up */

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