[PATCH] staging: rtl8192u: fix sparse warnings for static declaration
Greg KH
gregkh at linuxfoundation.org
Fri Mar 20 12:12:41 UTC 2015
On Wed, Mar 18, 2015 at 10:25:29AM +0000, vibi sreenivasan wrote:
> This patch fixes following sparse warning
> drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:1924:6: warning: symbol 'ieee80211_check_auth_response' was not declared. Should it be static?
>
> Signed-off-by: Vibi Sreenivasan <vibisreenivasan at linuxmail.org>
> ---
> .../staging/rtl8192u/ieee80211/ieee80211_softmac.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
> index 9d57c65..9342765 100644
> --- a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
> +++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
> @@ -1921,7 +1921,7 @@ static void ieee80211_process_action(struct ieee80211_device *ieee,
>
> }
>
> -void ieee80211_check_auth_response(struct ieee80211_device *ieee,
> +static void ieee80211_check_auth_response(struct ieee80211_device *ieee,
> struct sk_buff *skb)
> {
> /* default support N mode, disable halfNmode */
This patch does not apply to my tree :(
More information about the devel
mailing list