Re: [PATCH] compile error in ieee80211_ioctl.c
On Wed, Apr 26, 2006 at 06:37:34PM +0200, Jiri Benc wrote: > On Wed, 26 Apr 2006 09:29:46 -0700 (PDT), Alex Davis wrote: > > Here is an updated patch which addresses Randy's issues. I'm currently > > running > > this with no problems: > > [...] > > +module_param(ieee80211_regdom, int, 0666); > > MODULE_PARM_DESC(ieee80211_regdom, "IEEE 802.11 regulatory domain; > > 64=MKK"); > > NAK. Those parameters should not be writable yet. > > Please see > http://marc.theaimsgroup.com/?l=linux-netdev&m=114565040832451&w=2 for > the correct patch (hopefully John will pull it soon). This has now been addressed. Thanks! John -- John W. Linville [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] compile error in ieee80211_ioctl.c
On Wed, 26 Apr 2006 09:29:46 -0700 (PDT), Alex Davis wrote: > Here is an updated patch which addresses Randy's issues. I'm currently running > this with no problems: > [...] > +module_param(ieee80211_regdom, int, 0666); > MODULE_PARM_DESC(ieee80211_regdom, "IEEE 802.11 regulatory domain; 64=MKK"); NAK. Those parameters should not be writable yet. Please see http://marc.theaimsgroup.com/?l=linux-netdev&m=114565040832451&w=2 for the correct patch (hopefully John will pull it soon). Jiri -- Jiri Benc SUSE Labs - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] compile error in ieee80211_ioctl.c
--- "John W. Linville" <[EMAIL PROTECTED]> wrote: > On Tue, Apr 25, 2006 at 02:04:50PM -0700, Alex Davis wrote: > > Hello: > > > > I sent this patch earlier and got no response, so I'm sending it again. > > > > > > I cloned > > git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-dev.git > > last night and got compile errors while compiling > > net/d80211/ieee80211_ioctl.c > > into a module: > > You need to address Randy's concerns as well. > > Thanks, > > John Here is an updated patch which addresses Randy's issues. I'm currently running this with no problems: Signed-off-by: Alex Davis <[EMAIL PROTECTED]> diff --git a/net/d80211/ieee80211_ioctl.c b/net/d80211/ieee80211_ioctl.c index 42a7abe..1b14e6c 100644 --- a/net/d80211/ieee80211_ioctl.c +++ b/net/d80211/ieee80211_ioctl.c @@ -30,7 +30,7 @@ #include "aes_ccm.h" static int ieee80211_regdom = 0x10; /* FCC */ -MODULE_PARM(ieee80211_regdom, "i"); +module_param(ieee80211_regdom, int, 0666); MODULE_PARM_DESC(ieee80211_regdom, "IEEE 802.11 regulatory domain; 64=MKK"); /* @@ -40,7 +40,7 @@ MODULE_PARM_DESC(ieee80211_regdom, "IEEE * module. */ static int ieee80211_japan_5ghz /* = 0 */; -MODULE_PARM(ieee80211_japan_5ghz, "i"); +module_param(ieee80211_japan_5ghz, int, 0666); MODULE_PARM_DESC(ieee80211_japan_5ghz, "Vendor-updated firmware for 5 GHz"); > John W. Linville > [EMAIL PROTECTED] > I code, therefore I am __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] compile error in ieee80211_ioctl.c
On Sun, 23 Apr 2006 17:26:39 -0700 (PDT) Alex Davis wrote: > Hello: > > I cloned > git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-dev.git > last night and got compile errors while compiling net/d80211/ieee80211_ioctl.c > into a module. This patch fixes it. > > Signed-off-by: Alex Davis <[EMAIL PROTECTED]> > > diff --git a/net/d80211/ieee80211_ioctl.c b/net/d80211/ieee80211_ioctl.c > index 42a7abe..4949e52 100644 > --- a/net/d80211/ieee80211_ioctl.c > +++ b/net/d80211/ieee80211_ioctl.c > @@ -30,7 +30,7 @@ #include "aes_ccm.h" > > > static int ieee80211_regdom = 0x10; /* FCC */ > -MODULE_PARM(ieee80211_regdom, "i"); > +module_param(ieee80211_regdom, int, 0x10); > MODULE_PARM_DESC(ieee80211_regdom, "IEEE 802.11 regulatory domain; 64=MKK"); The last parameter of module_param() is a permission value, not an init value. The int is already initialized above. Typical permission values are 0, 0444, 0644, ... (octal, or use the available #defines). > /* > @@ -40,7 +40,7 @@ MODULE_PARM_DESC(ieee80211_regdom, "IEEE > * module. > */ > static int ieee80211_japan_5ghz /* = 0 */; > -MODULE_PARM(ieee80211_japan_5ghz, "i"); > +module_param(ieee80211_japan_5ghz, int, 0); > MODULE_PARM_DESC(ieee80211_japan_5ghz, "Vendor-updated firmware for 5 GHz"); --- ~Randy - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html