linux/drivers/net/wireless/hostap
Larry Finger 8216bfe251 hostap: Fix sparse warnings
A compilation with the command "make C=2 CF="-D__CHECK_ENDIAN__" \
                                drivers/net/wireless/hostap/"

 yields the following warnings:

  CHECK   drivers/net/wireless/hostap/hostap_info.c
drivers/net/wireless/hostap/hostap_info.c:156:43: warning: incorrect type in
argument 2 (different signedness)
drivers/net/wireless/hostap/hostap_info.c:156:43:    expected unsigned long
volatile *addr
drivers/net/wireless/hostap/hostap_info.c:156:43:    got long *<noident>
drivers/net/wireless/hostap/hostap_info.c:294:44: warning: incorrect type in
argument 2 (different signedness)
drivers/net/wireless/hostap/hostap_info.c:294:44:    expected unsigned long
volatile *addr
drivers/net/wireless/hostap/hostap_info.c:294:44:    got long *<noident>
drivers/net/wireless/hostap/hostap_info.c:487:12: warning: incorrect type in
argument 2 (different signedness)
drivers/net/wireless/hostap/hostap_info.c:487:12:    expected unsigned long
volatile *addr
drivers/net/wireless/hostap/hostap_info.c:487:12:    got long *<noident>
drivers/net/wireless/hostap/hostap_info.c:491:12: warning: incorrect type in
argument 2 (different signedness)
drivers/net/wireless/hostap/hostap_info.c:491:12:    expected unsigned long
volatile *addr
drivers/net/wireless/hostap/hostap_info.c:491:12:    got long *<noident>

The warnings are fixed with the following compile-tested fix:

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Acked-by: Jouni Malinen <j@w1.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-10-31 19:00:38 -04:00
..
Kconfig
Makefile
hostap.h wext: Emit event stream entries correctly when compat. 2008-06-16 18:50:49 -07:00
hostap_80211.h hostap_80211.h: remove duplicate prototype 2008-01-31 19:26:50 -08:00
hostap_80211_rx.c net: convert print_mac to %pM 2008-10-27 17:06:18 -07:00
hostap_80211_tx.c net: convert print_mac to %pM 2008-10-27 17:06:18 -07:00
hostap_ap.c net: convert print_mac to %pM 2008-10-27 17:06:18 -07:00
hostap_ap.h
hostap_common.h
hostap_config.h
hostap_cs.c pcmcia: remove unused argument to pcmcia_parse_tuple() 2008-08-31 15:50:33 +02:00
hostap_download.c
hostap_hw.c net: convert print_mac to %pM 2008-10-27 17:06:18 -07:00
hostap_info.c net: convert print_mac to %pM 2008-10-27 17:06:18 -07:00
hostap_ioctl.c net: convert print_mac to %pM 2008-10-27 17:06:18 -07:00
hostap_main.c net: convert print_mac to %pM 2008-10-27 17:06:18 -07:00
hostap_pci.c pci: use pci_ioremap_bar() in drivers/net 2008-10-31 00:53:48 -04:00
hostap_plx.c
hostap_proc.c net: convert print_mac to %pM 2008-10-27 17:06:18 -07:00
hostap_wlan.h hostap: Fix sparse warnings 2008-10-31 19:00:38 -04:00