From: aris <aris@conectiva.com.br>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] remove warnings from drivers/net/eepro.c (240-test12-pre7) (fwd)
Date: Tue, 19 Dec 2000 17:23:32 -0200 (BRDT) [thread overview]
Message-ID: <Pine.LNX.4.21.0012191721270.21257-100000@teste10.distro.conectiva> (raw)
hi,
as my patches for eepro are getting late, here is a patch from
Rasmus that i would apply with mine, please apply
--
Aris
---------------------------------------------------------------------------
Aristeu Sergio Rozanski Filho aris@conectiva.com.br
---------------------------------------------------------------------------
------------------------------------------------------------------------------
--- linux-240-t12-pre7-clean/drivers/net/eepro.c Fri Dec 8 00:44:58 2000
+++ linux/drivers/net/eepro.c Fri Dec 8 21:02:50 2000
@@ -1727,6 +1727,8 @@
eepro_complete_selreset(ioaddr);
}
+#ifdef MODULE
+
#define MAX_EEPRO 8
static struct net_device dev_eepro[MAX_EEPRO];
@@ -1737,7 +1739,7 @@
};
static int autodetect;
-static int n_eepro = 0;
+static int n_eepro;
/* For linux 2.1.xx */
MODULE_AUTHOR("Pascal Dupuis <dupuis@lei.ucl.ac.be> for the 2.1 stuff (locking,...)");
@@ -1746,8 +1748,6 @@
MODULE_PARM(irq, "1-" __MODULE_STRING(MAX_EEPRO) "i");
MODULE_PARM(mem, "1-" __MODULE_STRING(MAX_EEPRO) "i");
MODULE_PARM(autodetect, "1-" __MODULE_STRING(1) "i");
-
-#ifdef MODULE
int
init_module(void)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
reply other threads:[~2000-12-19 19:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.21.0012191721270.21257-100000@teste10.distro.conectiva \
--to=aris@conectiva.com.br \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).