* [PATCH 11/16] ath5k: make ath5k_modparam_no_hw_rfkill_switch real [not found] <1327960820-11867-1-git-send-email-danny.kukawka@bisect.de> @ 2012-01-30 22:00 ` Danny Kukawka 2012-01-30 22:11 ` Jiri Slaby 0 siblings, 1 reply; 3+ messages in thread From: Danny Kukawka @ 2012-01-30 22:00 UTC (permalink / raw) To: ath5k-devel Cc: Jiri Slaby, Nick Kossifidis, Luis R. Rodriguez, Bob Copeland, John W. Linville, linux-wireless, netdev, linux-kernel Make ath5k_modparam_no_hw_rfkill_switch real bool to fix: 'warning: return from incompatible pointer type' compiler warning. Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de> --- drivers/net/wireless/ath/ath5k/base.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index d366dad..ad2f115 100644 --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c @@ -80,7 +80,7 @@ static bool modparam_fastchanswitch; module_param_named(fastchanswitch, modparam_fastchanswitch, bool, S_IRUGO); MODULE_PARM_DESC(fastchanswitch, "Enable fast channel switching for AR2413/AR5413 radios."); -static int ath5k_modparam_no_hw_rfkill_switch; +static bool ath5k_modparam_no_hw_rfkill_switch; module_param_named(no_hw_rfkill_switch, ath5k_modparam_no_hw_rfkill_switch, bool, S_IRUGO); MODULE_PARM_DESC(no_hw_rfkill_switch, "Ignore the GPIO RFKill switch state"); -- 1.7.7.3 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 11/16] ath5k: make ath5k_modparam_no_hw_rfkill_switch real 2012-01-30 22:00 ` [PATCH 11/16] ath5k: make ath5k_modparam_no_hw_rfkill_switch real Danny Kukawka @ 2012-01-30 22:11 ` Jiri Slaby 2012-01-30 23:09 ` Danny Kukawka 0 siblings, 1 reply; 3+ messages in thread From: Jiri Slaby @ 2012-01-30 22:11 UTC (permalink / raw) To: Danny Kukawka Cc: ath5k-devel, Nick Kossifidis, Luis R. Rodriguez, Bob Copeland, John W. Linville, linux-wireless, netdev, linux-kernel On 01/30/2012 11:00 PM, Danny Kukawka wrote: > Make ath5k_modparam_no_hw_rfkill_switch real bool to fix: > 'warning: return from incompatible pointer type' compiler warning. Hi, I'm afraid you are too late: http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=commitdiff;h=11deb53328a06ad4edbf774f5c3b61c6dbb9104c > Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de> > --- > drivers/net/wireless/ath/ath5k/base.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c > index d366dad..ad2f115 100644 > --- a/drivers/net/wireless/ath/ath5k/base.c > +++ b/drivers/net/wireless/ath/ath5k/base.c > @@ -80,7 +80,7 @@ static bool modparam_fastchanswitch; > module_param_named(fastchanswitch, modparam_fastchanswitch, bool, S_IRUGO); > MODULE_PARM_DESC(fastchanswitch, "Enable fast channel switching for AR2413/AR5413 radios."); > > -static int ath5k_modparam_no_hw_rfkill_switch; > +static bool ath5k_modparam_no_hw_rfkill_switch; > module_param_named(no_hw_rfkill_switch, ath5k_modparam_no_hw_rfkill_switch, > bool, S_IRUGO); > MODULE_PARM_DESC(no_hw_rfkill_switch, "Ignore the GPIO RFKill switch state"); thanks, -- js ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 11/16] ath5k: make ath5k_modparam_no_hw_rfkill_switch real 2012-01-30 22:11 ` Jiri Slaby @ 2012-01-30 23:09 ` Danny Kukawka 0 siblings, 0 replies; 3+ messages in thread From: Danny Kukawka @ 2012-01-30 23:09 UTC (permalink / raw) To: Jiri Slaby Cc: ath5k-devel, Nick Kossifidis, Luis R. Rodriguez, Bob Copeland, John W. Linville, linux-wireless, netdev, linux-kernel On Montag, 30. Januar 2012, Jiri Slaby wrote: > On 01/30/2012 11:00 PM, Danny Kukawka wrote: > > Make ath5k_modparam_no_hw_rfkill_switch real bool to fix: > > 'warning: return from incompatible pointer type' compiler warning. > > Hi, I'm afraid you are too late: > http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=commitdiff; >h=11deb53328a06ad4edbf774f5c3b61c6dbb9104c Hi, no problem. I didn't check against linux-next. Danny ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-01-30 23:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1327960820-11867-1-git-send-email-danny.kukawka@bisect.de>
2012-01-30 22:00 ` [PATCH 11/16] ath5k: make ath5k_modparam_no_hw_rfkill_switch real Danny Kukawka
2012-01-30 22:11 ` Jiri Slaby
2012-01-30 23:09 ` Danny Kukawka
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).