netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2.6.10 4/5] eepro: fix return value in init_module()
@ 2005-01-07 11:52 Aristeu Sergio Rozanski Filho
  0 siblings, 0 replies; only message in thread
From: Aristeu Sergio Rozanski Filho @ 2005-01-07 11:52 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: netdev

eepro: fix return value in init_module()

Signed-off-by: Aristeu Sergio Rozanski Filho <aris@cathedrallabs.org>

--- 2.6/drivers/net/eepro.c.orig	2004-10-05 22:26:48.000000000 -0300
+++ 2.6/drivers/net/eepro.c	2004-10-05 22:27:00.000000000 -0300
@@ -1811,7 +1811,7 @@ init_module(void)
 	if (io[0] == 0 && autodetect == 0) {
 		printk(KERN_WARNING "eepro_init_module: Probe is very dangerous in ISA boards!\n");
 		printk(KERN_WARNING "eepro_init_module: Please add \"autodetect=1\" to force probe\n");
-		return 1;
+		return -ENODEV;
 	}
 	else if (autodetect) {
 		/* if autodetect is set then we must force detection */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-07 11:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-07 11:52 [PATCH 2.6.10 4/5] eepro: fix return value in init_module() Aristeu Sergio Rozanski Filho

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).