Search Linux Wireless

Re: [PATCH] rtl8187: Fix sparse warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Em Seg 09 Nov 2009, às 20:56:06, Larry Finger escreveu:
> Due to a missing header include, sparse generates the following warnings:
> 
>   CHECK   drivers/net/wireless/rtl818x/rtl8187_rfkill.c
> warning: symbol 'rtl8187_rfkill_init' was not declared. Should it be static?
> warning: symbol 'rtl8187_rfkill_poll' was not declared. Should it be static?
> warning: symbol 'rtl8187_rfkill_exit' was not declared. Should it be static?
> 
> Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx>

Acked-by: Herton Ronaldo Krzesinski <herton@xxxxxxxxxxxxxxx>

> ---
> 
> John,
> 
> This is 2.6.33 material.
> 
> Larry
> ---
> 
> Index: wireless-testing/drivers/net/wireless/rtl818x/rtl8187_rfkill.c
> ===================================================================
> --- wireless-testing.orig/drivers/net/wireless/rtl818x/rtl8187_rfkill.c
> +++ wireless-testing/drivers/net/wireless/rtl818x/rtl8187_rfkill.c
> @@ -18,6 +18,7 @@
>  #include <net/mac80211.h>
>  
>  #include "rtl8187.h"
> +#include "rtl8187_rfkill.h"
>  
>  static bool rtl8187_is_radio_enabled(struct rtl8187_priv *priv)
>  {
> 

-- 
[]'s
Herton
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux