From: "Randy.Dunlap" <rddunlap@osdl.org>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: shinemohamed_j@naturesoft.net, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Initializedd the module parameters in drivers/net/wireless/arlan-main.c
Date: Wed, 1 Oct 2003 20:52:28 -0700 [thread overview]
Message-ID: <20031001205228.3bee8c69.rddunlap@osdl.org> (raw)
In-Reply-To: <20031002011622.192752C2BC@lists.samba.org>
On Wed, 01 Oct 2003 19:01:04 +1000 Rusty Russell <rusty@rustcorp.com.au> wrote:
| In message <200309291644.06043.shinemohamed_j@naturesoft.net> you write:
| > Quick patch to Initialize the module parameters in
| > drivers/net/wireless/arlan-main.c
| > @@ -33,6 +33,7 @@
| > static int retries = 5;
| > static int tx_queue_len = 1;
| > static int arlan_EEPROM_bad;
| > +static int probe = 0; /* Initially it is setting to be 'Probing Disabled' */
| >
| > #ifdef ARLAN_DEBUGGING
|
| This is clearly wrong: it's declared below.
Hello. Anybody there?
This is what you get with 2.6.0-test6 plain vanilla:
[rddunlap@midway linux-260-test6-work]$ make modules
SPLIT include/linux/autoconf.h -> include/config/*
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CC [M] drivers/net/wireless/arlan-main.o
drivers/net/wireless/arlan-main.c: In function `init_module':
drivers/net/wireless/arlan-main.c:1923: `probe' undeclared (first use in this function)
drivers/net/wireless/arlan-main.c:1923: (Each undeclared identifier is reported only once
drivers/net/wireless/arlan-main.c:1923: for each function it appears in.)
make[3]: *** [drivers/net/wireless/arlan-main.o] Error 1
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
so is MODULE_PARM(probe, "i");
supposed to be declaring <probe>? It's not.
If it is supposed to be, then why are most/many/all other MODULE_PARM's
in that file also declared separately (i.e., again)?
The only wrong part I see is that it doesn't need to be init to 0.
--
~Randy
next prev parent reply other threads:[~2003-10-02 3:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-29 11:14 Shine Mohamed
2003-09-29 17:27 ` Randy.Dunlap
2003-10-01 9:01 ` Rusty Russell
2003-10-02 3:52 ` Randy.Dunlap [this message]
2003-10-02 5:18 ` Rusty Russell
2003-10-03 4:36 ` Shine Mohamed
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=20031001205228.3bee8c69.rddunlap@osdl.org \
--to=rddunlap@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
--cc=shinemohamed_j@naturesoft.net \
/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
Powered by JetHome