OpenCloudOS-Kernel/drivers/net/wireless/wl12xx
Eliad Peller 6177eaea27 wl12xx: fix some sparse warnings
Note that wl1271_write32() calls cpu_to_le32() by itself, so calling
wl1271_write32(addr, cpu_to_le32(val)) is in fact a bug on BE systems.

Fix the following sparse warnings:

drivers/net/wireless/wl12xx/cmd.c:662:16: warning: incorrect type in assignment (different base types)
drivers/net/wireless/wl12xx/cmd.c:662:16:    expected unsigned short [unsigned] [addressable] [usertype] llc_type
drivers/net/wireless/wl12xx/cmd.c:662:16:    got restricted __be16 [usertype] <noident>
drivers/net/wireless/wl12xx/cmd.c:674:17: warning: incorrect type in assignment (different base types)
drivers/net/wireless/wl12xx/cmd.c:674:17:    expected unsigned int [unsigned] [addressable] [usertype] sender_ip
drivers/net/wireless/wl12xx/cmd.c:674:17:    got restricted __be32 [usertype] ip_addr
drivers/net/wireless/wl12xx/rx.c:202:4: warning: incorrect type in argument 3 (different base types)
drivers/net/wireless/wl12xx/rx.c:202:4:    expected unsigned int [unsigned] [usertype] val
drivers/net/wireless/wl12xx/rx.c:202:4:    got restricted __le32 [usertype] <noident>
drivers/net/wireless/wl12xx/acx.c:1247:23: warning: incorrect type in assignment (different base types)
drivers/net/wireless/wl12xx/acx.c:1247:23:    expected restricted __le32 [usertype] ht_capabilites
drivers/net/wireless/wl12xx/acx.c:1247:23:    got unsigned long
drivers/net/wireless/wl12xx/acx.c:1250:24: warning: invalid assignment: |=
drivers/net/wireless/wl12xx/acx.c:1250:24:    left side has type restricted __le32
drivers/net/wireless/wl12xx/acx.c:1250:24:    right side has type unsigned long
drivers/net/wireless/wl12xx/acx.c:1253:24: warning: invalid assignment: |=
drivers/net/wireless/wl12xx/acx.c:1253:24:    left side has type restricted __le32
drivers/net/wireless/wl12xx/acx.c:1253:24:    right side has type unsigned long
drivers/net/wireless/wl12xx/acx.c:1256:24: warning: invalid assignment: |=
drivers/net/wireless/wl12xx/acx.c:1256:24:    left side has type restricted __le32
drivers/net/wireless/wl12xx/acx.c:1256:24:    right side has type unsigned long

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
2011-01-24 22:11:46 +02:00
..
Kconfig wl12xx_sdio_test: rename files to match current style 2010-12-15 17:09:27 +02:00
Makefile wl12xx_sdio_test: rename files to match current style 2010-12-15 17:09:27 +02:00
acx.c wl12xx: fix some sparse warnings 2011-01-24 22:11:46 +02:00
acx.h Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-01-13 10:05:56 -08:00
boot.c wl12xx: remove unnecessary import 2010-12-22 15:43:26 -05:00
boot.h wl1271: Add wl1271_load_firmware() and export some functions 2010-12-02 16:17:20 +02:00
cmd.c wl12xx: fix some sparse warnings 2011-01-24 22:11:46 +02:00
cmd.h wl12xx: add auto-arp support 2010-12-15 15:04:56 +02:00
conf.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
debugfs.c wl12xx: remove redundant debugfs_remove_recursive() call 2011-01-24 22:11:45 +02:00
debugfs.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
event.c wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
event.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
ini.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
init.c wl1271: fixed problem with WPS IEs in probe requests 2010-12-15 15:41:04 +02:00
init.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
io.c wl1271: Add wl1271_load_firmware() and export some functions 2010-12-02 16:17:20 +02:00
io.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
main.c wl12xx: Change TX queue to be per AC 2010-12-15 15:41:37 +02:00
ps.c wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
ps.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
reg.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
rx.c wl12xx: fix some sparse warnings 2011-01-24 22:11:46 +02:00
rx.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
scan.c wl1271: Fix setting of the hardware connection monitoring probe-req template 2010-11-26 15:33:41 +02:00
scan.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
sdio.c wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
sdio_test.c wl12xx_sdio_test: rename files to match current style 2010-12-15 17:09:27 +02:00
spi.c wl12xx: use after free in debug code 2011-01-24 22:11:45 +02:00
testmode.c wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
testmode.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
tx.c wl12xx: Change TX queue to be per AC 2010-12-15 15:41:37 +02:00
tx.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
wl12xx.h wl12xx: remove redundant debugfs_remove_recursive() call 2011-01-24 22:11:45 +02:00
wl12xx_80211.h wl12xx: fix some sparse warnings 2011-01-24 22:11:46 +02:00
wl12xx_platform_data.c wl12xx: add platform data passing support 2010-09-21 11:04:57 -04:00