patch-2.4.19 linux-2.4.19/drivers/acorn/net/etherh.c

Next file: linux-2.4.19/drivers/acorn/scsi/acornscsi.c
Previous file: linux-2.4.19/drivers/acorn/char/mouse_ps2.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/drivers/acorn/net/etherh.c linux-2.4.19/drivers/acorn/net/etherh.c
@@ -475,7 +475,7 @@
 		if (i == 6)
 			return 0;
 	}
-	return ENODEV;
+	return -ENODEV;
 }
 
 /*
@@ -486,7 +486,7 @@
 	unsigned int serial;
 
 	if (system_serial_low == 0 && system_serial_high == 0)
-		return ENODEV;
+		return -ENODEV;
 
 	serial = system_serial_low | system_serial_high;
 

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